-
At least P500 worth of Oral-B Electric Toothbrush replacement heads, available at Mercury Drug or Watsons. Can be the following:
-
BM-800 condenser microphone. Available at Lazada. If you're feeling generous, you can add a desktop mic stand, but not a suspension boom/arm stand or a floor stand.
-
Water resistant cellphone armband for Galaxy S7 or larger
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
deck = [] | |
13.times { deck << 0 } | |
39.times { deck << 1 } | |
result = Hash.new(0) | |
1000000.times do | |
deck = deck.shuffle | |
count = 0 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>First App</title> | |
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> | |
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> | |
<%= csrf_meta_tags %> | |
</head> | |
<body> |
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
@companies = Company.includes(:users).all | |
@companies.each do |company| | |
company.users.each do |user| | |
"#{company.name} #{user.name}" | |
end | |
end |
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
bundle install --gemfile /home/deploy/apps/devcon/releases/20130508024349/Gemfile --path /home/deploy/apps/devcon/shared/bundle --deployment --quiet --without development test |
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
19:43:29 - INFO - Guard uses Libnotify to send notifications. | |
19:43:29 - INFO - Guard uses TerminalTitle to send notifications. | |
19:43:30 - INFO - Bundle already up-to-date | |
19:43:30 - INFO - Starting Spork for RSpec | |
Using RSpec | |
Preloading Rails environment | |
Loading Spork.prefork block... | |
Spork is ready and listening on 8989! |
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
#! /bin/bash | |
# DEVCON | |
# Maintainer: @bry_bibat | |
# based on https://raw.github.com/gitlabhq/gitlab-recipes/4-2-stable/init.d/gitlab | |
### BEGIN INIT INFO | |
# Provides: devcon | |
# Required-Start: $local_fs $remote_fs $network $syslog | |
# Required-Stop: $local_fs $remote_fs $network $syslog |
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
export JAVA_OPTS="-client" | |
COLOR1='\[\e[1;32m\]' | |
COLOR2='\[\e[1;1m\]' | |
COLOR3='\[\e[m\]' | |
GIT_STATUS='$(__git_ps1 " %s")' | |
PROMPT_CHAR='\$' | |
PS1="${COLOR1}\u@\h${COLOR3} \w${COLOR2}${GIT_STATUS} ${COLOR3}${PROMPT_CHAR} " |
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 | |
$ rvm get head | |
$ rvm upgrade 1.9.3-p362 1.9.3-p374 | |
(if it's not downloading binaries, using an rvm_make_flags like "-j3" can speed things up. see https://rvm.io/workflow/rvmrc/) | |
rbenv with ruby-build | |
$ cd ~/.rbenv/plugins/ruby-build | |
$ git pull | |
$ rbenv install 1.9.3-p374 MAKE_OPTS="-j3" | |
$ rbenv rehash |
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
# after sudo apt-get install build-essential zlib1g-dev libpcre3 libpcre3-dev | |
./configure --prefix='/opt/nginx' --with-http_ssl_module --with-http_gzip_static_module --with-cc-opt='-Wno-error' --add-module='/usr/local/lib/ruby/gems/1.9.1/gems/passenger-4.0.1/ext/nginx' |
NewerOlder