diff --git a/.gitignore b/.gitignore index 926a1e6..12cfb02 100644 --- a/.gitignore +++ b/.gitignore @@ -1,21 +1,3 @@ -lib-cov -*.seed -*.log -*.csv -*.dat -*.out -*.pid -*.gz - -pids -logs -results - -npm-debug.log node_modules - -.sass-cache - -# Cabin-specific ignored files -dist -.grunt +build +tmp diff --git a/Gruntfile.coffee b/Gruntfile.coffee deleted file mode 100644 index b0b2ac2..0000000 --- a/Gruntfile.coffee +++ /dev/null @@ -1,132 +0,0 @@ -module.exports = (grunt) -> - grunt.initConfig - pages: - posts: - src: 'posts' - dest: 'dist' - layout: 'src/layouts/post.jade' - url: 'posts/:url/' - options: - pageSrc: 'src/pages' - data: - baseUrl: '/' - pagination: - postsPerPage: 1 - listPage: 'src/pages/index.jade' - rss: - title: 'Kaihatsu' - description: 'Development log' - author: 'jigsaw (http://jgs.me)' - url: 'http://dev.jgs.me' - numPosts: 5 - - copy: - dist: - files: [ - expand: true - cwd: 'src' - dest: 'dist' - src: [ - 'images/**' - 'scripts/**' - 'CNAME' - ] - ] - style: - files: - 'dist/styles/github-markdown.css': 'github-markdown-css/github-markdown.css' - - stylus: - compile: - files: - 'dist/styles/main.css': 'src/styles/main.styl' - - watch: - pages: - files: [ - 'posts/**' - 'src/layouts/**' - 'src/pages/**' - ] - tasks: ['pages'] - stylus: - files: ['src/styles/**'] - tasks: ['stylus'] - copy: - files: [ - 'src/images/**' - ] - tasks: ['copy'] - dist: - files: ['dist/**'] - options: - livereload: true - - connect: - dist: - options: - port: 5455 - hostname: '0.0.0.0' - base: 'dist' - livereload: true - - open: - dist: - path: 'http://localhost:5455' - - clean: - dist: [ - 'dist' - '.grunt' - '.sass-cache' - ] - - 'gh-pages': - options: - base: 'dist' - src: ['**'] - - grunt.registerTask 'build', [ - 'clean' - 'pages' - 'stylus' - 'copy' - ] - - grunt.registerTask 'deploy', [ - 'clean' - 'build' - 'gh-pages' - ] - - grunt.registerTask 'server', [ - 'build' - 'connect' - 'open' - 'watch' - ] - - grunt.registerTask 'write', -> - fs = require 'fs' - inquirer = require 'inquirer' - done = @async() - inquirer.prompt - type: 'input' - name: 'title' - message: 'title' - , (titleAnswer)-> - inquirer.prompt - type: 'input' - name: 'url' - message: 'url' - , (urlAnswer)-> - now = new Date() - zerocomp = (num)-> if num.toString().length is 1 then "0#{num}" else num.toString() - strNow = "#{now.getFullYear()}-#{zerocomp(now.getMonth()+1)}-#{zerocomp(now.getDate())}" - fs.writeFile "posts/#{strNow}-#{urlAnswer.url}.md", "{\n title: \"#{titleAnswer.title}\",\n date: \"#{strNow}\",\n description: \"#{titleAnswer.title}\",\n url: \"#{urlAnswer.url}\"\n}\n\n", (err)-> - console.log err if err? - done() - - grunt.registerTask 'default', 'server' - - require('load-grunt-tasks')(grunt) diff --git a/gulpfile.coffee b/gulpfile.coffee new file mode 100644 index 0000000..08287b0 --- /dev/null +++ b/gulpfile.coffee @@ -0,0 +1,93 @@ +gulp = require 'gulp' +mark = require 'gulp-markdown' +jade = require 'gulp-jade-template' +article = require 'gulp-article' +publish = require 'gulp-article-publish' +fs = require 'fs' +_ = require 'lodash' +rename = require 'gulp-rename' +styl = require 'gulp-stylus' +connect = require 'gulp-connect' +mkdir = require 'mkdirp' +async = require 'async' +run = require 'run-sequence' +archive = require 'gulp-article-archive' +rss = require 'gulp-article-rss' +deploy = require 'gulp-gh-pages' + +paths = + posts: 'posts/*.md' + styl: 'src/*.styl' + dest: 'build' + +gulp.task 'article', -> + gulp.src paths.posts + .pipe mark() + .pipe article() + .pipe jade('src/page.jade') + .pipe article() + .pipe publish(paths.dest) + +gulp.task 'index', -> fs.readdir 'posts', (err, files)-> + gulp.src "posts/#{_.last(files)}" + .pipe mark() + .pipe article() + .pipe jade('src/page.jade') + .pipe rename('index.html') + .pipe gulp.dest(paths.dest) + +gulp.task 'CNAME', -> gulp.src('src/CNAME').pipe gulp.dest(paths.dest) +gulp.task 'gfm', -> gulp.src('github-markdown-css/github-markdown.css').pipe gulp.dest(paths.dest) +gulp.task 'stylus', -> + gulp.src paths.styl + .pipe styl + compress: true + .pipe gulp.dest(paths.dest) + +gulp.task 'archive', (callback)-> + run 'archive-json', 'archive-page', 'archive-head', callback + +gulp.task 'archive-json', -> + gulp.src 'posts', + read: false + .pipe archive("#{paths.dest}/archives") + +gulp.task 'archive-page', -> + gulp.src "#{paths.dest}/archives/*.json" + .pipe jade('src/archive.jade') + .pipe rename + extname: '.html' + .pipe gulp.dest("#{paths.dest}/archives") + +gulp.task 'archive-head', -> + fs.readdir "#{paths.dest}/archives", (err, files)-> + files = _.filter files, (file)-> /^page-\d*\.html$/.test file + gulp.src "#{paths.dest}/archives/#{_.head(files)}" + .pipe rename('index.html') + .pipe gulp.dest("#{paths.dest}/archives") + +gulp.task 'rss', -> + gulp.src 'posts/*.md' + .pipe rss + title: 'kaihatsu' + description: 'development log' + link: 'http://dev.jgs.me' + image: 'http://dev.jgs.me/icon.png' + copyright: 'MIT' + updated: new Date() + author: + name: 'jigsaw' + link: 'http://jgs.me' + .pipe gulp.dest("#{paths.dest}/feed.xml") + +gulp.task 'default', ['article', 'index', 'archive', 'rss', 'CNAME', 'gfm', 'stylus'] +gulp.task 'watch', ['default'], -> + gulp.watch paths.posts, ['article', 'index'] + gulp.watch paths.styl, ['stylus'] + connect.server + root: paths.dest + +gulp.task 'deploy', ['default'], -> + gulp.src './build/**/*' + .pipe deploy + cacheDir: 'tmp' diff --git a/package.json b/package.json index b84c15e..905c14b 100644 --- a/package.json +++ b/package.json @@ -1,20 +1,38 @@ { - "name": "cabin-site", + "name": "log", "version": "0.0.0", - "devDependencies": { - "grunt": "^0.4.5", - "load-grunt-tasks": "^1.0.0", - "grunt-pages": "^0.11.2", - "grunt-contrib-copy": "^0.7.0", - "grunt-contrib-watch": "^0.6.1", - "grunt-contrib-connect": "^0.9.0", - "grunt-open": "^0.2.3", - "grunt-contrib-clean": "^0.6.0", - "grunt-gh-pages": "^0.9.1", - "inquirer": "^0.8.0", - "grunt-contrib-stylus": "^0.20.0" + "description": "development log", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" }, - "engines": { - "node": ">=0.10.0" + "repository": { + "type": "git", + "url": "https://github.com/jgsme/log.git" + }, + "author": "jigsaw (http://jgs.me)", + "license": "MIT", + "bugs": { + "url": "https://github.com/jgsme/log/issues" + }, + "homepage": "https://github.com/jgsme/log", + "dependencies": { + "async": "^0.9.0", + "coffee-script": "^1.8.0", + "gulp": "^3.8.10", + "gulp-article": "0.0.7", + "gulp-article-archive": "0.0.5", + "gulp-article-publish": "0.0.3", + "gulp-article-rss": "0.0.4", + "gulp-connect": "^2.2.0", + "gulp-data": "^1.1.1", + "gulp-gh-pages": "^0.4.0", + "gulp-jade-template": "0.0.5", + "gulp-markdown": "^1.0.0", + "gulp-rename": "^1.2.0", + "gulp-stylus": "^1.3.4", + "lodash": "^2.4.1", + "mkdirp": "^0.5.0", + "run-sequence": "^1.0.2", + "through2": "^0.6.3" } } diff --git a/posts/2013-09-19-httpie.md b/posts/2013-09-19-httpie.md index 0f098f9..1e78735 100644 --- a/posts/2013-09-19-httpie.md +++ b/posts/2013-09-19-httpie.md @@ -1,9 +1,4 @@ -{ - title: "httpie", - date: "2013-09-19", - description: "httpie", - url: "httpie" -} +# [httpie](/2013/09/19/httpie.html) http://qiita.com/yuku_t/items/5df06d50c4c349cc0c1b diff --git a/posts/2013-09-25-nested-mongoose.md b/posts/2013-09-25-nested-mongoose.md index c5a3708..2dce0c2 100644 --- a/posts/2013-09-25-nested-mongoose.md +++ b/posts/2013-09-25-nested-mongoose.md @@ -1,9 +1,4 @@ -{ - title: "node.jsのmongooseでnestしたobjectをpopulateする", - date: "2013-09-25", - description: "node.jsのmongooseでnestしたobjectをpopulateする", - url: "mongoose-nest-populate" -} +# [node.jsのmongooseでnestしたobjectをpopulateする](/2013/09/25/nested-mongoose.html) `node.js` の `mongoose` でネストしたドキュメントを `populate` したいときの話。 diff --git a/posts/2013-09-27-nginxdesocket-dot-io.md b/posts/2013-09-27-nginxdesocket-dot-io.md index 477b784..835108b 100644 --- a/posts/2013-09-27-nginxdesocket-dot-io.md +++ b/posts/2013-09-27-nginxdesocket-dot-io.md @@ -1,9 +1,4 @@ -{ - title: "nginxでsocket.io", - date: "2013-09-27", - description: "nginxでsocket.io", - url: "nginx-with-socket-io" -} +# [nginxでsocket.io](/2013/09/27/nginxdesocket-dot-io.html) 追い詰められて構築したさくらVPSにsocket.io on nginxを構築した。 diff --git a/posts/2013-09-27-sakuravpsfalsechu-qi-she-ding.md b/posts/2013-09-27-sakuravpsfalsechu-qi-she-ding.md index 11134e2..597c90e 100644 --- a/posts/2013-09-27-sakuravpsfalsechu-qi-she-ding.md +++ b/posts/2013-09-27-sakuravpsfalsechu-qi-she-ding.md @@ -1,9 +1,4 @@ -{ - title: "さくらvpsの初期設定", - date: "2013-09-27", - description: "さくらvpsの初期設定", - url: "sakura-vps-init" -} +# [さくらvpsの初期設定](/2013/09/27/sakuravpsfalsechu-qi-she-ding.html) 超絶追い詰められて勢いでさくらVPSを構築した。 diff --git a/posts/2013-10-06-nginxdesabudomeinfalsezhi-ding.md b/posts/2013-10-06-nginxdesabudomeinfalsezhi-ding.md index 7627197..964cbfc 100644 --- a/posts/2013-10-06-nginxdesabudomeinfalsezhi-ding.md +++ b/posts/2013-10-06-nginxdesabudomeinfalsezhi-ding.md @@ -1,9 +1,4 @@ -{ - title: "nginxでサブドメインの指定", - date: "2013-10-06", - description: "nginxでサブドメインの指定", - url: "nginx-sub-domain" -} +# [nginxでサブドメインの指定](/2013/10/06/nginxdesabudomeinfalsezhi-ding.html) nginxでサブドメインの指定をするときにはサブドメインの分だけ `server` を書いておけばいいっぽい。 diff --git a/posts/2013-10-06-vimdebu-wan.md b/posts/2013-10-06-vimdebu-wan.md index 74395fe..cfb80f9 100644 --- a/posts/2013-10-06-vimdebu-wan.md +++ b/posts/2013-10-06-vimdebu-wan.md @@ -1,9 +1,4 @@ -{ - title: "vimで補完", - date: "2013-10-06", - description: "vimで補完", - url: "vim-comp" -} +# [vimで補完](/2013/10/06/vimdebu-wan.html) vim で補完をしたい。 diff --git a/posts/2013-10-06-vpsnigitfalserimotoripozitoriwotukuru.md b/posts/2013-10-06-vpsnigitfalserimotoripozitoriwotukuru.md index 0af43c4..5c19e3b 100644 --- a/posts/2013-10-06-vpsnigitfalserimotoripozitoriwotukuru.md +++ b/posts/2013-10-06-vpsnigitfalserimotoripozitoriwotukuru.md @@ -1,10 +1,5 @@ -{ - title: "VPSにgitのリモートリポジトリをつくる", - date: "2013-10-06", - description: "VPSにgitのリモートリポジトリをつくる", - url: "vps-git-remote-repo" -} - +# [VPSにgitのリモートリポジトリをつくる](/2013/10/06/vpsnigitfalserimotoripozitoriwotukuru.html) + 初回のみ ``` diff --git a/posts/2013-10-16-nodectl-metutiyabian-li.md b/posts/2013-10-16-nodectl-metutiyabian-li.md index 2d89cc6..0cdb0c0 100644 --- a/posts/2013-10-16-nodectl-metutiyabian-li.md +++ b/posts/2013-10-16-nodectl-metutiyabian-li.md @@ -1,9 +1,4 @@ -{ - title: "nodectl めっちゃ便利", - date: "2013-10-16", - description: "nodectl めっちゃ便利", - url: "nodectl-is-awesome" -} +# [nodectl めっちゃ便利](/2013/10/16/nodectl-metutiyabian-li.html) https://github.com/geta6/nodectl diff --git a/posts/2013-10-18-socket-dot-io-de-cors-nihamatutamemo.md b/posts/2013-10-18-socket-dot-io-de-cors-nihamatutamemo.md index 740f04f..02ca23e 100644 --- a/posts/2013-10-18-socket-dot-io-de-cors-nihamatutamemo.md +++ b/posts/2013-10-18-socket-dot-io-de-cors-nihamatutamemo.md @@ -1,9 +1,4 @@ -{ - title: "socket.io で CORS にハマったメモ", - date: "2013-10-18", - description: "socket.io で CORS にハマったメモ", - url: "socket-io-cors" -} +# [socket.io で CORS にハマったメモ](/2013/10/18/socket-dot-io-de-cors-nihamatutamemo.html) `api.hoge.jp` で `socket.io` を走らせてるときに `hoge.jp` から Websocketで通信しようとしたら案の定 `CORS` エラーが出てハマった。`node.js` の `Express` では適当にミドルウェア書いておけば抜けられるのは知っていたのだけれど、`socket.io` でどうすればいいのかわからなかった。 diff --git a/posts/2013-10-22-hubottohipchatdeuwasafalsechatopsfalsezhun-bei.md b/posts/2013-10-22-hubottohipchatdeuwasafalsechatopsfalsezhun-bei.md index 41829ea..3b08463 100644 --- a/posts/2013-10-22-hubottohipchatdeuwasafalsechatopsfalsezhun-bei.md +++ b/posts/2013-10-22-hubottohipchatdeuwasafalsechatopsfalsezhun-bei.md @@ -1,9 +1,4 @@ -{ - title: "hubotとhipchatでウワサのChatOpsの準備", - date: "2013-10-22", - description: "hubotとhipchatでウワサのChatOpsの準備", - url: "chatops-with-hubot" -} +# [hubotとhipchatでウワサのChatOpsの準備](/2013/10/22/hubottohipchatdeuwasafalsechatopsfalsezhun-bei.html) むかし見かけたけど、あまり便利さがわからなかったのでスルーしていた `hubot` が面白そうだったので、ちょっと触ってみることにした。 diff --git a/posts/2013-10-23-texdepngwotie-ru.md b/posts/2013-10-23-texdepngwotie-ru.md index 8870471..834d466 100644 --- a/posts/2013-10-23-texdepngwotie-ru.md +++ b/posts/2013-10-23-texdepngwotie-ru.md @@ -1,9 +1,4 @@ -{ - title: "texでpngを貼る", - date: "2013-10-23", - description: "texでpngを貼る", - url: "tex-on-png" -} +# [texでpngを貼る](/2013/10/23/texdepngwotie-ru.html) TeXで `.png` ファイルを貼るのがダルかったのでメモ。 diff --git a/posts/2013-10-25-gitdepushdepuroiwoshi-xian-suru.md b/posts/2013-10-25-gitdepushdepuroiwoshi-xian-suru.md index 9a6ea4d..8ea763b 100644 --- a/posts/2013-10-25-gitdepushdepuroiwoshi-xian-suru.md +++ b/posts/2013-10-25-gitdepushdepuroiwoshi-xian-suru.md @@ -1,9 +1,4 @@ -{ - title: "gitでpushデプロイを実現する", - date: "2013-10-25", - description: "gitでpushデプロイを実現する", - url: "git-push-deploy" -} +# [gitでpushデプロイを実現する](/2013/10/25/gitdepushdepuroiwoshi-xian-suru.html) 参考: http://qiita.com/fnobi/items/98bd5d1c83c010842733 diff --git a/posts/2013-11-22-tmux-plus-iterm2-demausukopiwoonnisiterutopu-tong-falsekopigadekinakunaruwen-ti.md b/posts/2013-11-22-tmux-plus-iterm2-demausukopiwoonnisiterutopu-tong-falsekopigadekinakunaruwen-ti.md index 068c21e..d421da9 100644 --- a/posts/2013-11-22-tmux-plus-iterm2-demausukopiwoonnisiterutopu-tong-falsekopigadekinakunaruwen-ti.md +++ b/posts/2013-11-22-tmux-plus-iterm2-demausukopiwoonnisiterutopu-tong-falsekopigadekinakunaruwen-ti.md @@ -1,9 +1,4 @@ -{ - title: "tmux+iterm2 でマウスコピーをONにしてると普通のコピーができなくなる問題", - date: "2013-11-22", - description: "tmux+iterm2 でマウスコピーをONにしてると普通のコピーができなくなる問題", - url: "tmux-iterm2-with-mouse" -} +# [tmux+iterm2 でマウスコピーをONにしてると普通のコピーができなくなる問題](/2013/11/22/tmux-plus-iterm2-demausukopiwoonnisiterutopu-tong-falsekopigadekinakunaruwen-ti.html) http://qiita.com/u1tnk/items/9a680d16065217015e16 diff --git a/posts/2013-12-11-logwatch-vps-every-day.md b/posts/2013-12-11-logwatch-vps-every-day.md index c85459b..f775c5c 100644 --- a/posts/2013-12-11-logwatch-vps-every-day.md +++ b/posts/2013-12-11-logwatch-vps-every-day.md @@ -1,9 +1,4 @@ -{ - title: "logwatch で vps のログを毎日チェックする", - date: "2013-12-11", - description: "logwatch で vps のログを毎日チェックする", - url: "logwatch-is-awesome" -} +# [logwatch で vps のログを毎日チェックする](/2013/12/11/logwatch-vps-every-day.html) http://dogmap.jp/2011/05/12/vps-security/ diff --git a/posts/2013-12-12-contribute-taberareloo-tumblr-403.md b/posts/2013-12-12-contribute-taberareloo-tumblr-403.md index 4632a91..9186937 100644 --- a/posts/2013-12-12-contribute-taberareloo-tumblr-403.md +++ b/posts/2013-12-12-contribute-taberareloo-tumblr-403.md @@ -1,9 +1,4 @@ -{ - title: "taberareloo で tumblr への投稿が 403 になるときの対処", - date: "2013-12-12", - description: "taberareloo で tumblr への投稿が 403 になるときの対処", - url: "taberareloo-403" -} +# [taberareloo で tumblr への投稿が 403 になるときの対処](/2013/12/12/contribute-taberareloo-tumblr-403.html) taberareloo から tumblr に投稿しようとすると 403 が出て生きた心地がしなかった。 diff --git a/posts/2013-12-12-tenor-twitter-userstream-suddenly-e-case.md b/posts/2013-12-12-tenor-twitter-userstream-suddenly-e-case.md index 7b9ca7f..ec62200 100644 --- a/posts/2013-12-12-tenor-twitter-userstream-suddenly-e-case.md +++ b/posts/2013-12-12-tenor-twitter-userstream-suddenly-e-case.md @@ -1,9 +1,4 @@ -{ - title: "twitter の userstream が突然調子悪くなる案件", - date: "2013-12-12", - description: "twitter の userstream が突然調子悪くなる案件", - url: "twitter-userstream-garbage" -} +# [twitter の userstream が突然調子悪くなる案件](/2013/12/12/tenor-twitter-userstream-suddenly-e-case.html) `node.js` から twitter の userstream を扱うのには、`ntwitter` は挙動がバギーなので `user-stream` を使っている。 diff --git a/posts/2013-12-14-vagrant-berkshelf-plugin.md b/posts/2013-12-14-vagrant-berkshelf-plugin.md index bdb25a5..4e19512 100644 --- a/posts/2013-12-14-vagrant-berkshelf-plugin.md +++ b/posts/2013-12-14-vagrant-berkshelf-plugin.md @@ -1,10 +1,5 @@ -{ - title: "vagrant-berkshelf plugin がインストールできないときの対処", - date: "2013-12-14", - description: "vagrant-berkshelf plugin がインストールできないときの対処", - url: "vagrant-berkshelf-crash" -} -# **Vagrant の最新版をインストールしろ** +# [vagrant-berkshelf plugin がインストールできないときの対処](/2013/12/14/vagrant-berkshelf-plugin.html) + 以上。 diff --git a/posts/2014-01-18-went-rails-terakoya-3.md b/posts/2014-01-18-went-rails-terakoya-3.md index 5b05d09..d199d54 100644 --- a/posts/2014-01-18-went-rails-terakoya-3.md +++ b/posts/2014-01-18-went-rails-terakoya-3.md @@ -1,9 +1,4 @@ -{ - title: "第3回Rails寺子屋に参加してきた", - date: "2014-01-18", - description: "第3回Rails寺子屋に参加してきた", - url: "went-3rd-rails-terakoya" -} +# [第3回Rails寺子屋に参加してきた](/2014/01/18/went-rails-terakoya-3.html) Rails寺子屋 http://rails.terakoya.io/ diff --git a/posts/2014-01-21-sweet-js-brunch.md b/posts/2014-01-21-sweet-js-brunch.md index 1aed7d4..21a44a9 100644 --- a/posts/2014-01-21-sweet-js-brunch.md +++ b/posts/2014-01-21-sweet-js-brunch.md @@ -1,9 +1,4 @@ -{ - title: "sweet-js-brunch をつくった", - date: "2014-01-21", - description: "sweet-js-brunch をつくった", - url: "made-sweet-js-brunch" -} +# [sweet-js-brunch をつくった](/2014/01/21/sweet-js-brunch.html) https://github.com/e-jigsaw/sweet-js-brunch diff --git a/posts/2014-01-25-iterm2-append-dotfiles-i.md b/posts/2014-01-25-iterm2-append-dotfiles-i.md index b2a44b5..935a5f2 100644 --- a/posts/2014-01-25-iterm2-append-dotfiles-i.md +++ b/posts/2014-01-25-iterm2-append-dotfiles-i.md @@ -1,9 +1,4 @@ -{ - title: "iTerm2 のカラースキームを dotfiles に追加した", - date: "2014-01-25", - description: "iTerm2 のカラースキームを dotfiles に追加した", - url: "iterm2-color-scheme" -} +# [iTerm2 のカラースキームを dotfiles に追加した](/2014/01/25/iterm2-append-dotfiles-i.html) iTerm2 のオシャカラースキームリポジトリを見つけたのでさっそく clone して使ってみた。 diff --git a/posts/2014-01-30-kuriyama-every.md b/posts/2014-01-30-kuriyama-every.md index f7d922f..f9ef868 100644 --- a/posts/2014-01-30-kuriyama-every.md +++ b/posts/2014-01-30-kuriyama-every.md @@ -1,9 +1,4 @@ -{ - title: "栗山さんを毎日見れるようにした", - date: "2014-01-30", - description: "栗山さんを毎日見れるようにした", - url: "kuriyama-san-saikou" -} +# [栗山さんを毎日見れるようにした](/2014/01/30/kuriyama-every.html) ![](http://25.media.tumblr.com/4597e75f432494136b42f06716e45a09/tumblr_n06zcilVpq1qa749mo1_1280.jpg) diff --git a/posts/2014-02-01-gyazo-on-rails-developer-talk.md b/posts/2014-02-01-gyazo-on-rails-developer-talk.md index bff906a..ef62dc8 100644 --- a/posts/2014-02-01-gyazo-on-rails-developer-talk.md +++ b/posts/2014-02-01-gyazo-on-rails-developer-talk.md @@ -1,9 +1,4 @@ -{ - title: "Gyazo on Rails Developer Talk に行ってきた", - date: "2014-02-01", - description: "Gyazo on Rails Developer Talk に行ってきた", - url: "gyazo-on-rails-developer-talk" -} +# [Gyazo on Rails Developer Talk に行ってきた](/2014/02/01/gyazo-on-rails-developer-talk.html) ![](http://farm4.staticflickr.com/3668/12236808555_9c0741ec96_z.jpg) diff --git a/posts/2014-02-03-update-coffee-script-with-mocha.md b/posts/2014-02-03-update-coffee-script-with-mocha.md index b9039b0..6e22f5f 100644 --- a/posts/2014-02-03-update-coffee-script-with-mocha.md +++ b/posts/2014-02-03-update-coffee-script-with-mocha.md @@ -1,9 +1,4 @@ -{ - title: "coffee-script を 1.7 にしたら mocha が死ぬときの対応", - date: "2014-02-03", - description: "coffee-script を 1.7 にしたら mocha が死ぬときの対応", - url: "coffee-1-7-mocha-crash" -} +# [coffee-script を 1.7 にしたら mocha が死ぬときの対応](/2014/02/03/update-coffee-script-with-mocha.html) coffee-script のバージョン1.7がリリースされたので、アップデートしたら mocha が diff --git a/posts/2014-02-08-git-management-dont-arc.md b/posts/2014-02-08-git-management-dont-arc.md index 1f671f1..c949883 100644 --- a/posts/2014-02-08-git-management-dont-arc.md +++ b/posts/2014-02-08-git-management-dont-arc.md @@ -1,9 +1,4 @@ -{ - title: "git で管理しているディレクトリの不要なファイルを消す", - date: "2014-02-08", - description: "git で管理しているディレクトリの不要なファイルを消す", - url: "remove-useless-file-git" -} +# [git で管理しているディレクトリの不要なファイルを消す](/2014/02/08/git-management-dont-arc.html) 章毎にファイルを分けてTeXしていると、ついうっかり子ファイル編集時にビルドしてしまってディレクトリにTeXデブリが散乱してしまう。いちいち消すのはめんどくさいので、gitのコミット時にgitで管理しているファイル以外をまとめて吹き飛ばしたい。 diff --git a/posts/2014-02-08-tex-to-gitignore.md b/posts/2014-02-08-tex-to-gitignore.md index 5cdbb31..a796aae 100644 --- a/posts/2014-02-08-tex-to-gitignore.md +++ b/posts/2014-02-08-tex-to-gitignore.md @@ -1,9 +1,4 @@ -{ - title: "TeX 向けの .gitignore", - date: "2014-02-08", - description: "TeX 向けの .gitignore", - url: "gitignore-for-tex" -} +# [TeX 向けの .gitignore](/2014/02/08/tex-to-gitignore.html) アレがアレで現在進行形でめちゃくちゃTeXしている。転ばぬ先の杖の杖として、何重にもバックアップをしつつバージョン管理もしている。とはいえ、TeXはビルドするときにやたらファイルが生成されてgitで管理する邪魔になるので `.gitignore` に不要な拡張子を列挙して目に入らないようにするのがよいだろう。 diff --git a/posts/2014-02-12-png-eps-poorer-without-changing.md b/posts/2014-02-12-png-eps-poorer-without-changing.md index 81826dd..192912e 100644 --- a/posts/2014-02-12-png-eps-poorer-without-changing.md +++ b/posts/2014-02-12-png-eps-poorer-without-changing.md @@ -1,9 +1,4 @@ -{ - title: "png を eps に変換", - date: "2014-02-12", - description: "png を eps に変換", - url: "convert-png-to-eps" -} +# [png を eps に変換](/2014/02/12/png-eps-poorer-without-changing.html) TeXしてると、pngで画像を貼れなくてイライラしますね。面倒ですが eps に変換します。`ImageMagick` がインストールしてあれば diff --git a/posts/2014-02-15-graduate-technology.md b/posts/2014-02-15-graduate-technology.md index f309c37..fb2cf9d 100644 --- a/posts/2014-02-15-graduate-technology.md +++ b/posts/2014-02-15-graduate-technology.md @@ -1,9 +1,4 @@ -{ - title: "卒業を支える技術", - date: "2014-02-15", - description: "卒業を支える技術", - url: "technology-for-graduation" -} +# [卒業を支える技術](/2014/02/15/graduate-technology.html) 無事卒論を提出できまして、ゆったりとした週末を送っております、いかがお過ごしでしょうか。 diff --git a/posts/2014-02-20-clash-of-clans-reddit-questioned-spoken-answer.md b/posts/2014-02-20-clash-of-clans-reddit-questioned-spoken-answer.md index f222a92..d60ac8b 100644 --- a/posts/2014-02-20-clash-of-clans-reddit-questioned-spoken-answer.md +++ b/posts/2014-02-20-clash-of-clans-reddit-questioned-spoken-answer.md @@ -1,9 +1,4 @@ -{ - title: "Clash of Clans のチームが Reddit で質問に答える企画をやっている", - date: "2014-02-20", - description: "Clash of Clans のチームが Reddit で質問に答える企画をやっている", - url: "clash-of-clans-on-reddit" -} +# [Clash of Clans のチームが Reddit で質問に答える企画をやっている](/2014/02/20/clash-of-clans-reddit-questioned-spoken-answer.html) Clash of Clans はとても面白いゲームで、かれこれ1年ほど遊んでいる。このゲームはフォーラムでの議論も盛んで、開発チームもしっかり応える姿勢で臨んでいることが垣間見えてとてもいい。そんな Clash of Clans のチームがはてブライクな Reddit で質問に答える企画をやっていて面白かったのでいくつかピックアップしたい。 diff --git a/posts/2014-02-21-google-chrome-portrait-data-url.md b/posts/2014-02-21-google-chrome-portrait-data-url.md index abf8c4a..b4d4691 100644 --- a/posts/2014-02-21-google-chrome-portrait-data-url.md +++ b/posts/2014-02-21-google-chrome-portrait-data-url.md @@ -1,9 +1,4 @@ -{ - title: "Google Chrome のインスペクタで画像の Data URL がとれるようになった", - date: "2014-02-21", - description: "Google Chrome のインスペクタで画像の Data URL がとれるようになった", - url: "google-chrome-inspector-data-url" -} +# [Google Chrome のインスペクタで画像の Data URL がとれるようになった](/2014/02/21/google-chrome-portrait-data-url.html) ![](http://user-image.logdown.io/user/5835/blog/5854/post/180452/Gk1ZRK3DTWajYoX0UdNf_t.png) diff --git a/posts/2014-03-03-mountain-lion-tumblr.md b/posts/2014-03-03-mountain-lion-tumblr.md index 9fafb07..a6d2678 100644 --- a/posts/2014-03-03-mountain-lion-tumblr.md +++ b/posts/2014-03-03-mountain-lion-tumblr.md @@ -1,9 +1,4 @@ -{ - title: "Mountain Lion で tumblr のスライドショーをスクリーンセーバーにする", - date: "2014-03-03", - description: "Mountain Lion で tumblr のスライドショーをスクリーンセーバーにする", - url: "tumblr-slide-show-on-osx-10-8" -} +# [Mountain Lion で tumblr のスライドショーをスクリーンセーバーにする](/2014/03/03/mountain-lion-tumblr.html) 普段はホットコーナーでディスプレイのスリープをしているのだけれど、大きいサブディスプレイを使うとホットコーナーが死ぬので対策が必要になった。 diff --git a/posts/2014-03-10--mounting.md b/posts/2014-03-10--mounting.md index b8dfb99..c11f190 100644 --- a/posts/2014-03-10--mounting.md +++ b/posts/2014-03-10--mounting.md @@ -1,9 +1,4 @@ -{ - title: "これどうやって実装してるんだろう", - date: "2014-03-10", - description: "これどうやって実装してるんだろう", - url: "how-to-implement-this" -} +# [これどうやって実装してるんだろう](/2014/03/10/-mounting.html) ![](http://user-image.logdown.io/user/5835/blog/5854/post/184304/k4Jtv3EIQ5K0406vCppR_a.gif) diff --git a/posts/2014-03-19-popcorn-time-this-kickstarter-pill-buy-shou.md b/posts/2014-03-19-popcorn-time-this-kickstarter-pill-buy-shou.md index ca33bd3..9017884 100644 --- a/posts/2014-03-19-popcorn-time-this-kickstarter-pill-buy-shou.md +++ b/posts/2014-03-19-popcorn-time-this-kickstarter-pill-buy-shou.md @@ -1,9 +1,4 @@ -{ - title: "Popcorn Timeは今すぐKickstarterあたりに丸ごと買収されてほしい", - date: "2014-03-19", - description: "Popcorn Timeは今すぐKickstarterあたりに丸ごと買収されてほしい", - url: "popcorn-time-is-awesome" -} +# [Popcorn Timeは今すぐKickstarterあたりに丸ごと買収されてほしい](/2014/03/19/popcorn-time-this-kickstarter-pill-buy-shou.html) ![](http://user-image.logdown.io/user/5835/blog/5854/post/189632/FhMvHmZYQT29o4YVH2bA_%202014-03-19%200.13.16.png) diff --git a/posts/2014-03-21-buy-imac-bluetooth.md b/posts/2014-03-21-buy-imac-bluetooth.md index 7818442..03cda6d 100644 --- a/posts/2014-03-21-buy-imac-bluetooth.md +++ b/posts/2014-03-21-buy-imac-bluetooth.md @@ -1,9 +1,4 @@ -{ - title: "iMac買ったらBluetooth使えなかったけどなんとかなった", - date: "2014-03-21", - description: "iMac買ったらBluetooth使えなかったけどなんとかなった", - url: "imac-bluetooth-is-crash" -} +# [iMac買ったらBluetooth使えなかったけどなんとかなった](/2014/03/21/buy-imac-bluetooth.html) どうもどうも、うっかりiMacを買ってしまいましたこんばんは。 diff --git a/posts/2014-05-03-windowflow-hyperswitch-becomes.md b/posts/2014-05-03-windowflow-hyperswitch-becomes.md index f313022..9416f34 100644 --- a/posts/2014-05-03-windowflow-hyperswitch-becomes.md +++ b/posts/2014-05-03-windowflow-hyperswitch-becomes.md @@ -1,9 +1,4 @@ -{ - title: "WindowFlowからHyperSwitchに変えた", - date: "2014-05-03", - description: "WindowFlowからHyperSwitchに変えた", - url: "hyperswitch-is-awesome" -} +# [WindowFlowからHyperSwitchに変えた](/2014/05/03/windowflow-hyperswitch-becomes.html) 今までWindowFlowでウィンドウの切り替えをやっていたのだけれど、HyperSwitchっていうやつの方が綺麗だし反応もいいので変えた。 diff --git a/posts/2014-05-04-zsh-becomes.md b/posts/2014-05-04-zsh-becomes.md index 32dab80..3078a6f 100644 --- a/posts/2014-05-04-zsh-becomes.md +++ b/posts/2014-05-04-zsh-becomes.md @@ -1,9 +1,4 @@ -{ - title: "zsh のキーバインドを変える", - date: "2014-05-04", - description: "zsh のキーバインドを変える", - url: "change-zsh-key-bind" -} +# [zsh のキーバインドを変える](/2014/05/04/zsh-becomes.html) 最近3ヶ月に1回ぐらいやってくる「エディタとかシェルを強くしたい」月間に突入していて、継続的にdotfilesの手入れをしている。本日の手入れはキーバインド。 diff --git a/posts/2014-06-12-phantomjs-on-ubuntu-japan-text-language.md b/posts/2014-06-12-phantomjs-on-ubuntu-japan-text-language.md index 8a9f356..5c7b36b 100644 --- a/posts/2014-06-12-phantomjs-on-ubuntu-japan-text-language.md +++ b/posts/2014-06-12-phantomjs-on-ubuntu-japan-text-language.md @@ -1,9 +1,4 @@ -{ - title: "phantomjs on ubuntu で日本語が文字化けする件", - date: "2014-06-12", - description: "phantomjs on ubuntu で日本語が文字化けする件", - url: "phantomjs-with-ja" -} +# [phantomjs on ubuntu で日本語が文字化けする件](/2014/06/12/phantomjs-on-ubuntu-japan-text-language.html) # TL;DR diff --git a/posts/2014-06-15-coffee-script-package-number-reserved-t.md b/posts/2014-06-15-coffee-script-package-number-reserved-t.md index 9260038..5f2d698 100644 --- a/posts/2014-06-15-coffee-script-package-number-reserved-t.md +++ b/posts/2014-06-15-coffee-script-package-number-reserved-t.md @@ -1,9 +1,4 @@ -{ - title: "coffee-script では package が reserved になってるので変数として使えない", - date: "2014-06-15", - description: "coffee-script では package が reserved になってるので変数として使えない", - url: "package-is-reserved-on-coffee-script" -} +# [coffee-script では package が reserved になってるので変数として使えない](/2014/06/15/coffee-script-package-number-reserved-t.html) http://coffeescript.org/documentation/docs/lexer.html#section-66 diff --git a/posts/2014-06-28-ghq.md b/posts/2014-06-28-ghq.md index 9e7b134..3661642 100644 --- a/posts/2014-06-28-ghq.md +++ b/posts/2014-06-28-ghq.md @@ -1,9 +1,4 @@ -{ - title: "ghq がライフチェンジングだった", - date: "2014-06-28", - description: "ghq がライフチェンジングだった", - url: "ghq-is-awesome" -} +# [ghq がライフチェンジングだった](/2014/06/28/ghq.html) 先日から少し話題になっていた `ghq` をついに導入した。話題になっていたときは、なにが便利なのか理解できていなくて `git`, `hg`, `bzr` あたりを統合的に扱えるやつなのかとおもっていた。 diff --git a/posts/2014-06-29-journal-by-go.md b/posts/2014-06-29-journal-by-go.md index 59e88fe..c1bbd9f 100644 --- a/posts/2014-06-29-journal-by-go.md +++ b/posts/2014-06-29-journal-by-go.md @@ -1,9 +1,4 @@ -{ - title: "激ヤバ鬼便利日報ツールを Go でリプレースした", - date: "2014-06-29", - description: "激ヤバ鬼便利日報ツールを Go でリプレースした", - url: "replaced-journal-by-go" -} +# [激ヤバ鬼便利日報ツールを Go でリプレースした](/2014/06/29/journal-by-go.html) https://github.com/e-jigsaw/journal diff --git a/posts/2014-06-30-ghq-gopath-and-shin-o-muhammad.md b/posts/2014-06-30-ghq-gopath-and-shin-o-muhammad.md index d816000..82282f4 100644 --- a/posts/2014-06-30-ghq-gopath-and-shin-o-muhammad.md +++ b/posts/2014-06-30-ghq-gopath-and-shin-o-muhammad.md @@ -1,9 +1,4 @@ -{ - title: "ghq と gopath の兼ね合い", - date: "2014-06-30", - description: "ghq と gopath の兼ね合い", - url: "ghq-and-gopath" -} +# [ghq と gopath の兼ね合い](/2014/06/30/ghq-gopath-and-shin-o-muhammad.html) # TL;DR diff --git a/posts/2014-07-02-alias-upcd.md b/posts/2014-07-02-alias-upcd.md index 39c2d04..a6a328f 100644 --- a/posts/2014-07-02-alias-upcd.md +++ b/posts/2014-07-02-alias-upcd.md @@ -1,9 +1,4 @@ -{ - title: "alias up='cd ../'", - date: "2014-07-02", - description: "alias up='cd ../'", - url: "up-is-awesome-alias" -} +# [alias up='cd ../'](/2014/07/02/alias-upcd.html) https://github.com/e-jigsaw/dotfiles/commit/866a1363b1f29916f285937957b49510a6daa578 diff --git a/posts/2014-07-21-cabinjs.md b/posts/2014-07-21-cabinjs.md index 137de2f..54b8f69 100644 --- a/posts/2014-07-21-cabinjs.md +++ b/posts/2014-07-21-cabinjs.md @@ -1,9 +1,4 @@ -{ - title: "cabinjs ベースの blog に置き換えた", - date: "2014-07-21", - description: "cabinjs ベースの blog に置き換えた", - url: "replaced-cabinjs-based-on-github-pages" -} +# [cabinjs ベースの blog に置き換えた](/2014/07/21/cabinjs.html) http://www.cabinjs.com/ diff --git a/posts/2014-07-23-made-twlv.md b/posts/2014-07-23-made-twlv.md index 872b77b..8867827 100644 --- a/posts/2014-07-23-made-twlv.md +++ b/posts/2014-07-23-made-twlv.md @@ -1,9 +1,4 @@ -{ - title: "twlv というジョークライブラリをつくった", - date: "2014-07-23", - description: "twlv というジョークライブラリをつくった", - url: "made-twlv" -} +# [twlv というジョークライブラリをつくった](/2014/07/23/made-twlv.html) https://github.com/jackdcrawford/five というライブラリがあって、ひたすら意味もなく 5 を複雑にするだけのライブラリでアホらしすぎて面白かった。 diff --git a/posts/2014-07-30-boom-replaced-ab.md b/posts/2014-07-30-boom-replaced-ab.md index 1223e54..18c8adc 100644 --- a/posts/2014-07-30-boom-replaced-ab.md +++ b/posts/2014-07-30-boom-replaced-ab.md @@ -1,9 +1,4 @@ -{ - title: "boom で ab", - date: "2014-07-30", - description: "boom で ab", - url: "boom-replaced-ab" -} +# [boom で ab](/2014/07/30/boom-replaced-ab.html) https://github.com/rakyll/boom diff --git a/posts/2014-08-04-output-tsv-from-psql.md b/posts/2014-08-04-output-tsv-from-psql.md index b49f644..b3466a5 100644 --- a/posts/2014-08-04-output-tsv-from-psql.md +++ b/posts/2014-08-04-output-tsv-from-psql.md @@ -1,9 +1,4 @@ -{ - title: "psql -> tsv", - date: "2014-08-04", - description: "psql -> tsv", - url: "output-tsv-from-psql" -} +# [psql -> tsv](/2014/08/04/output-tsv-from-psql.html) http://d.hatena.ne.jp/choplin/20101222/1292995497 diff --git a/posts/2014-08-04-shell-command-tr-split.md b/posts/2014-08-04-shell-command-tr-split.md index 9f07719..a92e480 100644 --- a/posts/2014-08-04-shell-command-tr-split.md +++ b/posts/2014-08-04-shell-command-tr-split.md @@ -1,9 +1,4 @@ -{ - title: "今日のシェルコマンド", - date: "2014-08-04", - description: "今日のシェルコマンド", - url: "shell-command-tr-split" -} +# [今日のシェルコマンド](/2014/08/04/shell-command-tr-split.html) 今日は必要に迫られてシェルのコマンドを調べて使った diff --git a/posts/2014-08-11-shields-io.md b/posts/2014-08-11-shields-io.md index ec68180..7036676 100644 --- a/posts/2014-08-11-shields-io.md +++ b/posts/2014-08-11-shields-io.md @@ -1,9 +1,4 @@ -{ - title: "shields.io でバッジのガタガタが直せるっぽい", - date: "2014-08-11", - description: "shields.io でバッジのガタガタが直せるっぽい", - url: "shields-io" -} +# [shields.io でバッジのガタガタが直せるっぽい](/2014/08/11/shields-io.html) https://github.com/badges/shields diff --git a/posts/2014-08-12-install-imagemagick-on-mac.md b/posts/2014-08-12-install-imagemagick-on-mac.md index 0622f9c..5c2fa15 100644 --- a/posts/2014-08-12-install-imagemagick-on-mac.md +++ b/posts/2014-08-12-install-imagemagick-on-mac.md @@ -1,9 +1,4 @@ -{ - title: "mac に imagemagick をいれる", - date: "2014-08-12", - description: "mac に imagemagick をいれる", - url: "install-imagemagick-on-mac" -} +# [mac に imagemagick をいれる](/2014/08/12/install-imagemagick-on-mac.html) http://stackoverflow.com/questions/7412208/imagemagick-and-os-x-lion-trouble diff --git a/posts/2014-08-20-api-blueprint-indent.md b/posts/2014-08-20-api-blueprint-indent.md index dd78375..5dd720d 100644 --- a/posts/2014-08-20-api-blueprint-indent.md +++ b/posts/2014-08-20-api-blueprint-indent.md @@ -1,9 +1,4 @@ -{ - title: "api blueprint のインデントでつまずいた", - date: "2014-08-20", - description: "api blueprint のインデントでつまずいた", - url: "api-blueprint-indent" -} +# [api blueprint のインデントでつまずいた](/2014/08/20/api-blueprint-indent.html) # TL;DR diff --git a/posts/2014-08-20-workshopper.md b/posts/2014-08-20-workshopper.md index 9f22c68..51d95a0 100644 --- a/posts/2014-08-20-workshopper.md +++ b/posts/2014-08-20-workshopper.md @@ -1,9 +1,4 @@ -{ - title: "workshopper でハンズオンを体系化できるっぽい", - date: "2014-08-20", - description: "workshopper でハンズオンを体系化できるっぽい", - url: "workshopper" -} +# [workshopper でハンズオンを体系化できるっぽい](/2014/08/20/workshopper.html) https://github.com/rvagg/workshopper diff --git a/posts/2014-08-22-create-yasuharu-visualize.md b/posts/2014-08-22-create-yasuharu-visualize.md index 61faf8a..9861282 100644 --- a/posts/2014-08-22-create-yasuharu-visualize.md +++ b/posts/2014-08-22-create-yasuharu-visualize.md @@ -1,9 +1,4 @@ -{ - title: "Yasuharu Visualize つくった", - date: "2014-08-22", - description: "Yasuharu Visualize つくった", - url: "create-yasuharu-visualize" -} +# [Yasuharu Visualize つくった](/2014/08/22/create-yasuharu-visualize.html) http://e-jigsaw.github.io/Weight/ diff --git a/posts/2014-08-22-github-org-is-private-in-default.md b/posts/2014-08-22-github-org-is-private-in-default.md index eec8496..0489ba3 100644 --- a/posts/2014-08-22-github-org-is-private-in-default.md +++ b/posts/2014-08-22-github-org-is-private-in-default.md @@ -1,9 +1,4 @@ -{ - title: "github の org はデフォルトで private になっている", - date: "2014-08-22", - description: "github の org はデフォルトで private になっている", - url: "github-org-is-private-in-default" -} +# [github の org はデフォルトで private になっている](/2014/08/22/github-org-is-private-in-default.html) ![](https://cloud.githubusercontent.com/assets/557961/4008809/eb51b9f0-29db-11e4-8009-adbe8434f493.png) diff --git a/posts/2014-08-25-ngrok-awesome.md b/posts/2014-08-25-ngrok-awesome.md index 4402b54..19f11f5 100644 --- a/posts/2014-08-25-ngrok-awesome.md +++ b/posts/2014-08-25-ngrok-awesome.md @@ -1,9 +1,4 @@ -{ - title: "ngrok 便利", - date: "2014-08-25", - description: "ngrok 便利", - url: "ngrok-awesome" -} +# [ngrok 便利](/2014/08/25/ngrok-awesome.html) https://ngrok.com/ diff --git a/posts/2014-09-04-chatwork-md-0-1-0.md b/posts/2014-09-04-chatwork-md-0-1-0.md index 91bd979..4f93524 100644 --- a/posts/2014-09-04-chatwork-md-0-1-0.md +++ b/posts/2014-09-04-chatwork-md-0-1-0.md @@ -1,9 +1,4 @@ -{ - title: "chatwork.md をアップデートした", - date: "2014-09-04", - description: "chatwork.md をアップデートした", - url: "chatwork-md-0-1-0" -} +# [chatwork.md をアップデートした](/2014/09/04/chatwork-md-0-1-0.html) https://github.com/e-jigsaw/chatwork.md diff --git a/posts/2014-09-20-created-qls.md b/posts/2014-09-20-created-qls.md index 00d3361..5f36b6a 100644 --- a/posts/2014-09-20-created-qls.md +++ b/posts/2014-09-20-created-qls.md @@ -1,9 +1,4 @@ -{ - title: "qls というコマンドをつくった", - date: "2014-09-20", - description: "qls というコマンドをつくった", - url: "created-qls" -} +# [qls というコマンドをつくった](/2014/09/20/created-qls.html) https://github.com/e-jigsaw/qls diff --git a/posts/2014-09-26-github-timeline-analyze-by-bigquery-2.md b/posts/2014-09-26-github-timeline-analyze-by-bigquery-2.md index 0eb8d29..2a9b16c 100644 --- a/posts/2014-09-26-github-timeline-analyze-by-bigquery-2.md +++ b/posts/2014-09-26-github-timeline-analyze-by-bigquery-2.md @@ -1,9 +1,4 @@ -{ - title: "githubのtimelineをBigQueryで解析する(その2)", - date: "2014-09-26", - description: "githubのtimelineをBigQueryで解析する(その2)", - url: "github-timeline-analyze-by-bigquery-2" -} +# [githubのtimelineをBigQueryで解析する(その2)](/2014/09/26/github-timeline-analyze-by-bigquery-2.html) http://dev.jgs.me/posts/github-timeline-is-analyzable-on-bigquery/ のつづき。 diff --git a/posts/2014-09-26-github-timeline-is-analyzable-on-bigquery.md b/posts/2014-09-26-github-timeline-is-analyzable-on-bigquery.md index f525fd7..087d355 100644 --- a/posts/2014-09-26-github-timeline-is-analyzable-on-bigquery.md +++ b/posts/2014-09-26-github-timeline-is-analyzable-on-bigquery.md @@ -1,9 +1,4 @@ -{ - title: "githubのtimelineがbigqueryで解析できる", - date: "2014-09-26", - description: "githubのtimelineがbigqueryで解析できる", - url: "github-timeline-is-analyzable-on-bigquery" -} +# [githubのtimelineがbigqueryで解析できる](/2014/09/26/github-timeline-is-analyzable-on-bigquery.html) http://www.githubarchive.org/ diff --git a/posts/2014-10-02-clear-up-tmux-keybinds.md b/posts/2014-10-02-clear-up-tmux-keybinds.md index ecf7766..20f3cab 100644 --- a/posts/2014-10-02-clear-up-tmux-keybinds.md +++ b/posts/2014-10-02-clear-up-tmux-keybinds.md @@ -1,9 +1,4 @@ -{ - title: "tmuxのkeybindを整理した", - date: "2014-10-02", - description: "tmuxのkeybindを整理した", - url: "clear-up-tmux-keybinds" -} +# [tmuxのkeybindを整理した](/2014/10/02/clear-up-tmux-keybinds.html) https://github.com/e-jigsaw/dotfiles/blob/4f93e51a19897ad9019fbb65eea9a184c00f5c45/README.md diff --git a/posts/2014-10-03-created-rpt.md b/posts/2014-10-03-created-rpt.md index 69a2b97..4fb9a53 100644 --- a/posts/2014-10-03-created-rpt.md +++ b/posts/2014-10-03-created-rpt.md @@ -1,9 +1,4 @@ -{ - title: "tumblrからランダムに写真を表示するサービスをつくった", - date: "2014-10-03", - description: "tumblrからランダムに写真を表示するサービスをつくった", - url: "created-rpt" -} +# [tumblrからランダムに写真を表示するサービスをつくった](/2014/10/03/created-rpt.html) https://github.com/jgsme/rpt diff --git a/posts/2014-10-04-rpt-updated.md b/posts/2014-10-04-rpt-updated.md index 3899853..6f29c1e 100644 --- a/posts/2014-10-04-rpt-updated.md +++ b/posts/2014-10-04-rpt-updated.md @@ -1,9 +1,4 @@ -{ - title: "rptをアップデートした", - date: "2014-10-04", - description: "rptをアップデートした", - url: "rpt-updated" -} +# [rptをアップデートした](/2014/10/04/rpt-updated.html) http://rpt.jgs.me diff --git a/posts/2014-10-08-dependency-injection-in-node-js.md b/posts/2014-10-08-dependency-injection-in-node-js.md index ddd10c6..8f9c58a 100644 --- a/posts/2014-10-08-dependency-injection-in-node-js.md +++ b/posts/2014-10-08-dependency-injection-in-node-js.md @@ -1,9 +1,4 @@ -{ - title: "bottlejsでDIを試す", - date: "2014-10-08", - description: "bottlejsでDIを試す", - url: "dependency-injection-in-node-js" -} +# [bottlejsでDIを試す](/2014/10/08/dependency-injection-in-node-js.html) https://github.com/young-steveo/bottlejs diff --git a/posts/2014-10-08-forked-feedback.md b/posts/2014-10-08-forked-feedback.md index 4ae6362..59ee715 100644 --- a/posts/2014-10-08-forked-feedback.md +++ b/posts/2014-10-08-forked-feedback.md @@ -1,9 +1,4 @@ -{ - title: "feedbackというリポジトリをforkした", - date: "2014-10-08", - description: "feedbackというリポジトリをforkした", - url: "forked-feedback" -} +# [feedbackというリポジトリをforkした](/2014/10/08/forked-feedback.html) https://github.com/e-jigsaw/feedback diff --git a/posts/2014-10-09-translated-JavascriptBattle-rules-in-japanese.md b/posts/2014-10-09-translated-JavascriptBattle-rules-in-japanese.md index 49ebbe8..9ed9e6b 100644 --- a/posts/2014-10-09-translated-JavascriptBattle-rules-in-japanese.md +++ b/posts/2014-10-09-translated-JavascriptBattle-rules-in-japanese.md @@ -1,9 +1,4 @@ -{ - title: "JavascriptBattleのルールを日本語訳してみた", - date: "2014-10-09", - description: "JavascriptBattleのルールを日本語訳してみた", - url: "translated-JavascriptBattle-rules-in-japanese" -} +# [JavascriptBattleのルールを日本語訳してみた](/2014/10/09/translated-JavascriptBattle-rules-in-japanese.html) https://github.com/JavascriptBattle/hero-starter diff --git a/posts/2014-10-10-coped-with-rss.md b/posts/2014-10-10-coped-with-rss.md index c62a82f..3a437b3 100644 --- a/posts/2014-10-10-coped-with-rss.md +++ b/posts/2014-10-10-coped-with-rss.md @@ -1,9 +1,4 @@ -{ - title: "rss に対応しました", - date: "2014-10-10", - description: "rss に対応しました", - url: "coped-with-rss" -} +# [rss に対応しました](/2014/10/10/coped-with-rss.html) http://dev.jgs.me/feed.xml diff --git a/posts/2014-10-14-created-universal-url-modifier.md b/posts/2014-10-14-created-universal-url-modifier.md index ebd0e89..39efd59 100644 --- a/posts/2014-10-14-created-universal-url-modifier.md +++ b/posts/2014-10-14-created-universal-url-modifier.md @@ -1,9 +1,4 @@ -{ - title: "universal-url-modifier をつくった", - date: "2014-10-14", - description: "universal-url-modifier をつくった", - url: "created-universal-url-modifier" -} +# [universal-url-modifier をつくった](/2014/10/14/created-universal-url-modifier.html) https://github.com/e-jigsaw/universal-url-modifier diff --git a/posts/2014-10-27-updated-hyperswitch.md b/posts/2014-10-27-updated-hyperswitch.md index d9cc792..bad57da 100644 --- a/posts/2014-10-27-updated-hyperswitch.md +++ b/posts/2014-10-27-updated-hyperswitch.md @@ -1,9 +1,4 @@ -{ - title: "hyperswitchのアップデート", - date: "2014-10-27", - description: "hyperswitchのアップデート", - url: "updated-hyperswitch" -} +# [hyperswitchのアップデート](/2014/10/27/updated-hyperswitch.html) http://www.macupdate.com/app/mac/41769/hyperswitch diff --git a/posts/2014-11-19-facebook-flow-first-impression.md b/posts/2014-11-19-facebook-flow-first-impression.md index 344cc69..d647bd1 100644 --- a/posts/2014-11-19-facebook-flow-first-impression.md +++ b/posts/2014-11-19-facebook-flow-first-impression.md @@ -1,9 +1,4 @@ -{ - title: "facebook-flow first impression", - date: "2014-11-19", - description: "facebook-flow first impression", - url: "facebook-flow-first-impression" -} +# [facebook-flow first impression](/2014/11/19/facebook-flow-first-impression.html) http://flowtype.org/ diff --git a/posts/2014-12-01-the-technology-behind-vj.md b/posts/2014-12-01-the-technology-behind-vj.md index 804c91a..d77702a 100644 --- a/posts/2014-12-01-the-technology-behind-vj.md +++ b/posts/2014-12-01-the-technology-behind-vj.md @@ -1,9 +1,4 @@ -{ - title: "#kosenvj を支える技術(フロント編)", - date: "2014-12-01", - description: "#kosenvj を支える技術(フロント編)", - url: "the-technology-behind-vj" -} +# [#kosenvj を支える技術(フロント編)](/2014/12/01/the-technology-behind-vj.html) https://twitter.com/asonas/status/538995926514167808 diff --git a/posts/2014-12-15-setup-yosemite-machines.md b/posts/2014-12-15-setup-yosemite-machines.md index b864ee8..7c608c3 100644 --- a/posts/2014-12-15-setup-yosemite-machines.md +++ b/posts/2014-12-15-setup-yosemite-machines.md @@ -1,9 +1,4 @@ -{ - title: "Yosemite マシンゲットしたので環境を整えた", - date: "2014-12-15", - description: "Yosemite マシンゲットしたので環境を整えた", - url: "setup-yosemite-machines" -} +# [Yosemite マシンゲットしたので環境を整えた](/2014/12/15/setup-yosemite-machines.html) https://github.com/e-jigsaw/dotfiles diff --git a/posts/2014-12-17-fixed-zsh-5-0-7.md b/posts/2014-12-17-fixed-zsh-5-0-7.md index 209d4da..adcd5d9 100644 --- a/posts/2014-12-17-fixed-zsh-5-0-7.md +++ b/posts/2014-12-17-fixed-zsh-5-0-7.md @@ -1,9 +1,4 @@ -{ - title: "zsh まわりを直した", - date: "2014-12-17", - description: "zsh まわりを直した", - url: "fixed-zsh-5-0-7" -} +# [zsh まわりを直した](/2014/12/17/fixed-zsh-5-0-7.html) https://github.com/e-jigsaw/dotfiles diff --git a/posts/2014-12-24-created-md2wp.md b/posts/2014-12-24-created-md2wp.md index b6ce03e..4d2db2f 100644 --- a/posts/2014-12-24-created-md2wp.md +++ b/posts/2014-12-24-created-md2wp.md @@ -1,9 +1,4 @@ -{ - title: "md2wp をつくった", - date: "2014-12-24", - description: "md2wp をつくった", - url: "created-md2wp" -} +# [md2wp をつくった](/2014/12/24/created-md2wp.html) http://md2wp.jgs.me diff --git a/src/archive.jade b/src/archive.jade new file mode 100644 index 0000000..1cef425 --- /dev/null +++ b/src/archive.jade @@ -0,0 +1,31 @@ +extends layout + +block links + link(href='/archive.css', rel='stylesheet', type='text/css') + +block body + article + if month + .publish-date + span.date-year + a(href='/archives/#{year}.html') #{year} + span.date-month + a(href='/archives/#{year}-#{month}.html') #{month} + else if year + .publish-date + span.date-year + a(href='/archives/#{year}.html') #{year} + ul + each post in posts + li + a(href="#{post.url}") #{post.title} + + .paging + if isLast != undefined && isHead != undefined + if isHead + a(href='/archives/page-#{index+1}.html').paging-prev prev + else if isLast + a(href='/archives/page-#{index-1}.html').paging-next next + else + a(href='/archives/page-#{index+1}.html').paging-prev prev + a(href='/archives/page-#{index-1}.html').paging-next next diff --git a/src/archive.styl b/src/archive.styl new file mode 100644 index 0000000..7d65560 --- /dev/null +++ b/src/archive.styl @@ -0,0 +1,60 @@ +article ul + list-style-type none + padding-left 60px + + a + text-decoration none + color #4183c4 + + &:hover + text-decoration underline + + li + font-size 20px + +.paging + position relative + min-height 70px + + a + text-decoration none + color #f0f0f0 + + &:hover + text-decoration underline + + .paging-next, .paging-prev + position absolute + font-size 24px + padding 3px + + &:after, &:before + border solid transparent + content " " + height 0 + width 0 + position absolute + border-color rgba(0, 0, 0, 0) + + .paging-next + right 0 + background-color #d45050 + padding-left 5px + + &:after + left 100% + top 50% + border-width 21px + margin-top -21px + border-left-color #d45050 + + .paging-prev + background-color #6450d6 + padding-right 5px + + &:before + right 100% + top 50% + border-width 21px + margin-top -21px + border-right-color #6450d6 diff --git a/src/icon.png b/src/icon.png new file mode 100644 index 0000000..29dd7a9 Binary files /dev/null and b/src/icon.png differ diff --git a/src/images/cabin.png b/src/images/cabin.png deleted file mode 100644 index c111515..0000000 Binary files a/src/images/cabin.png and /dev/null differ diff --git a/src/layout.jade b/src/layout.jade new file mode 100644 index 0000000..1a81c32 --- /dev/null +++ b/src/layout.jade @@ -0,0 +1,23 @@ +doctype html +html + head + title kaihatsu + link(href='http://yui.yahooapis.com/pure/0.5.0/pure-min.css', rel='stylesheet', type='text/css') + link(href='/layout.css', rel='stylesheet', type='text/css') + block links + body + header.pure-u-1-1 + a(href='/') + h1 Kaihatsu + + #articleContainer + block body + + footer.pure-u-1-1 + ul + li + a.button(href="/archives") Archives + li + a.button(href="http://jgs.me") About me + li + a.button(href="https://github.com/jgsme/log") Github repository diff --git a/src/layout.styl b/src/layout.styl new file mode 100644 index 0000000..f330724 --- /dev/null +++ b/src/layout.styl @@ -0,0 +1,85 @@ +body + background-color #41413F + + header, footer + a + color #FFF + text-decoration none + + &:hover + text-decoration underline + + header + border-bottom 1px #FF4D12 solid + + h1 + padding-left 30px + + footer + border-top 1px #FF4D12 solid + + ul + padding-left 30px + list-style-type none + + #articleContainer + background-color #f8f8f8 + width 100% + + article + min-width 200px + max-width 790px + margin 0 auto + padding 30px + +.publish-date + color #f0f0f0 + + a + text-decoration none + color #f0f0f0 + + &:hover + text-decoration underline + + .date-year, .date-month, .date-day + position relative + font-size 24px + padding-top 3px + padding-bottom 3px + + &:after + left 100% + top 50% + border solid transparent + content " " + height 0 + width 0 + position absolute + border-color rgba(0, 0, 0, 0) + border-width 15px + margin-top -15px + + .date-year + background-color #4f99d3 + z-index 3 + padding-left 5px + + &:after + border-left-color #4f99d3 + + .date-month + background-color #50d477 + z-index 2 + padding-left 15px + + &:after + border-left-color #50d477 + + .date-day + background-color #d69d50 + z-index 1 + padding-left 17px + + &:after + border-left-color #d69d50 diff --git a/src/layouts/_social.jade b/src/layouts/_social.jade deleted file mode 100644 index d5d56a7..0000000 --- a/src/layouts/_social.jade +++ /dev/null @@ -1,32 +0,0 @@ -// Social sharing icons -.social - a(href="https://twitter.com/share", class="twitter-share-button") Tweet - .fb-like(data-layout="button_count", data-action="like", data-show-faces="false", data-share="false") - -// Disqus comments, Make sure to replace `colinwren` with your account name in the Disqus helper script below -#comments - #disqus_thread - -// Twitter -script(type="text/javascript"). - !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); - -// Facebook -script(type="text/javascript"). - (function(d, s, id) { - var js, fjs = d.getElementsByTagName(s)[0]; - if (d.getElementById(id)) return; - js = d.createElement(s); js.id = id; - js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=1388727331349705&version=v2.0"; - fjs.parentNode.insertBefore(js, fjs); - }(document, 'script', 'facebook-jssdk')); - -// Disqus -script(type="text/javascript"). - var disqus_shortname = 'kaihatsu2'; // Change this to your Disqus account name - - (function() { - var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; - (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); - })(); diff --git a/src/layouts/base.jade b/src/layouts/base.jade deleted file mode 100644 index 4a3a7bf..0000000 --- a/src/layouts/base.jade +++ /dev/null @@ -1,40 +0,0 @@ -//- Mixin for post, used on homepage and post page -mixin postHead(post) - .post-head.group - a(href="#{data.baseUrl}#{post.url}") - h1.post-title= post.title - span.post-date!= [post.date.getUTCFullYear(), post.date.getUTCMonth() + 1, post.date.getUTCDate()].join(' · ') - -mixin post(post) - mixin postHead(post) - .post-body.markdown!= post.content - -doctype html -html - head - meta(charset="utf-8") - meta(name="viewport", content="width=device-width, initial-scale=1, user-scalable=no") - link(rel="alternate", type="application/rss+xml", title="kaihatsu", href="/feed.xml") - link(rel="icon", type="image/png", href="#{data.baseUrl}images/cabin.png") - link(rel="stylesheet", href="http://yui.yahooapis.com/pure/0.5.0/pure-min.css") - link(rel="stylesheet", href="/styles/github-markdown.css") - link(href="#{data.baseUrl}styles/main.css", rel="stylesheet") - block head - title= "Kaihatsu" - body - #fb-root - header.pure-u-1-1 - a(href="#{data.baseUrl}") - h1 Kaihatsu - - article.markdown-body - block content - - footer.pure-u-1-1 - ul - li - a.button(href="#{data.baseUrl}archives.html") Archives - li - a.button(href="http://jgs.me") Home - li - a.button(href="https://github.com/jgsme/log") Github repository diff --git a/src/layouts/post.jade b/src/layouts/post.jade deleted file mode 100644 index 5bc4740..0000000 --- a/src/layouts/post.jade +++ /dev/null @@ -1,9 +0,0 @@ -extends base - -block head - title= post.title - if post.description - meta(name="description", content="#{post.description}") -block content - mixin post(post) - include _social diff --git a/src/page.jade b/src/page.jade new file mode 100644 index 0000000..e4ad2c3 --- /dev/null +++ b/src/page.jade @@ -0,0 +1,19 @@ +extends layout + +block links + link(href='/github-markdown.css', rel='stylesheet', type='text/css') + link(href='/page.css', rel='stylesheet', type='text/css') + +block body + article + .publish-date + time(datetime='#{date.year}-#{date.month}-#{date.day}', pubdate) + span.date-year + a(href='/archives/#{date.year}.html') #{date.year} + span.date-month + a(href='/archives/#{date.year}-#{date.month}.html') #{date.month} + span.date-day #{date.day} + .markdown-body!= body + #comments + #disqus_thread + script(type="text/javascript") var disqus_shortname = 'kaihatsu2'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); diff --git a/src/page.styl b/src/page.styl new file mode 100644 index 0000000..1fe1b52 --- /dev/null +++ b/src/page.styl @@ -0,0 +1,2 @@ +.markdown-body pre + background-color rgba(0, 0, 0, 0.04) diff --git a/src/pages/archives.jade b/src/pages/archives.jade deleted file mode 100644 index f4e66e8..0000000 --- a/src/pages/archives.jade +++ /dev/null @@ -1,6 +0,0 @@ -extends ../layouts/base -block head - title Archives -block content - each post in posts - mixin postHead(post) diff --git a/src/pages/index.jade b/src/pages/index.jade deleted file mode 100644 index d984a59..0000000 --- a/src/pages/index.jade +++ /dev/null @@ -1,9 +0,0 @@ -extends ../layouts/base - -block content - each post in posts - mixin post(post) - div.comments - a(href="#{data.baseUrl}#{post.url}#comments") - span.icon-bubbles - | Comments diff --git a/src/styles/main.styl b/src/styles/main.styl deleted file mode 100644 index 8be6491..0000000 --- a/src/styles/main.styl +++ /dev/null @@ -1,31 +0,0 @@ -body - background-color #FFF - - article - min-width 200px - max-width 790px - margin 0 auto - padding 0 30px 30px 30px - - header, footer - background-color #41413F - - a - color #FFF - text-decoration none - - &:hover - text-decoration underline - - header - border-bottom 1px #FF4D12 solid - - h1 - padding-left 30px - - footer - border-top 1px #FF4D12 solid - - ul - padding-left 30px - list-style-type none