William Notowidagdo williamn

View .screenrc
1 2 3 4 5 6 7
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]'
 
shell -${SHELL}
 
screen -t shell1 0
screen -t shell2 1
View install-gem-mysql.bat
1
gem install mysql --platform=ruby -- --with-mysql-include=C:\xampplite\mysql\include --with-mysql-lib=C:\xampplite\mysql\lib\opt
View .bashrc
1 2 3
# http://collectiveidea.com/blog/archives/2011/08/02/command-line-feedback-from-rvm-and-git/
#
export PS1="\[\033[01;34m\]\$(~/.rvm/bin/rvm-prompt) \[\033[01;32m\]\w\[\033[00;33m\]\$(__git_ps1 \" (%s)\") \[\033[01;36m\]\n$\[\033[00m\] "
View padrino.dic
1 2
Padrino
bcrypt
View git-training.md

Git and Github training topics

  • What's Version Control
  • What's Git
  • Downloading and Installing Git
  • Create your local repository folder
  • Create your SSH Key
  • What's GitHub?
  • Set up your GitHub account
  • Creating a new repository
View sources.list
1 2 3 4 5 6 7 8 9
## REPOSITORY UTAMA
deb http://kambing.ui.ac.id/ubuntu natty main restricted universe multiverse
deb-src http://kambing.ui.ac.id/ubuntu natty main restricted universe multiverse
## INI UNTUK MAJOR BUG FIX UPDATES
deb http://kambing.ui.ac.id/ubuntu natty-updates main restricted universe multiverse
deb-src http://kambing.ui.ac.id/ubuntu natty-updates main restricted universe multiverse
## INI UNTUK UBUNTU SECURITY UPDATES
deb http://kambing.ui.ac.id/ubuntu natty-security main restricted universe multiverse
deb-src http://kambing.ui.ac.id/ubuntu natty-security main restricted universe multiverse
View web_steps_id.rb
1 2 3 4 5 6 7 8 9 10
# TL;DR: YOU SHOULD DELETE THIS FILE
#
# This file was generated by Cucumber-Rails and is only here to get you a head start
# These step definitions are thin wrappers around the Capybara/Webrat API that lets you
# visit pages, interact with widgets and make assertions about page content.
#
# If you use these step definitions as basis for your features you will quickly end up
# with features that are:
#
# * Hard to maintain
View web_steps_id.rb
1 2 3 4 5 6 7 8 9 10
# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
# It is recommended to regenerate this file in the future when you upgrade to a
# newer version of cucumber-rails. Consider adding your own code to a new file
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
# files.
 
 
require 'uri'
require 'cgi'
require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "paths"))
View gist:1205500
1 2 3
# from http://blog.siyelo.com/installing-a-gem-in-all-your-global-rvm-gemse
 
for x in $(rvm list strings); do rvm use $x@global && gem install <RAD DEVELOPMENT GEM NAME>; done
View age1.sql
1
SELECT DATE_FORMAT(NOW(), '%Y') - DATE_FORMAT(dob, '%Y') - (DATE_FORMAT(NOW(), '00-%m-%d') < DATE_FORMAT(dob, '00-%m-%d')) AS age
Something went wrong with that request. Please try again.