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 |
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
" インデントの設定 | |
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
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
var gulp = require("gulp"); | |
/* gulp とコマンドを打つと実行される */ | |
gulp.task("default", function() { | |
console.log("Starting gulp...!!"); | |
gulp.watch(["./original/*.js"], ["compress"]); | |
}); | |
var uglify = require("gulp-uglify"); |
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() | |
{ | |
var gcd = new GreatestCommonDivisor(14, 21); | |
var outputElement = $(".output"); | |
outputElement.append( gcd.displayGcd() ); | |
}); | |
class GreatestCommonDivisor | |
{ |
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
### RPG Maker MV | |
movies/ | |
save/ | |
## pictures 以外の image フォルダを無視 | |
img/animations | |
img/battlebacks1 | |
img/battlebacks2 |
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
FROM ubuntu:trusty | |
LABEL Description="latest npm" Vendor="nekonenene" Version="1.0" | |
## 文字コード設定 | |
RUN locale-gen ja_JP.UTF-8 | |
ENV LANG ja_JP.UTF-8 | |
ENV LANGUAGE ja_JP:ja | |
ENV LC_ALL ja_JP.UTF-8 |
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
module StringExtend | |
refine String do | |
def reverse | |
"aaa" | |
end | |
end | |
end | |
module TestModule | |
def output_from_module |
OlderNewer