Skip to content

Commit

Permalink
it works
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebecca Murphey committed Nov 27, 2015
1 parent e8dde8c commit 961026e
Show file tree
Hide file tree
Showing 129 changed files with 21,940 additions and 170 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
node_modules/
7 changes: 7 additions & 0 deletions deploy.sh
@@ -0,0 +1,7 @@
#!/bin/bash

node server compile
git add www
git commit -m 'deploy to heroku'
git push heroku master

4 changes: 2 additions & 2 deletions harp.json
@@ -1,8 +1,8 @@
{
"globals": {
"site_title": "Adventures in JavaScript Development",
"site_title": "Adventures in JavaScript",
"site_description": "",
"site_url": "http://rmurphey.com",
"analytics": "UA-143877-10"
}
}
}
11 changes: 6 additions & 5 deletions package.json
@@ -1,15 +1,15 @@
{
"name": "remysharp.com",
"name": "rmurphey.com",
"version": "2.33.10",
"description": "Remy Sharp's b:log",
"description": "Rebecca Murphey's blog",
"main": "server.js",
"engines": {
"node": ">=0.10.3 <0.12"
"node": ">=0.12 <1"
},
"scripts": {
"test": "node_modules/.bin/harp compile",
"build": "node server.js compile",
"start": "node_modules/.bin/harp start"
"start": "node server"
},
"bin": {
"blog": "./bin/cli.js"
Expand All @@ -22,11 +22,12 @@
"glob": "~4.0.5",
"harp": "^0.17.0",
"moment": "~2.8.2",
"node-sass": "^3.4.2",
"promise": "^6.0.1",
"router-stupid": "~0.7.0",
"semver": "~3.0.1",
"shelljs": "^0.4.0",
"st": "~0.5.1",
"then-fs": "^1.0.8"
}
}
}
183 changes: 122 additions & 61 deletions public/_partials/layout.jade
Expand Up @@ -15,12 +15,73 @@ html#rmurphey-com
block meta

