This file contains hidden or 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
apply_event :transfer_sent, :target_account_uid => target, | |
:amount => amount, | |
:new_balance => new_balance.amount, | |
:account_uid => uid |
This file contains hidden or 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
require "rvm/with" | |
Bundler.with_clean_env do | |
RVM.with "in ." do |r| | |
puts r.execute "bundle install" | |
puts r.execute "rake db:create db:migrate db:setup" | |
end | |
end |
This file contains hidden or 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
osx_109_install_clt() | |
{ | |
typeset __developer_update | |
# continue if already using some xcode | |
xcode-select -p >/dev/null 2>&1 && return 0 || true | |
# trick the update to think user opened the dialog | |
touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress | |
# find pending update | |
__developer_update="$( | |
softwareupdate -l 2>/dev/null | |
This file contains hidden or 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
nick ALL=NOPASSWD:/sbin/start foo,/sbin/stop foo,/sbin restart foo,/sbin/service foo start,/sbin/service foo stop,/sbin/service foo restart,/home/nick/.rvm/wrappers/foo/foreman |
This file contains hidden or 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
require "rvm1/capistrano3" | |
after 'deploy:updating', 'deploy:bundle_install' | |
namespace :deploy do | |
task :bundle_install do | |
on roles(:app) do | |
within release_path do | |
execute :bundle, "install --quiet --system --without [:test, :development]" | |
end | |
end |
This file contains hidden or 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
--- branches/ruby_2_0_0/ChangeLog 2013/07/06 16:58:40 41811 | |
+++ branches/ruby_2_0_0/ChangeLog 2013/07/06 17:05:08 41812 | |
@@ -1,3 +1,20 @@ | |
+Sun Jul 7 02:00:41 2013 Martin Bosslet <[email protected]> | |
+ | |
+ * lib/openssl/ssl.rb: Fix SSL client connection crash for SAN marked | |
+ critical. | |
+ The patch for CVE-2013-4073 caused SSL crash when a SSL server returns | |
+ the certificate that has critical SAN value. X509 extension could | |
+ include 2 or 3 elements in it: |
This file contains hidden or 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
[2013-10-05 01:53:57] env | |
current path: /Users/headius/.rvm/src/rbx-2.0.0 | |
command(8): env /Users/headius/.rvm/wrappers/ruby-2.0.0-p247@rubinius/ruby ./configure --prefix=/Users/headius/.rvm/rubies/rbx-2.0.0 --with-opt-dir=/usr/local/opt/libyaml --with-opt-dir=/usr/local/opt/readline --with-opt-dir=/usr/local/opt/libksba --with-opt-dir=/usr/local/opt/openssl | |
Checking gcc: found | |
Checking g++: found | |
Checking bison: found | |
Configuring LLVM... | |
Checking for existing LLVM library tree: not found. | |
Checking for 'llvm-config': not found | |
Checking for prebuilt LLVM package... |
This file contains hidden or 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/sh | |
OSX_VERS=$(sw_vers -productVersion | awk -F "." '{print $2}') | |
# Get Xcode CLI tools | |
# https://devimages.apple.com.edgekey.net/downloads/xcode/simulators/index-3905972D-B609-49CE-8D06-51ADC78E07BC.dvtdownloadableindex | |
TOOLS=clitools.dmg | |
if [ "$OSX_VERS" -eq 7 ]; then | |
DMGURL=http://devimages.apple.com/downloads/xcode/command_line_tools_for_xcode_os_x_lion_april_2013.dmg | |
elif [ "$OSX_VERS" -eq 8 ]; then | |
DMGURL=http://devimages.apple.com/downloads/xcode/command_line_tools_for_xcode_os_x_mountain_lion_april_2013.dmg |
This file contains hidden or 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
require 'rubygems' | |
require 'bundler' | |
require 'bundler-unload' | |
ALL_GEMS = Bundler.rubygems.plain_specs | |
Bundler.require :default | |
require 'sinatra' | |
require 'yaml' | |
require 'multi_json' |
This file contains hidden or 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
RAILS_ROOT=/home/deployer/apps/arcsite/current | |
UNICORN=/home/deployer/.rvm/wrappers/arcsite/unicorn |