This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.addEventListener("load", function () { | |
var h1Tag = document.getElementsByTagName("h1") ; | |
h1Tag[0].style.color = "red" ; | |
var practiceStringOutEle = document.getElementById("practiceString") ; | |
stringLesson(practiceStringOutEle) ; | |
/* 文字列を入れてみる */ | |
function stringLesson(ele){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" インデントの設定 | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=0 | |
set smartindent | |
set smarttab | |
set ruler | |
set number " 行番号 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** 色の指定 */ | |
function CellColor() | |
{ | |
this.initial = "#ffeecc" ; | |
this.painted = "brown" ; | |
this.cantPaint = "gray" ; | |
} | |
/** 定数 */ | |
function Constance() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[url "git@github.com:"] | |
pushInsteadOf = https://github.com/ # use SSH | |
[user] | |
name = ハトネコエ | |
email = hatonekoe@gmail.com | |
[alias] | |
st = status | |
co = checkout | |
sw = switch | |
br = branch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias emacs='open -a Emacs.app -n' # -a は Application を開くのに必要な宣言。 -n は new Window の n | |
alias iterm='open -a iTerm.app -n' # 律儀に .app まで書いてますが、 'open -a iterm' でも大丈夫です | |
alias firefox='open -a Firefox.app --background' | |
alias chrome='open -a "Google Chrome.app" --background' | |
alias safari='open -a Safari.app --background' | |
alias opera='open -a Opera.app --background' | |
alias vim='open -a MacVim.app -n' | |
alias xcode='open -a Xcode.app' | |
alias tedit='open -e' # TextEdit というMac標準のエディタが開きます |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## .inputrc に書く。補完で大文字小文字を無視 | |
## set completion-ignore-case on | |
alias s='sudo' | |
alias ex='exit' | |
alias cd..='cd ..' | |
## Mac は open コマンドを多用する | |
## 参照 : http://staku.designbits.jp/terminal-run-app/ | |
## より詳しく : http://www.absolute-keitarou.net/blog/?p=661 |
NewerOlder