Skip to content

Instantly share code, notes, and snippets.

rem recursively remove .svn folders within current folder.
for /r %%d in (.svn) do rmdir /s /q "%%d"
pause
@yatemmma
yatemmma / heredoc.js
Created December 1, 2013 08:07
javascriptでヒアドキュメント風
Function.prototype.heredoc = function() {
return this.toString().match(/[^]*\/\*([^]*)\*\/\}$/)[1].replace(/^\n/, "");
};
var doc = (function() {/*
hoge hoge
fuga fuga
piyo piyo
*/}).heredoc();
@yatemmma
yatemmma / Gemfile
Last active June 13, 2017 06:58
gh2csv - GitHub issues export to csv.
source 'https://rubygems.org'
gem 'octokit'
@yatemmma
yatemmma / git-lesson.md
Last active February 15, 2022 03:36
git初心者への道 - お仕事で困らないレベルまでググっとします。

git初心者への道

まずやってみよう - コミットする、ログを見る、差分を見る

初登場するコマンド: init, add, commit, log, config, status, diff