Skip to content

Instantly share code, notes, and snippets.

Ahmy Yulrizka yulrizka

Block or report user

Report or block yulrizka

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 2_variable.rb
$variable_global = 1
module CS
A_CONSTANT = 2
class Client
@@class_var = 3
@instance_variable = 4
def login(username, password)
@instance_variable = 41
@yulrizka
yulrizka / sorcery_helper.rb
Created Mar 18, 2012
Helper for login in sorcery on request spec
View sorcery_helper.rb
# spec/support/sorcery_helper.rb
module Sorcery
module TestHelpers
module Rails
def login_user_post(user, password)
page.driver.post(sessions_url, { username: user, password: password})
end
end
end
@yulrizka
yulrizka / gist:4251956
Created Dec 10, 2012
Storm init script. save as /etc/init.d/storm-nimbus
View gist:4251956
#!/bin/bash
#
# /etc/init.d/storm-nimbus
#
# Startup script for storm-nimbus
#
# chkconfig: 2345 20 80
# description: Starts and stops storm-nimbus
#. /etc/init.d/functions
stormBin=/home/user/storm/storm-0.8.1/bin/storm
View pc public key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8RE6w5lpRgHaCsblVfrRaIVpqSAUHgu2dY7PRZWClBKyNN2PnaeADLG15EZ50WVLkOPY0HhAt8Wp6dNt2Zt0a51pb9rriwcf/gXGG5zJs/F/Mx5rTjJMo46wgdimZdUtAu7XbNf7SEcYJcune/87NuyJL+IKVtCFggzTmWuIVDH0O6S9lS81pnEjMS4pohbJjhVZs+ozRPaysrqQ3BGFbRjiJas7osClFQlMdeT74QXvLbUIYXMAoa6oxja+AKWgCSy2W/+9iTtGlyDzBGfJ+DhrPOxCK4bQs4Xrw4qypkA92mTWABoSvoSfi6Dfc/YuQ2Err+BmtKMU3j9B3KwtKxrmiKs6qzMsMh9/n4Y7/E9T2cEvnQlBc5wsVC9B03LBSG0N4WDXzixFWscutazP1mVLDjjIcZm9yXbPQ95IGl193boKgT2jGVwoGKsc4tuCQNo6Fs03cnan4ls1FQ+BEQCBDNioWLFuEr4OgYGLbkTbfXhoqKzKrcgDSeq+d4AGMp9x+NXlaEKTkA56NISk0Oe5mFPIAaghNJlgb+sXl/uWZpUGJ7D3OEXTB8Kf/d2Li4V5IE1B5JeUuvDTYXz2tSC+HtrCLodocxJAactx4KlVQR6HnD/fBNhGKUJX95y4PSprOXOmtZNqGi7pNLSLh2fM4Ay8gxlA5rUoiDcrVDQ== ubuntu@home
View keybase.md

Keybase proof

I hereby claim:

  • I am yulrizka on github.
  • I am yulrizka (https://keybase.io/yulrizka) on keybase.
  • I have a public key whose fingerprint is 2D23 30D0 BED6 DA1A C725 5F1F 2EC0 A21A E2D3 FB20

To claim this, I am signing this object:

@yulrizka
yulrizka / devise.id.yml
Created Dec 25, 2010
Devise Indonesian translation (terjemahan devise untuk bahasa indonesia)
View devise.id.yml
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 .'
You can’t perform that action at this time.