link(rel="shortcut icon" href="/favicon.ico")
link(rel="stylesheet" type="text/css" href="/css/screen.css?#{version}")
link(rel="stylesheet" type="text/css" href="/css/zenburn.css?#{version}")
link(href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,300,800|Source+Code+Pro:400,700,300', rel='stylesheet', type='text/css')
link(rel="stylesheet", href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/default.min.css")

link(rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://feeds.feedburner.com/remysharp")
link(rel="alternate" type="text/xml" title="RSS .92" href="http://feeds.feedburner.com/remysharp")
link(rel="alternate" type="application/atom+xml" title="Atom 0.3" href="http://feeds.feedburner.com/remysharp")
style.
@media (max-width: 800px) {
body {
margin: 5%;
}
}

@media (min-width: 800px) {
body {
margin: 5% 20%;
font-size: 120%;
}
}

body {
font-family: "Open Sans";
font-weight: 300;
}

p, li {
line-height: 1.8em;
}

em {
font-style: italic;
}

strong {
font-weight: 700;
}

a:hover {
color: #fb6b70;
}

a:visited {
color: #9a3337;
}

a {
color: #d9272e;
text-decoration: none;
}

pre, code {
font-family: "Source Code Pro", monospace;
font-weight: 400;
}

pre strong, code strong {
font-weight: 700;
}

h1.banner {
font-size: 220%;
}

h1.banner span {
font-weight: 300;
}

.search input[type=submit] {
margin-left: 1em;
}

script.
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
Expand All @@ -32,6 +93,10 @@ html#rmurphey-com
ga('send', 'pageview');
body(id="#{current.path.join('-')}-page")

h1.banner.title rmurphey&nbsp;
span adventures in javascript


!= partial('_partials/page-nav')

block content
Expand All @@ -47,70 +112,66 @@ html#rmurphey-com
.flex-item.links
h2 Links
ul
li: a(href="/about.html") About
li: a(target="_blank" href="/feed.xml") RSS feed
li: a(href="/search") Search
li: a(target="_blank" href="https://github.com/rmurphey") On GitHub
li: a(target="_blank" href="https://twitter.com/rmurphey") On Twitter
.flex-item.license
h2 License
p.vcard Copyright © #{ moment().format('YYYY') } <a class="url fn" href="#{site_url}">Rebecca Murphey</a>.
:markdown
All code and content for this blog is available as [open source on GitHub](https://github.com/rmurphey).
All code and content for this blog is available [on GitHub](https://github.com/rmurphey).

script(src="//code.jquery.com/jquery-1.11.1.min.js")
script.
window.jQuery || document.write('<script src="/js/jquery.min.js"><\/script>')
script(src="/js/jquery.fitvids.js")
script(src="/js/highlight.min.js")
script(src="/js/permalink.js?#{version}")
script(src="/js/index.js?#{version}")
//
|  
|  
| Carved up by hand using Harp and a shit load of hacking ❤
|  
|  Also, this:
|  
|  
|  
| \_ /; _.._
| `\~--.._ //' ,(+=\\\\
| `//////\ \\/;' /~ (\\\\
| ~/////\~\`)' /; ))))
| `~' | ((`~/((((\
| ;'_\'\ /')) )))))
| /~/ '" "' _. /'/\_ /^\`((( \
| `\/' _.-~/--/ ( =( | , |
| _/~\_)_}___/^\/~`\.__\|==|
| /uUUU) ) | |
| ( / | _-=o|\__ /'/~ \
| ' /' | /(((((\`\( |~\/
| /' | /' )))))"`\`\|/_/---.._,$$,
| .,ssS$$$Sss|._/_..-(((' )\)>>> ~\$
| ,sS$$$$$$$$$$$|$$$$$$$ |/ //'~`o `\
| ,$$$$$$$$$$$$$$|$$S$$$$' ( / \
| ,$$$$$$$$$$$$S$$|$$$$$$$' | / ,s$$$
| s$$$$$S$$$$$$$$$S|$$$$$$$$ | / $$$$$$
| _~,$S""'' ``"S|$$S$$$$$" (_,`\, ,$$$$$$$;
| /~ ,"' / 'S$$$$$" \_./| s$$$$$$$$$$
| (~' _, \==~~) / """ \ | $$$$$$$$$$$$
| (0\ /0/ \-' /' \ | | ,$$$$$$$$$$$$$,
| `/' ' _-~ |= \_-\ $$$$$$$$$$$$$$s
| (~~~) _.-~_- \ \ ,s|= | `"$$$$$$$$$$$$$$$
| ( `-' )/>-~ _/-__ | |,$$$|_/, `"$$$$$$$$$$$$
| /V^^^^V~/' _/~/~~ ~~-| |$$$$$$$$ "$$$$$$$$$$,
| / (^^^^),/' /' ) /S$$$$$$$; ,$$$$$$$$$$$,
| ,$$_ `~~~'.,/' / _-ss, /(/-(/-(/' ,s$$$$$$$$$$$$$
| ,s$$$$$ssSS$$$' ,$'.s$$$$$$$$' (/-(/-(/-(/-(/'
| S$$$$$$$$$$$$$$ ,$$$$$$$$$$$$$'
| (/-(/-(/-(/-(/' _s$$$$$$$$$$$$$$
| (/-(/-(/-(/-(/-'
|  
|  
|  
| – Remy
|  
|  
script(src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/highlight.min.js")
script.
hljs.initHighlightingOnLoad();
//
|  
|  
| Carved up by hand using Harp and a shit load of hacking ❤
|  
|  Also, this:
|  
|  
|  
| \_ /; _.._
| `\~--.._ //' ,(+=\\\\
| `//////\ \\/;' /~ (\\\\
| ~/////\~\`)' /; ))))
| `~' | ((`~/((((\
| ;'_\'\ /')) )))))
| /~/ '" "' _. /'/\_ /^\`((( \
| `\/' _.-~/--/ ( =( | , |
| _/~\_)_}___/^\/~`\.__\|==|
| /uUUU) ) | |
| ( / | _-=o|\__ /'/~ \
| ' /' | /(((((\`\( |~\/
| /' | /' )))))"`\`\|/_/---.._,$$,
| .,ssS$$$Sss|._/_..-(((' )\)>>> ~\$
| ,sS$$$$$$$$$$$|$$$$$$$ |/ //'~`o `\
| ,$$$$$$$$$$$$$$|$$S$$$$' ( / \
| ,$$$$$$$$$$$$S$$|$$$$$$$' | / ,s$$$
| s$$$$$S$$$$$$$$$S|$$$$$$$$ | / $$$$$$
| _~,$S""'' ``"S|$$S$$$$$" (_,`\, ,$$$$$$$;
| /~ ,"' / 'S$$$$$" \_./| s$$$$$$$$$$
| (~' _, \==~~) / """ \ | $$$$$$$$$$$$
| (0\ /0/ \-' /' \ | | ,$$$$$$$$$$$$$,
| `/' ' _-~ |= \_-\ $$$$$$$$$$$$$$s
| (~~~) _.-~_- \ \ ,s|= | `"$$$$$$$$$$$$$$$
| ( `-' )/>-~ _/-__ | |,$$$|_/, `"$$$$$$$$$$$$
| /V^^^^V~/' _/~/~~ ~~-| |$$$$$$$$ "$$$$$$$$$$,
| / (^^^^),/' /' ) /S$$$$$$$; ,$$$$$$$$$$$,
| ,$$_ `~~~'.,/' / _-ss, /(/-(/-(/' ,s$$$$$$$$$$$$$
| ,s$$$$$ssSS$$$' ,$'.s$$$$$$$$' (/-(/-(/-(/-(/'
| S$$$$$$$$$$$$$$ ,$$$$$$$$$$$$$'
| (/-(/-(/-(/-(/' _s$$$$$$$$$$$$$$
| (/-(/-(/-(/-(/-'
|  
|  
|  
| – Remy
|  
|  
if environment == "production"
// Env: production - static files
else
Expand Down
4 changes: 1 addition & 3 deletions public/_partials/page-nav.jade
Expand Up @@ -4,6 +4,4 @@ if current.path.indexOf('blog') === -1 && current.path+'' !== 'index'
!= partial('../_partials/search')
ul.post-nav
li.home: a(href="/") Home
li.search: a#search(href="#search") Search

li.next: a(href="#{ post.relative }" title="#{ post.title }") Latest post
li.next: a(href="#{ post.relative }" title="#{ post.title }") Latest post
5 changes: 2 additions & 3 deletions public/_partials/post-nav.jade
Expand Up @@ -21,10 +21,9 @@ nav.main-nav.clearfix.subpanel
//- The actual links
ul.post-nav
li.home: a(href="/") Home
li.search: a#search(href="#search") Search
if next
li.next: a(href="/#{ moment(next.date).format('YYYY/MM/DD') }/#{ next.slug }" title="#{ next.title }") Next
li.next: a(href="/blog/#{ moment(next.date).format('YYYY/MM/DD') }/#{ next.slug }" title="#{ next.title }") Next
else
li Latest
if prev
li.prev: a(href="/#{ moment(prev.date).format('YYYY/MM/DD') }/#{ prev.slug }" title="#{ prev.title }") Previous
li.prev: a(href="/blog/#{ moment(prev.date).format('YYYY/MM/DD') }/#{ prev.slug }" title="#{ prev.title }") Previous
5 changes: 3 additions & 2 deletions public/_partials/search.jade
@@ -1,3 +1,4 @@
form(action="/search").search
form(action="https://google.com/search").search
input(type="hidden", name="q", value="site:rmurphey.com")
input(type="text", name="q", placeholder="Search for...")
input(type="submit", value="Search")
input(type="submit", value="Search")
4 changes: 2 additions & 2 deletions public/_partials/tag.jade
@@ -1,5 +1,5 @@
- tag = filter === undefined ? current.path.slice(-2, -1)[0] : filter;
- posts = partial('posts', { filter: function (post) { return post.tags.indexOf(tag) !== -1 } })
- posts = partial('posts', { filter: function (post) { return post.tags && post.tags.indexOf(tag) !== -1 } })
.post
h1.title Tagged with "#{ tag }"
.post-content
Expand All @@ -9,4 +9,4 @@
if post.date
li
a(href="#{ post.relative }") #{ post.title }
small.date &nbsp; #{ moment(post.date).format('D-MMM YYYY')}
small.date &nbsp; #{ moment(post.date).format('D-MMM YYYY')}
16 changes: 9 additions & 7 deletions public/about.md
@@ -1,8 +1,8 @@
# About
# Rebecca Murphey

*Austin, Texas*

I am a staff software engineer at Bazaarvoice, where I lead a
I am a senior staff software engineer at Bazaarvoice, where I lead a
team that shepherds third-party JavaScript application development for
products with a reach of hundreds of millions of visitors across billions of
pageviews every month.
Expand Down Expand Up @@ -38,7 +38,10 @@ many others. I live in Austin, Texas.
## Career

### Bazaarvoice, Austin TX
*Staff Software Engineer &mdash; September 2013 - present*

*Senior Staff Software Engineer &mdash; June 2015 - present*

*Staff Software Engineer &mdash; September 2013 - June 2015*

I lead a team responsible for promoting and ensuring best practices for
consumer-facing client-side application development, and coordinate key
Expand Down Expand Up @@ -171,7 +174,6 @@ in 1995, its URL was featured in a print magazine.
## Tools

I do my work on a 2015 Retina MacBook Pro with a 27" Cinema Display. I use
Sublime Text 3 and vim as my editors, the Chrome Dev Channel as my primary
development browser, and git for version control of all the things. I stay in
touch with colleagues via IRC, using irssi running inside a screen session on
a server. I write just about everything in Markdown, including this document.
Atom and vim as my editors, the Chrome Dev Channel as my primary
development browser, and git for version control of all the things. I write
just about everything in Markdown, including this document.
8 changes: 7 additions & 1 deletion public/blog/_data.json
Expand Up @@ -757,5 +757,11 @@
"comments": true,
"published": true,
"filename": "/Users/remy/Sites/rmurphey/bin/../public/blog/five-questions.md"
},
"building-for-http2": {
"title": "Building for HTTP/2",
"date": "2015-11-25 14:00:00",
"comments": true,
"published": true
}
}
}
8 changes: 4 additions & 4 deletions public/blog/_layout.jade
Expand Up @@ -41,15 +41,15 @@ block content
- if (yield) yield = yield.replace(/<h1>.*?<\/h1>/, '');
!= yield

p.follow Posted #{moment(date).format('D-MMM YYYY')} under #{(categories||[]).join(' & ')}.
p.follow Posted #{moment(date).format('D-MMM YYYY')}.

if environment == "production"
.comments
h2 Comments
#disqus_thread
script.
var disqus_shortname = 'remysharp';
var disqus_url = 'http://remysharp.com#{permalink}/';
var disqus_shortname = 'rmurphey';
var disqus_url = 'http://rmurphey.com#{permalink}/';
var disqus_title = '#{safeTitle}';
noscript Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a>
a.dsq-brlink(href="http://disqus.com") comments powered by <span class="logo-disqus">Disqus</span></a>
a.dsq-brlink(href="http://disqus.com") comments powered by <span class="logo-disqus">Disqus</span></a>

0 comments on commit 961026e

Please sign in to comment.