Skip to content

Instantly share code, notes, and snippets.

View williamn's full-sized avatar

William williamn

  • Jakarta, Indonesia
View GitHub Profile
@williamn
williamn / gist:2894205
Created June 8, 2012 07:24 — forked from JonathanTron/gist:361875
Steps to mirror a Git repository
# go to your repository
cd my_project
# check your existing remote
git remote -v
# origin git@mydomain.tld:my_project.git (fetch)
# origin git@mydomain.tld:my_project.git (push)
# Add a new remote, a github.com private repository for example
# the --mirror flag is what's different from a simple new remote
@williamn
williamn / devise.id.yml
Created May 23, 2012 06:30 — forked from yulrizka/devise.id.yml
Devise translation for Bahasa Indonesia
id:
errors:
messages:
not_found: "tidak ditemukan"
already_confirmed: "sudah di konfirmasi"
not_locked: "tidak dikunci"
devise:
failure:
unauthenticated: 'Anda harus mendaftar atau sign in sebelum melanjutkan .'
@williamn
williamn / .gitconfig
Created May 23, 2012 01:17 — forked from josegonzalez/.gitconfig
~/.gitconfig
[user]
name = MY_NAME
email = MY_EMAIL_ADDRESS
[git-tmbundle]
gitnub-path = /Applications/GitNub.app
gitx-path = /Applications/GitX.app
show-diff-check = yes
[github]
user = GITUB_USER
token = GITHUB_TOKEN
@williamn
williamn / deploy.rb
Created July 25, 2011 01:42 — forked from josegonzalez/deploy.rb
Capistrano Deploy Script for CakePHP applications using GIT (update the $config hash)
$config = {
"application" => "DOMAIN.TLD",
"repository" => "git@GITHOST:USERNAME/REPOSITORYNAME.git",
"remoteusername" => "REMOTEUSERNAME",
"cake_folder" => "/PATH/TO/CAKE",
"cake_version" => "cakephp1.3",
"plugin_dir" => "plugins",
"servers" => {
"prod" => {
"server" => "APPLICATION.TLD",
@williamn
williamn / Rails CMS alternatives
Created January 29, 2010 07:28
Rails CMS alternatives
Rails CMS alternatives
======================
Note: project activity was checked on 11/26/09.
Active projects:
----------------
Railsyard
site: http://www.railsyardcms.org/
Last update: 02/07/12
repo: https://github.com/cantierecreativo/railsyardcms