An introduction to curl using GitHub's API
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
;;(set-face-foreground 'font-lock-string-face "#75715E") | |
(set-face-foreground 'font-lock-comment-face "black") | |
;; Load Files | |
(add-to-list 'load-path "~/.emacs.d/lisp") | |
;; Line Number | |
(column-number-mode t) | |
(line-number-mode t) |
export LANG="ja_JP.UTF-8" | |
# source ~/perl5/perlbrew/etc/bashrc | |
HISTFILE=$HOME/.zsh-history | |
HISTSIZE=100000 | |
SAVEHIST=100000 | |
# エイリアスの設定 | |
alias ls='ls -GF' | |
alias ll='ls -l' |
button { | |
color: red; | |
} | |
p { | |
font-size: 1.2em; | |
color: red; | |
} |
.highlight { | |
.c{color:#999988;font-style:italic} | |
.err{color:#a61717;background-color:#e3d2d2} | |
.k{font-weight:bold} | |
.o{font-weight:bold} | |
.cm{color:#999988;font-style:italic} | |
.cp{color:#999999;font-weight:bold} | |
.c1{color:#999988;font-style:italic} | |
.cs{color:#999999;font-weight:bold;font-style:italic} | |
.gd{color:#000000;background-color:#ffdddd} |
/* Hello World program */ | |
#include<stdio.h> | |
main() | |
{ | |
printf("Hello World"); | |
return 0; | |
} |
> git ls-tree HEAD | |
> git cat-file blob :sha | |
> git diff --name-only | |
> git rev-parse --show-toplevel |
> brew update | |
> ruby-build --definition | |
> brew install rbenv | |
> brew install ruby-build | |
> brew install rbenv-vars | |
> brew install ctags | |
> brew install openssl | |
> brew upgrade readline |
> brew install node | |
> npm install -g express | |
> express node-app | |
> cd node-app && npm install | |
> node app.js |