Skip to content

Instantly share code, notes, and snippets.

@yatemmma
yatemmma / _slide.md
Last active August 29, 2015 14:21
HerokuでDeployGateやってみた
@yatemmma
yatemmma / 108Apps.md
Last active August 29, 2015 14:17
108Apps

108Apps

煩悩の数だけアプリを作れば悟りが開ける

no name tags desc note
1 xcode-launch sh Xcodeをターミナルから一発起動 wiki
2 goya ruby, automation 海の中からこんにちは! wiki
@yatemmma
yatemmma / yask.js
Last active August 29, 2015 14:01
limechat script
var KEYWORD = "yask";
var PREFIX = "[" + KEYWORD + "] ";
var Commands = { all: "?", del: "-", push: "!", full: "@" };
var sequence = 0;
var tasks = [];
function Task(nick, channel, text) {
this.id = ++sequence;
this.nick = nick;
@yatemmma
yatemmma / Gemfile
Last active June 13, 2017 06:58
gh2csv - GitHub issues export to csv.
source 'https://rubygems.org'
gem 'octokit'
@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 / git-lesson.md
Last active February 15, 2022 03:36
git初心者への道 - お仕事で困らないレベルまでググっとします。

git初心者への道

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

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

rem recursively remove .svn folders within current folder.
for /r %%d in (.svn) do rmdir /s /q "%%d"
pause
(function(rows, cols) {
function group(rows, cols, i) {
function xValue(i) {
if (i % cols == 0) {
return Math.min(3, cols);
} else if (i % cols == 1) {
return 1;
}
javascript:src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js";sc = document.createElement("script");sc.type="text/javascript";sc.src=src;document.body.appendChild(sc);void(false);