An introduction to curl using GitHub's API
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| # coding: utf-8 | |
| # based on http://pgnote.net/?p=1842 | |
| require 'mail' | |
| attachment = ARGV.shift | |
| Mail.defaults do | |
| delivery_method :smtp, { | |
| :address => "<Server-Address>", |
| tmux and mouse mode - Dan Lowe http://tangledhelix.com/blog/2012/07/16/tmux-and-mouse-mode/ | |
| tmux - Line wrap problems in Mac OS X terminal? http://comments.gmane.org/gmane.comp.terminal-emulators.tmux.user/651 | |
| -> http://stackoverflow.com/questions/2119942/how-to-wrap-git-commit-comments/6697519#6697519 | |
| -> git log -p した画面で ←→ |
| pandoc 1.11.1 | |
| Compiled with citeproc-hs 0.3.8, texmath 0.6.1.3, highlighting-kate 0.5.3.8. | |
| Syntax highlighting is supported for the following languages: | |
| actionscript, ada, apache, asn1, asp, awk, bash, bibtex, boo, c, changelog, | |
| clojure, cmake, coffee, coldfusion, commonlisp, cpp, cs, css, curry, d, | |
| diff, djangotemplate, doxygen, doxygenlua, dtd, eiffel, email, erlang, | |
| fortran, fsharp, gnuassembler, go, haskell, haxe, html, ini, java, javadoc, | |
| javascript, json, jsp, julia, latex, lex, literatecurry, literatehaskell, | |
| lua, makefile, mandoc, matlab, maxima, metafont, mips, modula2, modula3, | |
| monobasic, nasm, noweb, objectivec, objectivecpp, ocaml, octave, pascal, |
| Demo |
This script fetchs and returns following data from My SoftBank(マイソフトバンク).
You must create/have the account for My SoftBank to use it.
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure("2") do |config| | |
| config.vm.box = "dummy" | |
| # https://github.com/mitchellh/vagrant-aws/issues/28 | |
| config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true | |
| config.vm.provider :aws do |aws| | |
| aws.access_key_id = "<REDACTED>" |
ということで、GitHub上にホストしてるOctopress用リポジトリ harupong/harupong.github.io 専用の公開鍵認証を設定してみた。
PHP Markdown Extra 仕様の全訳(意訳) http://michelf.ca/projects/php-markdown/extra/
Markdown拡張仕様であるExtraモードの上記仕様ページを日本語訳したものです。
PHP Markdown Extraは、通常のオリジナルMarkdown記法では利用できない、いくつかの特徴を加えて移植されたPHP Markdown記法の特別なバージョンです。PHP Markdown Extra は、PHP Markdown home pageからダウンロードできます。
このドキュメントでは、PHP Markdown Extraで採用し、Markdown記法に追加した機能や変更を説明しています。このドキュメントを読む前に、オリジナルのMarkdown記法のドキュメントの方に目を通しておくべきでしょう。