diff --git a/bin/feeds.rb b/bin/feeds.rb index f4ebe3e..da9030d 100755 --- a/bin/feeds.rb +++ b/bin/feeds.rb @@ -194,7 +194,7 @@ private feed_url: "#{root_url}/feed.json", author: { url: "https://samhuri.net", - name: "Sami J. Samhuri", + name: "Sami Samhuri", avatar: "#{root_url}/images/me.jpg" }, icon: "#{root_url}/images/apple-touch-icon-300.png", diff --git a/bin/sitegen b/bin/sitegen new file mode 100755 index 0000000..991160c Binary files /dev/null and b/bin/sitegen differ diff --git a/harp.json b/harp.json index bd7e6a0..f94d53d 100644 --- a/harp.json +++ b/harp.json @@ -1,7 +1,7 @@ { "globals": { "site": "samhuri.net", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "email": "sami@samhuri.net", "url": "https://samhuri.net" } diff --git a/public/_data.json b/public/_data.json index 8b036f8..e506a9c 100644 --- a/public/_data.json +++ b/public/_data.json @@ -27,7 +27,7 @@ "ios", "swift" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2017/10/swift-optional-or" }, { @@ -38,7 +38,7 @@ "ios", "git" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2016/08/easy-optimization-wins" }, { @@ -49,7 +49,7 @@ "ios", "git" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2016/08/ios-git-pre-commit-hook" }, { @@ -59,7 +59,7 @@ "tags": [ ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2016/04/tales-of-prk-laser-eye-surgery" }, { @@ -69,7 +69,7 @@ "tags": [ ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2016/03/reduce-the-cognitive-load-of-your-code", "link": "http://chrismm.com/blog/how-to-reduce-the-cognitive-load-of-your-code/" }, @@ -80,7 +80,7 @@ "tags": [ ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2016/03/moving-beyond-the-oop-obsession", "link": "http://prog21.dadgum.com/218.html" }, @@ -91,7 +91,7 @@ "tags": [ ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2015/08/cloaks-updated-privacy-policy", "link": "https://blog.getcloak.com/2015/08/25/updated-privacy-policy/" }, @@ -102,7 +102,7 @@ "tags": [ ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2015/08/acorn-5s-live-help-search", "link": "http://shapeof.com/archives/2015/8/acorn_5_search_index.html" }, @@ -113,7 +113,7 @@ "tags": [ ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2015/07/swift-new-stuff-in-xcode-7-beta-3", "link": "http://ericasadun.com/2015/07/08/swift-new-stuff-in-xcode-7-beta-3/" }, @@ -124,7 +124,7 @@ "tags": [ ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2015/07/scripts-to-rule-them-all", "link": "http://githubengineering.com/scripts-to-rule-them-all/" } diff --git a/public/about.md b/public/about.md index dd386da..5d7bafa 100644 --- a/public/about.md +++ b/public/about.md @@ -1,4 +1,4 @@ -I'm Sami J. Samhuri, a software developer and general technology geek. Sometimes +I'm Sami Samhuri, a software developer and general technology geek. Sometimes I write my thoughts and post my projects here. I moved to [Victoria, BC][vic] in 2003 to study computer science at the [University of Victoria][uvic], and then dropped out a couple of years later. @@ -12,7 +12,7 @@ then dropped out a couple of years later. I make iOS apps, and I make web apps from front to back mainly with Ruby and JavaScript. Sometimes I do some Android work. I dabble with lots of other technologies for fun and profit and have been known to do some ops and devops. I've been using -Linux for over 15 years, and have spent a bit of time with +Linux for over 15 years, and have spent a bit of time with FreeBSD and OpenBSD along the way. My public work includes [some open-source projects][proj], and there are even diff --git a/public/posts/2006/02/_data.json b/public/posts/2006/02/_data.json index 2d5fda6..e5b72fa 100644 --- a/public/posts/2006/02/_data.json +++ b/public/posts/2006/02/_data.json @@ -6,7 +6,7 @@ "tags": [ "life" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/02/first-post" }, "touch-screen-on-steroids": { @@ -17,7 +17,7 @@ "technology", "touch" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/02/touch-screen-on-steroids" }, "urban-extreme-gymnastics": { @@ -27,7 +27,7 @@ "tags": [ "amusement" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/02/urban-extreme-gymnastics" }, "girlfriend-x": { @@ -38,7 +38,7 @@ "crazy", "funny" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/02/girlfriend-x" }, "jump-to-viewcontroller-in-textmate": { @@ -52,7 +52,7 @@ "rails", "textmate" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/02/jump-to-viewcontroller-in-textmate" }, "some-textmate-snippets-for-rails-migrations": { @@ -67,7 +67,7 @@ "snippets", "textmate" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/02/some-textmate-snippets-for-rails-migrations" }, "obligatory-post-about-ruby-on-rails": { @@ -82,7 +82,7 @@ "rails", "testing" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/02/obligatory-post-about-ruby-on-rails", "styles": [ "/css/typocode.css" @@ -101,7 +101,7 @@ "testing", "textmate" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/02/textmate-snippets-for-rails-assertions" }, "textmate-move-selection-to-self-down": { @@ -117,7 +117,7 @@ "rails", "textmate" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/02/textmate-move-selection-to-self-down", "styles": [ "/css/typocode.css" @@ -137,7 +137,7 @@ "snippets", "textmate" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/02/textmate-insert-text-into-self-down", "styles": [ "/css/typocode.css" @@ -155,7 +155,7 @@ "migrations", "snippets" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/02/intelligent-migration-snippets-0_1-for-textmate" }, "sjs-rails-bundle-0_2-for-textmate": { @@ -172,7 +172,7 @@ "snippets", "textmate" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/02/sjs-rails-bundle-0_2-for-textmate", "styles": [ "/css/typocode.css" diff --git a/public/posts/2006/03/_data.json b/public/posts/2006/03/_data.json index 9f865e6..e9a5d4d 100644 --- a/public/posts/2006/03/_data.json +++ b/public/posts/2006/03/_data.json @@ -10,7 +10,7 @@ "rails", "textmate" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/03/generate-selfdown-in-your-rails-migrations" }, "spore": { @@ -24,7 +24,7 @@ "fun", "games" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/03/spore" }, "i-dont-mind-fairplay-either": { @@ -40,7 +40,7 @@ "ipod", "itunes" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/03/i-dont-mind-fairplay-either" } } diff --git a/public/posts/2006/04/_data.json b/public/posts/2006/04/_data.json index d131eb1..7746ff1 100644 --- a/public/posts/2006/04/_data.json +++ b/public/posts/2006/04/_data.json @@ -10,7 +10,7 @@ "terminal", "zsh" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/04/zsh-terminal-goodness-on-os-x" } } diff --git a/public/posts/2006/05/_data.json b/public/posts/2006/05/_data.json index e676405..c105787 100644 --- a/public/posts/2006/05/_data.json +++ b/public/posts/2006/05/_data.json @@ -11,7 +11,7 @@ "usability", "x" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/05/os-x-and-fitts-law" }, "wikipediafs-on-linux-in-python": { @@ -28,7 +28,7 @@ "python", "wikipediafs" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/05/wikipediafs-on-linux-in-python" } } diff --git a/public/posts/2006/06/_data.json b/public/posts/2006/06/_data.json index 079ffd8..819ebb4 100644 --- a/public/posts/2006/06/_data.json +++ b/public/posts/2006/06/_data.json @@ -9,7 +9,7 @@ "seekport", "work" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/06/ich-bin-auslnder-und-spreche-nicht-gut-deutsch" }, "never-buy-a-german-keyboard": { @@ -22,7 +22,7 @@ "german", "keyboard" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/06/never-buy-a-german-keyboard" }, "theres-nothing-regular-about-regular-expressions": { @@ -34,7 +34,7 @@ "book", "regex" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/06/theres-nothing-regular-about-regular-expressions" }, "apple-pays-attention-to-detail": { @@ -46,7 +46,7 @@ "mac os x", "apple" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/06/apple-pays-attention-to-detail" } } diff --git a/public/posts/2006/07/_data.json b/public/posts/2006/07/_data.json index 55d7ace..9a6276f 100644 --- a/public/posts/2006/07/_data.json +++ b/public/posts/2006/07/_data.json @@ -12,7 +12,7 @@ "seekport", "zend" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/07/working-with-the-zend-framework" }, "ubuntu-linux-for-linux-users-please": { @@ -24,7 +24,7 @@ "linux", "ubuntu" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/07/ubuntu-linux-for-linux-users-please" }, "ruby-and-rails-have-spoiled-me-rotten": { @@ -42,7 +42,7 @@ "ruby", "zend" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/07/ruby-and-rails-have-spoiled-me-rotten" }, "late-static-binding": { @@ -55,7 +55,7 @@ "coding", "php" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/07/late-static-binding" }, "class-method-instance-method-it-doesnt-matter-to-php": { @@ -66,7 +66,7 @@ "php", "coding" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/07/class-method-instance-method-it-doesnt-matter-to-php" } } diff --git a/public/posts/2006/08/_data.json b/public/posts/2006/08/_data.json index 0fca1fb..3c88f1c 100644 --- a/public/posts/2006/08/_data.json +++ b/public/posts/2006/08/_data.json @@ -7,7 +7,7 @@ "life", "seekport" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/08/where-are-my-headphones" } } diff --git a/public/posts/2006/09/_data.json b/public/posts/2006/09/_data.json index c9c21be..303cae9 100644 --- a/public/posts/2006/09/_data.json +++ b/public/posts/2006/09/_data.json @@ -7,7 +7,7 @@ "amusement", "buffalo" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/09/buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo", "link": "http://en.wikipedia.org/wiki/Buffalo_buffalo_buffalo_buffalo_buffalo_buffalo_buffalo_buffalo" }, @@ -20,7 +20,7 @@ "apple", "itunes" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/09/some-features-you-might-have-missed-in-itunes-7" } } diff --git a/public/posts/2006/12/_data.json b/public/posts/2006/12/_data.json index 2627cd3..66a3e2e 100644 --- a/public/posts/2006/12/_data.json +++ b/public/posts/2006/12/_data.json @@ -10,7 +10,7 @@ "mac os x", "bootcamp" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2006/12/coping-with-windows-xp-activiation-on-a-mac" } } diff --git a/public/posts/2007/03/_data.json b/public/posts/2007/03/_data.json index 0e1d145..c4e060d 100644 --- a/public/posts/2007/03/_data.json +++ b/public/posts/2007/03/_data.json @@ -8,7 +8,7 @@ "coverflow", "itunes" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/03/full-screen-cover-flow" }, "digg-v4-reply-to-replies-greasemonkey-script": { @@ -21,7 +21,7 @@ "firefox", "userscript" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/03/digg-v4-reply-to-replies-greasemonkey-script" }, "diggscuss-0_9": { @@ -34,7 +34,7 @@ "firefox", "userscript" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/03/diggscuss-0_9" } } diff --git a/public/posts/2007/04/_data.json b/public/posts/2007/04/_data.json index 57eff92..32985a5 100644 --- a/public/posts/2007/04/_data.json +++ b/public/posts/2007/04/_data.json @@ -8,7 +8,7 @@ "mac os x", "windows" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/04/a-triple-booting-schizophrenic-macbook" }, "activerecord-base_find_or_create-and-find_or_initialize": { @@ -21,7 +21,7 @@ "rails", "ruby" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/04/activerecord-base_find_or_create-and-find_or_initialize" }, "getting-to-know-vista": { @@ -31,7 +31,7 @@ "tags": [ "windows" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/04/getting-to-know-vista" }, "quickly-inserting-millions-of-rows-with-mysql-innodb": { @@ -42,7 +42,7 @@ "linux", "mysql" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/04/quickly-inserting-millions-of-rows-with-mysql-innodb" }, "funny-how-code-can-be-beautiful": { @@ -52,7 +52,7 @@ "tags": [ "haskell" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/04/funny-how-code-can-be-beautiful" } } diff --git a/public/posts/2007/05/_data.json b/public/posts/2007/05/_data.json index 74f3eed..26767ba 100644 --- a/public/posts/2007/05/_data.json +++ b/public/posts/2007/05/_data.json @@ -6,7 +6,7 @@ "tags": [ "typo" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/05/typo-and-i-are-friends-again" }, "a-scheme-parser-in-haskell-part-1": { @@ -17,7 +17,7 @@ "coding", "haskell" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/05/a-scheme-parser-in-haskell-part-1" }, "gotta-love-the-ferry-ride": { @@ -30,7 +30,7 @@ "bc", "victoria" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/05/gotta-love-the-ferry-ride" }, "a-new-way-to-look-at-networking": { @@ -41,7 +41,7 @@ "technology", "networking" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/05/a-new-way-to-look-at-networking" }, "dtrace-ruby-goodness-for-sun": { @@ -53,7 +53,7 @@ "dtrace", "sun" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/05/dtrace-ruby-goodness-for-sun" }, "i-cant-wait-to-see-what-matt-stone-trey-parker-do-with-this": { @@ -63,7 +63,7 @@ "tags": [ "crazy" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/05/i-cant-wait-to-see-what-matt-stone-trey-parker-do-with-this" }, "rails-plugins-link-dump": { @@ -73,7 +73,7 @@ "tags": [ "rails" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/05/rails-plugins-link-dump" }, "enumerable-pluck-and-string-to_proc-for-ruby": { @@ -84,7 +84,7 @@ "ruby", "extensions" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/05/enumerable-pluck-and-string-to_proc-for-ruby", "styles": [ "/css/typocode.css" @@ -97,7 +97,7 @@ "tags": [ "rails" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/05/dumping-objects-to-the-browser-in-rails", "styles": [ "/css/typocode.css" @@ -113,7 +113,7 @@ "emacs", "textmate" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/05/cheating-at-life-in-general" }, "iphone-humour": { @@ -125,7 +125,7 @@ "funny", "iphone" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/05/iphone-humour" }, "inspirado": { @@ -136,7 +136,7 @@ "rails", "inspirado" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/05/inspirado" }, "finnish-court-rules-css-ineffective-at-protecting-dvds": { @@ -146,7 +146,7 @@ "tags": [ "drm" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/05/finnish-court-rules-css-ineffective-at-protecting-dvds" } } diff --git a/public/posts/2007/06/_data.json b/public/posts/2007/06/_data.json index 0dde874..59b4180 100644 --- a/public/posts/2007/06/_data.json +++ b/public/posts/2007/06/_data.json @@ -6,7 +6,7 @@ "tags": [ "life" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/301-moved-permanently" }, "so-long-typo-and-thanks-for-all-the-timeouts": { @@ -17,7 +17,7 @@ "mephisto", "typo" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/so-long-typo-and-thanks-for-all-the-timeouts" }, "more-scheming-with-haskell": { @@ -29,7 +29,7 @@ "haskell", "scheme" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/more-scheming-with-haskell" }, "testspec-on-rails-declared-awesome-just-one-catch": { @@ -41,7 +41,7 @@ "rails", "test/spec" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/testspec-on-rails-declared-awesome-just-one-catch" }, "begging-the-question": { @@ -53,7 +53,7 @@ "life", "pedantry" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/begging-the-question" }, "back-on-gentoo-trying-new-things": { @@ -66,7 +66,7 @@ "linux", "vim" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/back-on-gentoo-trying-new-things" }, "reinventing-the-wheel": { @@ -77,7 +77,7 @@ "emacs", "snippets" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/reinventing-the-wheel" }, "embrace-the-database": { @@ -89,7 +89,7 @@ "rails", "ruby" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/embrace-the-database" }, "emacs-for-textmate-junkies": { @@ -100,7 +100,7 @@ "emacs", "textmate" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/emacs-for-textmate-junkies" }, "floating-point-in-elschemo": { @@ -112,7 +112,7 @@ "haskell", "scheme" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/floating-point-in-elschemo" }, "propaganda-makes-me-sick": { @@ -122,7 +122,7 @@ "tags": [ "propaganda" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/propaganda-makes-me-sick" }, "rtfm": { @@ -133,7 +133,7 @@ "emacs", "rtfm" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/rtfm" }, "emacs-tagify-region-or-insert-tag": { @@ -144,7 +144,7 @@ "emacs", "tagify" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/emacs-tagify-region-or-insert-tag" }, "recent-ruby-and-rails-regales": { @@ -160,7 +160,7 @@ "secure associations", "regex" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/recent-ruby-and-rails-regales" }, "controlling-volume-via-the-keyboard-on-linux": { @@ -173,7 +173,7 @@ "ruby", "volume" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/06/controlling-volume-via-the-keyboard-on-linux" } } diff --git a/public/posts/2007/07/_data.json b/public/posts/2007/07/_data.json index fc13bd0..eb3f3ae 100644 --- a/public/posts/2007/07/_data.json +++ b/public/posts/2007/07/_data.json @@ -8,7 +8,7 @@ "keyboard shortcuts", "textmate" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/07/a-textmate-tip-for-emacs-users" }, "rushcheck-quickcheck-for-ruby": { @@ -20,7 +20,7 @@ "ruby", "rushcheck" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/07/rushcheck-quickcheck-for-ruby" }, "see-your-regular-expressions-in-emacs": { @@ -31,7 +31,7 @@ "emacs", "regex" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/07/see-your-regular-expressions-in-emacs" }, "people": { @@ -42,7 +42,7 @@ "life", "people" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/07/people" } } diff --git a/public/posts/2007/08/_data.json b/public/posts/2007/08/_data.json index be13dc5..692e5cb 100644 --- a/public/posts/2007/08/_data.json +++ b/public/posts/2007/08/_data.json @@ -8,7 +8,7 @@ "haskell", "scheme" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/08/elschemo-boolean-logic-and-branching" }, "snap-crunchle-pop": { @@ -20,7 +20,7 @@ "injury", "life" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/08/snap-crunchle-pop" }, "cheat-from-emacs": { @@ -30,7 +30,7 @@ "tags": [ "Emacs" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/08/cheat-from-emacs" }, "opera-is-pretty-slick": { @@ -42,7 +42,7 @@ "firefox", "opera" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/08/opera-is-pretty-slick" }, "catch-compiler-errors-at-runtime": { @@ -52,7 +52,7 @@ "tags": [ "ruby" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/08/catch-compiler-errors-at-runtime" }, "cheat-productively-in-emacs": { @@ -62,7 +62,7 @@ "tags": [ "Emacs" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/08/cheat-productively-in-emacs" }, "captivating-little-creatures": { @@ -73,7 +73,7 @@ "games", "lemmings" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/08/captivating-little-creatures" }, "5-ways-to-avoid-looking-like-a-jerk-on-the-internet": { @@ -84,7 +84,7 @@ "life", "netiquette" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/08/5-ways-to-avoid-looking-like-a-jerk-on-the-internet" } } diff --git a/public/posts/2007/09/_data.json b/public/posts/2007/09/_data.json index 8dcaf7a..daf18e6 100644 --- a/public/posts/2007/09/_data.json +++ b/public/posts/2007/09/_data.json @@ -6,7 +6,7 @@ "tags": [ "lisp" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/09/learning-lisp-read-pcl" }, "python-and-ruby-brain-dump": { @@ -17,7 +17,7 @@ "python", "ruby" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2007/09/python-and-ruby-brain-dump" } } diff --git a/public/posts/2007/10/_data.json b/public/posts/2007/10/_data.json index 055dd24..581b841 100644 --- a/public/posts/2007/10/_data.json +++ b/public/posts/2007/10/_data.json @@ -1,7 +1,7 @@ { "gtkpod-in-gutsy-got-you-groaning": { "id": "gtkpod-in-gutsy-got-you-groaning", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Gtkpod in Gutsy Got You Groaning?", "date": "29th October, 2007", "timestamp": 1193692440, diff --git a/public/posts/2008/01/_data.json b/public/posts/2008/01/_data.json index 753b470..30a503f 100644 --- a/public/posts/2008/01/_data.json +++ b/public/posts/2008/01/_data.json @@ -7,7 +7,7 @@ "usability", "web" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2008/01/random-pet-peeve-of-the-day" } } diff --git a/public/posts/2008/02/_data.json b/public/posts/2008/02/_data.json index 7183c60..cc419ca 100644 --- a/public/posts/2008/02/_data.json +++ b/public/posts/2008/02/_data.json @@ -6,7 +6,7 @@ "tags": [ "lisp arc" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2008/02/thoughts-on-arc" } } diff --git a/public/posts/2008/03/_data.json b/public/posts/2008/03/_data.json index affa6ec..cb652f2 100644 --- a/public/posts/2008/03/_data.json +++ b/public/posts/2008/03/_data.json @@ -7,7 +7,7 @@ "arc", "project euler" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2008/03/project-euler-code-repo-in-arc" } } diff --git a/public/posts/2009/11/_data.json b/public/posts/2009/11/_data.json index 6a816db..3257bdf 100644 --- a/public/posts/2009/11/_data.json +++ b/public/posts/2009/11/_data.json @@ -10,7 +10,7 @@ "lisp", "javascript" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2009/11/using-emacs-to-develop-mojo-apps-for-webos" } } diff --git a/public/posts/2010/01/_data.json b/public/posts/2010/01/_data.json index 9a652d8..f70cfd7 100644 --- a/public/posts/2010/01/_data.json +++ b/public/posts/2010/01/_data.json @@ -8,7 +8,7 @@ "cstruct", "compiler" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2010/01/working-with-c-style-structs-in-ruby" }, "basics-of-the-mach-o-file-format": { @@ -20,7 +20,7 @@ "os x", "compiler" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2010/01/basics-of-the-mach-o-file-format" }, "a-preview-of-mach-o-file-generation": { @@ -33,7 +33,7 @@ "os x", "compiler" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2010/01/a-preview-of-mach-o-file-generation" } } diff --git a/public/posts/2010/11/_data.json b/public/posts/2010/11/_data.json index 41e4163..9d7d96d 100644 --- a/public/posts/2010/11/_data.json +++ b/public/posts/2010/11/_data.json @@ -13,7 +13,7 @@ "css", "zepto.js" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2010/11/37signals-chalk-dissected" } } diff --git a/public/posts/2011/11/_data.json b/public/posts/2011/11/_data.json index 2c26704..8ccdbe2 100644 --- a/public/posts/2011/11/_data.json +++ b/public/posts/2011/11/_data.json @@ -9,7 +9,7 @@ "blog", "posts" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2011/11/recovering-old-posts" }, "lights": { diff --git a/public/posts/2011/12/_data.json b/public/posts/2011/12/_data.json index 6db7876..a761e65 100644 --- a/public/posts/2011/12/_data.json +++ b/public/posts/2011/12/_data.json @@ -10,7 +10,7 @@ "samhuri.net", "url shortener" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2011/12/static-url-shortener-using-htaccess" }, "pure-css3-images-hmm-maybe-later": { @@ -35,7 +35,7 @@ }, "my-kind-of-feature-checklist": { "id": "my-kind-of-feature-checklist", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "My kind of feature checklist", "date": "19th December, 2011", "timestamp": 1324354805, diff --git a/public/posts/2013/03/_data.json b/public/posts/2013/03/_data.json index c94f006..2ffad51 100644 --- a/public/posts/2013/03/_data.json +++ b/public/posts/2013/03/_data.json @@ -11,7 +11,7 @@ "tones", "ios" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2013/03/zelda-tones-for-ios" } } diff --git a/public/posts/2013/09/_data.json b/public/posts/2013/09/_data.json index 469c81b..8547d5d 100644 --- a/public/posts/2013/09/_data.json +++ b/public/posts/2013/09/_data.json @@ -11,7 +11,7 @@ "links", "notifications" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2013/09/linky" } } diff --git a/public/posts/2014/02/_data.json b/public/posts/2014/02/_data.json index 23d4f13..e6cf656 100644 --- a/public/posts/2014/02/_data.json +++ b/public/posts/2014/02/_data.json @@ -6,7 +6,7 @@ "tags": [ "ember.js" ], - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "url": "/posts/2014/02/ember-structure" } } diff --git a/public/posts/2015/05/_data.json b/public/posts/2015/05/_data.json index 17ec759..a8a1914 100644 --- a/public/posts/2015/05/_data.json +++ b/public/posts/2015/05/_data.json @@ -1,7 +1,7 @@ { "apple-watch-human-interface-guidelines": { "id": "apple-watch-human-interface-guidelines", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Apple Watch Human Interface Guidelines", "date": "10th May, 2015", "timestamp": 1431223039, @@ -13,7 +13,7 @@ }, "importing-modules-in-lldb": { "id": "importing-modules-in-lldb", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Importing Modules in LLDB", "date": "12th May, 2015", "timestamp": 1431396215, @@ -25,7 +25,7 @@ }, "constraints-and-transforms-in-ios-8": { "id": "constraints-and-transforms-in-ios-8", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Constraints and Transforms in iOS 8", "date": "15th May, 2015", "timestamp": 1431699995, @@ -37,7 +37,7 @@ }, "a-bitcoin-miner-in-every-device-and-in-every-hand": { "id": "a-bitcoin-miner-in-every-device-and-in-every-hand", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "A bitcoin miner in every device and in every hand", "date": "19th May, 2015", "timestamp": 1432004034, @@ -49,7 +49,7 @@ }, "lenovo-thinkpad-x1-carbon": { "id": "lenovo-thinkpad-x1-carbon", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Lenovo ThinkPad X1 Carbon", "date": "22nd May, 2015", "timestamp": 1432254989, @@ -61,7 +61,7 @@ }, "undocumented-corestorage-commands": { "id": "undocumented-corestorage-commands", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Undocumented CoreStorage Commands", "date": "24th May, 2015", "timestamp": 1432436316, @@ -73,7 +73,7 @@ }, "magical-wristband": { "id": "magical-wristband", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Magical Wristband", "date": "27th May, 2015", "timestamp": 1432703849, @@ -85,7 +85,7 @@ }, "github-flow-like-a-pro": { "id": "github-flow-like-a-pro", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "GitHub Flow Like a Pro", "date": "28th May, 2015", "timestamp": 1432824147, diff --git a/public/posts/2015/06/_data.json b/public/posts/2015/06/_data.json index 892f679..007f2f5 100644 --- a/public/posts/2015/06/_data.json +++ b/public/posts/2015/06/_data.json @@ -1,7 +1,7 @@ { "the-unofficial-guide-to-xcconfig-files": { "id": "the-unofficial-guide-to-xcconfig-files", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "The Unofficial Guide to xcconfig files", "date": "1st June, 2015", "timestamp": 1433171811, @@ -13,7 +13,7 @@ }, "debugging-layouts-with-recursive-view-descriptions-in-xcode": { "id": "debugging-layouts-with-recursive-view-descriptions-in-xcode", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Debugging Layouts with Recursive View Descriptions in Xcode", "date": "2nd June, 2015", "timestamp": 1433288135, diff --git a/public/posts/2015/07/_data.json b/public/posts/2015/07/_data.json index 194d30c..78f9018 100644 --- a/public/posts/2015/07/_data.json +++ b/public/posts/2015/07/_data.json @@ -1,7 +1,7 @@ { "scripts-to-rule-them-all": { "id": "scripts-to-rule-them-all", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Scripts to Rule Them All", "date": "1st July, 2015", "timestamp": 1435761424, @@ -13,7 +13,7 @@ }, "swift-new-stuff-in-xcode-7-beta-3": { "id": "swift-new-stuff-in-xcode-7-beta-3", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Swift: New stuff in Xcode 7 Beta 3", "date": "9th July, 2015", "timestamp": 1436458633, diff --git a/public/posts/2015/08/_data.json b/public/posts/2015/08/_data.json index bb616c4..2978161 100644 --- a/public/posts/2015/08/_data.json +++ b/public/posts/2015/08/_data.json @@ -1,7 +1,7 @@ { "acorn-5s-live-help-search": { "id": "acorn-5s-live-help-search", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Acorn 5's Live Help Search", "date": "25th August, 2015", "timestamp": 1440478827, @@ -13,7 +13,7 @@ }, "cloaks-updated-privacy-policy": { "id": "cloaks-updated-privacy-policy", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Cloak's Updated Privacy Policy", "date": "27th August, 2015", "timestamp": 1440644214, diff --git a/public/posts/2016/03/_data.json b/public/posts/2016/03/_data.json index b596268..d54320f 100644 --- a/public/posts/2016/03/_data.json +++ b/public/posts/2016/03/_data.json @@ -1,7 +1,7 @@ { "moving-beyond-the-oop-obsession": { "id": "moving-beyond-the-oop-obsession", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Moving Beyond the OOP Obsession", "date": "28th March, 2016", "timestamp": 1459181327, @@ -13,7 +13,7 @@ }, "reduce-the-cognitive-load-of-your-code": { "id": "reduce-the-cognitive-load-of-your-code", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Reduce the cognitive load of your code", "date": "30th March, 2016", "timestamp": 1459347029, diff --git a/public/posts/2016/04/_data.json b/public/posts/2016/04/_data.json index d834348..2a6668c 100644 --- a/public/posts/2016/04/_data.json +++ b/public/posts/2016/04/_data.json @@ -1,7 +1,7 @@ { "tales-of-prk-laser-eye-surgery": { "id": "tales-of-prk-laser-eye-surgery", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Tales of PRK Laser Eye Surgery", "date": "12th April, 2016", "timestamp": 1460433173, diff --git a/public/posts/2016/08/_data.json b/public/posts/2016/08/_data.json index b7b7e9e..6b2ac83 100644 --- a/public/posts/2016/08/_data.json +++ b/public/posts/2016/08/_data.json @@ -1,7 +1,7 @@ { "ios-git-pre-commit-hook": { "id": "ios-git-pre-commit-hook", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "A Git Pre-commit Hook for iOS", "date": "4th August, 2016", "timestamp": 1470328683, @@ -14,7 +14,7 @@ }, "easy-optimization-wins": { "id": "easy-optimization-wins", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Easy Optimization Wins", "date": "10th August, 2016", "timestamp": 1470850249, diff --git a/public/posts/2017/10/_data.json b/public/posts/2017/10/_data.json index 510abce..a5ffbd0 100644 --- a/public/posts/2017/10/_data.json +++ b/public/posts/2017/10/_data.json @@ -1,7 +1,7 @@ { "swift-optional-or": { "id": "swift-optional-or", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "A nil-coalescing alternative for Swift", "date": "6th October, 2017", "timestamp": 1507324813, diff --git a/public/posts/drafts/_data.json b/public/posts/drafts/_data.json index 1a5530e..a11067c 100644 --- a/public/posts/drafts/_data.json +++ b/public/posts/drafts/_data.json @@ -1,7 +1,7 @@ { "mach-o-symbol-and-relocation-tables": { "id": "mach-o-symbol-and-relocation-tables", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "Mach-O Symbol and Relocation Tables", "date": "28th June, 2015", "timestamp": 1435527198, @@ -13,7 +13,7 @@ }, "09c2b186-3ce7-445c-89bf-5d5b7f830cd7": { "id": "09c2b186-3ce7-445c-89bf-5d5b7f830cd7", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "The Case for Native", "date": "27th June, 2015", "timestamp": 1435424525, @@ -25,7 +25,7 @@ }, "security-through-obscurity-is-still-not-a-best-practice": { "id": "security-through-obscurity-is-still-not-a-best-practice", - "author": "Sami J. Samhuri", + "author": "Sami Samhuri", "title": "security-through-obscurity-is-still-not-a-best-practice", "date": "20th August, 2017", "timestamp": 1503246688, diff --git a/server/harp_blog/post.rb b/server/harp_blog/post.rb index b57e187..061982b 100644 --- a/server/harp_blog/post.rb +++ b/server/harp_blog/post.rb @@ -43,7 +43,7 @@ class HarpBlog alias_method :draft?, :draft def author - @author ||= 'Sami J. Samhuri' + @author ||= 'Sami Samhuri' end def time diff --git a/server/spec/harp_blog_spec.rb b/server/spec/harp_blog_spec.rb index ef476da..0d64468 100644 --- a/server/spec/harp_blog_spec.rb +++ b/server/spec/harp_blog_spec.rb @@ -129,7 +129,7 @@ RSpec.describe HarpBlog do first_post_path = File.join(TEST_BLOG_PATH, 'public/posts/2006/02/first-post.md') post = @blog.get_post('2006', '02', 'first-post') expect(post).to be_truthy - expect(post.author).to eq('Sami J. Samhuri') + expect(post.author).to eq('Sami Samhuri') expect(post.title).to eq('First Post!') expect(post.slug).to eq('first-post') expect(post.timestamp).to eq(1139368860)