Skip to content

Instantly share code, notes, and snippets.

GitHub Flow

31 Aug 2011

git-flowの問題点 (Issues with git-flow)

私は人々にGitを教えるためにあちこちを飛び回っているが、最近のほぼすべてのクラスやワークショップでgit-flowについてどう思うかを尋ねられた。私はいつも、git-flowは素晴らしいと思うと答えている。何百万ものワークフローを持ったシステム(Git)を提供し、ドキュメントもあるし、よくテストされている。フレキシブルなワークフローは、実に容易なやり方で多くの開発者の役に立つ。標準的なものになりつつあり、開発者はプロジェクトや企業の間を移動しつつこの標準的なワークフローに馴染むことができる。

@huydx
huydx / gist:5378245
Created April 13, 2013 12:37
sql create new user with pw
GRANT ALL PRIVILEGES ON *.* TO 'usrname'@'localhost' IDENTIFIED BY 'pw' WITH GRANT OPTION
@huydx
huydx / drop all table
Created April 13, 2013 13:50
dropmysqltbl.sh
#!/bin/bash
MUSER="$1"
MPASS="$2"
MDB="$3"
# Detect paths
MYSQL=$(which mysql)
AWK=$(which awk)
GREP=$(which grep)
@huydx
huydx / script loader
Created April 13, 2013 15:47
script loader
(function(){
var scList = new Array();
scList[0] = 'http://cdnjs.cloudflare.com/ajax/libs/ace/0.2.0/ace.js';
scList[1] = 'http://cdnjs.cloudflare.com/ajax/libs/alloy-ui/1.0.1/aui-min.js';
scList[2] = 'http://cdnjs.cloudflare.com/ajax/libs/barman/0.2.2/barman.min.js';
var len = scList.length;
for (var i=0; i<len; i++) {
var script = document.createElement('script');
var firstScript = document.getElementsByTagName('script')[0];
script.src = scList[i];
@huydx
huydx / AMD.js
Created April 14, 2013 00:34
AMD
define(["alpha"], function (alpha) {
return {
verb: function(){
return alpha.verb() + 2;
}
};
});
@huydx
huydx / eval.py
Created April 20, 2013 03:21
eval security test
eval(''.join(['',u'\u005F',u'\u005F',chr(105),chr(109),chr(112),chr(111),chr(114),chr(116),u'\u005F',u'\u005F']) + "('os')").listdir(".")

Python Number Conversion Chart

From To Expression
@huydx
huydx / bash_profile.sh
Last active December 16, 2015 16:48
bash_profile
export PATH=/usr/local/bin:$PATH
export SSL_CERT_FILE=~/.cert/cacert.pem
. ~/.nvm/nvm.sh
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
export SSL_CERT_FILE=~/.cert/cacert.pem
export CLI_COLOR=1
export LSCOLORS=DxFxBxDxCxcgcdabagacad
@huydx
huydx / rules.md
Last active December 16, 2015 18:39 — forked from radar/rules.md

Asking questions, the right way

First, #vruby focuses in technical side, we should not chit/chat or talk too much about subjects not relate to technical side

Second, hen asking questions in the #vruby channel, please follow these 12 simple rules. Can't count that high? The first 7 will get you in most people's good books.

  1. Do your research before hand. Your question may be answerable with a quick Google search or by simply experimenting. If you're using a method in Rails, look it up in the API Docs or in the Official Guides.
  2. If you've tried Googling, explain what terms you've tried to use so people can better help you.
  3. Clearly explain what is happening and create a Gist (http://gist.github.com) or Pastie (http://pastie.org) of the code that is causing the problem you are encountering, as well as any useful output like stacktraces. A "Full Trace" as opposed to the default "Application Trace" is preferred. *NO FAKE CODE. If you're
@huydx
huydx / visualizer.js
Created May 5, 2013 14:51
visualizer.js
(function(){
window.onload = init;
function init() {
var context = new webkitAudioContext();
var audiobuffer;
var sourceNode;
var analyzer;
window.javascriptnode = null;