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
| import processing.video.*; | |
| import processing.net.*; | |
| Client myClient; | |
| Server myServer; | |
| //int dataIn; | |
| String whatClientSaid; | |
| String clientImageUrl; | |
| String clientName; | |
| String temp; | |
| PImage clientImage; |
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
| namespace :git do | |
| desc "do a Git commit" | |
| task :commit do | |
| if ENV['commit'].nil? | |
| else | |
| commit_message = ENV['commit'].to_s | |
| # bangle face | |
| puts `clear` | |
| puts `git status` | |
| puts %x{git add .} |
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
| master>script/delayed_job start | |
| delayed_job: process with pid 7964 started. | |
| master>ps aux | grep 7964 | |
| master>script/delayed_job run | |
| /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0.rc/lib/active_support/buffered_logger.rb:108:in `write': closed stream (IOError) | |
| from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0.rc/lib/active_support/buffered_logger.rb:108:in `flush' | |
| from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0.rc/lib/active_support/buffered_logger.rb:101:in `synchronize' | |
| from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0.rc/lib/active_support/buffered_logger.rb:101:in `flush' | |
| from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0.rc/lib/active_support/buffered_logger.rb:125:in `auto_flush' | |
| from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0.rc/lib/active_support/buffered_logger.rb:66:in `add' |
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
| master>cap staging deploy | |
| * executing `staging' | |
| * executing `deploy' | |
| triggering before callbacks for `deploy' | |
| * executing `deploy:notify:start' | |
| * executing "curl -X POST -d \"application=mrteeth\" http://weather.engineyard.com/`hostname`/deploy_start -fs" | |
| servers: ["72.46.233.55"] | |
| [72.46.233.55:7000] executing command | |
| command finished | |
| Warning: We couldn't notify EY of your deploy, but don't worry, everything is fine |
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
| master>cap staging deploy | |
| * executing `staging' | |
| * executing `deploy' | |
| triggering before callbacks for `deploy' | |
| * executing `deploy:notify:start' | |
| * executing "curl -X POST -d \"application=mrteeth\" http://weather.engineyard.com/`hostname`/deploy_start -fs" | |
| servers: ["72.46.233.55"] | |
| [72.46.233.55:7000] executing command | |
| command finished | |
| Warning: We couldn't notify EY of your deploy, but don't worry, everything is fine |
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
| 001:0> mail = User.find(2).send_token_email | |
| SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 | |
| User Columns (150.9ms) SHOW FIELDS FROM `users` | |
| User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) | |
| #<TMail::Mail port=#<TMail::StringPort:id=0x82964f74> bodyport=#<TMail::StringPort:id=0x82962850>> | |
| 002:0> mail.body | |
| "<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#0000">\n <tr>\n <td align="center">\n <table id="Table_01" width="660" border="0" cellpadding="0" cellspacing="0">\n <tr>\n <td height="160">\n <img src="http://media.cambio.com.s3.amazonaws.com/email/mailer-sliced_02.png" width="660" height="160" alt="Insider Access to the new Cambio">\n </td>\n </tr>\n <tr>\n <td height="197">\n <a href="http://localhost:3000/users/fIyeVcsCM6G5qgymJHAa/complete_profile">Follow Me</a><a href="http://beta.cambio.com/"><img src="http://media.cambio.com.s3.amazonaws.com/email/mailer-sliced_04.png" width="660" height="197" a |
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
| webmin@rors:/data/lva/current$ bundle check | |
| The Gemfile's dependencies are satisfied | |
| webmin@rors:/data/lva/current$ bundle show | |
| Gems included by the bundle: | |
| * abstract (1.0.0) | |
| * actionmailer (3.0.0.beta4) | |
| * actionpack (3.0.0.beta4) | |
| * activemodel (3.0.0.beta4) | |
| * activerecord (3.0.0.beta4) | |
| * activeresource (3.0.0.beta4) |
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
| master>git config remote.github.url | |
| git@github.com:inmunited/Hawaii-Guide-Me.git | |
| master>git pull github master | |
| remote: error: Could not read 94840ee0cf77c1aaf5fa286b0abc717081cf87ba | |
| remote: fatal: revision walk setup failed | |
| error: git upload-pack: git-pack-objects died with error. | |
| fatal: git upload-pack: aborting due to possible repository corruption on the remote side. | |
| remote: aborting due to possible repository corruption on the remote side. | |
| fatal: protocol error: bad pack header |
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 'active_support' | |
| DEPLOY_CONFIG = YAML::load(File.open("config/deploy.yml")) | |
| default_run_options[:pty] = true | |
| # | |
| # General Deployment settings | |
| # | |
| set :application, DEPLOY_CONFIG['application'] | |
| set :repository, DEPLOY_CONFIG['repository'] || 'master' | |
| set :scm, :git |
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
| master>rake import:users | |
| (in /Users/bob/src/ffe) | |
| user system total real | |
| Faster 22.100000 1.100000 23.200000 ( 23.217951) | |
| CSV 371.860000 8.340000 380.200000 (380.484987) | |
| ... | |
| master>rake import:users | |
| (in /Users/bob/src/ffe) |