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
git clone <repo-address> | |
git tag -l | |
git checkout <tag-name> | |
git branch -D master | |
git checkout -b master |
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
RVM home page: http://rvm.beginrescueend.com | |
Install RVM | |
------------ | |
See http://rvm.beginrescueend.com/rvm/install/ | |
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) | |
Install rvm for all users |
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
git init | |
# => initialize local repository | |
git add . | |
# => add all files/folders into the staging area | |
git add -A | |
# => add all files/folders into the staging area | |
# => (include the changes in the entire tree) |
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
[user] | |
name = Fajri Fachriansyah | |
email = fajri82@gmail.com | |
[alias] | |
co = checkout | |
c = config --list | |
b = branch | |
d = diff --color | |
ds = diff --stat --color | |
s = status |
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
# This file should contain all the record creation needed to seed the database with its default values. | |
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). | |
# | |
# Examples: | |
# | |
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) | |
# Mayor.create(name: 'Emanuel', city: cities.first) | |
Spree::Core::Engine.load_seed if defined?(Spree::Core) | |
Spree::Auth::Engine.load_seed if defined?(Spree::Auth) |
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
[DirectMethod] | |
public void BuildReport(string gridID) | |
{ | |
try | |
{ | |
if (((DataSet)Session["DaftarLaporLebih1Kali"]).Tables.Contains(gridID)) | |
{ | |
string HTMLoutput; | |
String xml = ((DataSet)Session["DaftarLaporLebih1Kali"]).GetXml(); | |
xml = "<?xml version='1.0' encoding='utf-8'?>\n" + xml; |
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
colorscheme railscasts | |
" hide toolbar | |
set guioptions-=T | |
" set lines=55 columns=100 | |
set guifont=DejaVu\ Sans\ Mono:h13 | |
set nonumber | |
set hidden | |
xnoremap p pgvy |
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
// https://gist.github.com/854622 | |
(function(window,undefined){ | |
// Prepare our Variables | |
var | |
History = window.History, | |
$ = window.jQuery, | |
document = window.document; | |
// Check to see if History.js is enabled for our Browser |
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
[user] | |
name = Fajri Fachriansyah | |
email = fajri82@gmail.com | |
[alias] | |
co = checkout | |
c = config --list | |
b = branch | |
d = diff --color | |
ds = diff --stat --color | |
s = status |
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
# remove file from stage | |
git rm --cached --ignore-unmatch <filename> | |
# to remove the file from the entire repo history | |
git filter-branch --index-filter 'git rm --cached --ignore-unmatch <filename>' HEAD | |
# to force update to remote repo, so the remote repo have the same history |
NewerOlder