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
Started POST "/space" for ::1 at Thu Nov 04 13:47:02 +0100 2010 (mem 188540) | |
Processing by Space::SpacesController#update as HTML (mem 188644) | |
Parameters: {"authenticity_token"=>"MrnLUUqn5+SUem5nA7rmDz2u7y9blmLWhUm8xa6mbTY=", "utf8"=>"\342\234\223", "space"=>{"custom_host"=>"", "sender_email"=>"[email protected]", "header_image"=>#<File:/tmp/RackMultipart20101104-98632-1u0nzyv-0>, "name"=>"Business Bootcamp", "handle"=>"businessbootcamp", "member_directory"=>"0", "intro"=>"", "header_image_cache"=>"", "access"=>"private", "subject_prefix"=>"[Business Bootcamp]", "sender_name"=>"Business Bootcamp "}} (mem 188644) | |
global_find_account: Request.host="businessbootcamp.zenlearn.local" (mem 188644) | |
SQL (0.5ms) SELECT custom_host, id FROM `accounts` WHERE custom_host != '' AND custom_host IS NOT NULL (mem 188648) | |
Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE (`accounts`.`id` IS NULL) LIMIT 1 (mem 188648) | |
Space Load (1.0ms) SELECT `spaces`.* FROM `spaces` WHERE (1=1) AND (`spaces |
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
# /lib/tasks/after_deploy.rake | |
desc "notify hoptoad of deployment after we deploy with heroku san" | |
task :after_deploy => :environment do | |
puts "-----> notifying hoptoad" | |
system("rake hoptoad:deploy TO=production REVISION=`git rev-parse HEAD`") ? true : fail | |
puts "-----> done" | |
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
# app/models/my_class.rb | |
class MyClass < ActiveResource::Base | |
extend ActiveModel::Callbacks | |
define_model_callbacks :save | |
before_save :my_method | |
def my_method |
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
var lightSource : GameObject; | |
var brightnessGuiTrigger : GameObject; | |
var minIntensity : float; | |
var maxIntensity : float; | |
var lightIntensity : float; | |
private var brightnessSliderOpen = false; | |
function Start () { | |
Hide(); |
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
var dial : GameObject; | |
var snoozeButton : GameObject; | |
var dialEasing : float = 0.2; | |
private var dialDrag1 = false; | |
private var dialTargetAngle = 0.0; | |
private var dialActualAngle = 0.0; | |
private var dialVelocity = 0.0; | |
function Start () { |
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
static var hasLock : GameObject; | |
static function GetTouches (runningGameObject : GameObject, index : int) : Touch { | |
if (runningGameObject === hasLock) { | |
return Input.GetTouch(index); | |
} | |
} | |
static function TouchCount (runningGameObject : GameObject) : int { |
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
class String | |
def to_bool | |
return true if self == true || self =~ (/(true|t|yes|y|1)$/i) | |
return false if self == false || self.blank? || self =~ (/(false|f|no|n|0)$/i) | |
raise ArgumentError.new("invalid value for Boolean: \"#{self}\"") | |
end | |
end |
This file has been truncated, but you can view the full file.
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
==> Downloading http://ftp.postgresql.org/pub/source/v9.1.4/postgresql-9.1.4.tar.bz2 | |
Already downloaded: /Library/Caches/Homebrew/postgresql-9.1.4.tar.bz2 | |
/usr/bin/tar xf /Library/Caches/Homebrew/postgresql-9.1.4.tar.bz2 | |
==> Patching | |
/usr/bin/patch -f -p1 -i 000-homebrew.diff | |
patching file src/pl/plpython/Makefile | |
==> ./configure --disable-debug --prefix=/usr/local/Cellar/postgresql/9.1.4 --datadir=/usr/local/Cellar/postgresql/9.1.4/share/postgresql --docdir=/usr/local/Cellar/postgresql/9.1.4/share/doc/postgresql --enable-thread-safety --with-bonjour --with-gssapi --with-krb5 --with-openssl --with-libxml --with-libxslt --with-ossp-uuid --with-python --with-perl ARCHFLAGS='-arch x86_64' |
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
# List of tag ids from spreadsheet. | |
to_delete = [18784,18115,47438,50918,41470,43254,43249,39577,51512,27977,36212,40711,45077,18340,51647,51391,41513,488,17219,480,11441,26528,11373,31387,32759,27236,38372,39341,38025,38167,39240,43167,36946,37363,13176,481,14056,16786,28574,17641,27794,36336,27981,36704,36706,17697,27983,47791,36441,47513,27834,27237,47287,47358,27652,19361,32083,15549,40809,34407,17649,16682,41340,41341,26222,29911,44684,28134,38510,39076,37375,31424,41966,40031,7431,30576,44967,44961,468,46630,41071,31856,18037,7609,46256,48165,48173,487,38866,42745,13310,9170,48184,41253,16687,41518,13151,17594,49801,49833,8613,51518,36810,11654,171,8607,38430,31386,26886,48991,41469,34146,41446,26527,31740,49008,51507,8873,40935,496,30777,17574,17572,17916,17577,17807,17578,40337,31769,484,51194,32541,18960,50285,482,47455,46782,26530,51231,51400,6963,11755,50185,37319,46328,39355,40034,40376,40326,28292,11548,41976,40157,37011,37012,47200,48825,32715,50079] | |
# Get Intercom | |
a = App.find 6 | |
# Get a lis |
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
Verifying my Blockstack ID is secured with the address 14xczDimfapVMDo1kSUYhwLYVuyYZ4AE4x https://explorer.blockstack.org/address/14xczDimfapVMDo1kSUYhwLYVuyYZ4AE4x |
OlderNewer