Skip to content

Instantly share code, notes, and snippets.

View psugihara's full-sized avatar

Peter Sugihara psugihara

View GitHub Profile
ˇÿˇ‡JFIFÄfiˇ€C 

 $.' ",#(7),01444'9=82<.342ˇ€C 
2!!22222222222222222222222222222222222222222222222222ˇ¿‹'"ˇƒˇƒK !1AQ"aq2Åë°±¡—#BR·$3rÇSíìÒ45CDbsɬEUcd≤“ˇƒˇƒ$!1AQ"2BqŎ⁄ ?‰vÓ•]ŸN ¡„ÔVb'≤àí◊<ä¶ÜFä=ºÚsRên+±©˙ÎGv;∫»†ç±∆fl{D~füïÇ#D≤ÜÏ3è√4õ£Â(H¬©„∞#?à¶í`Õ#NcP2y»™øc≤e†1‹w6@Í=ı"·NLi Åù€NsÔ®∞IÙ2∏„ÊÁ†Ô…´A*œ.Â@0πÎÄ8¨õ•cäU±5º◊RSm„ÅÇ3ŒzÚk‡x5#QïmòOo2@AG¸O—üÖsπ.ù$Rvìª∏>üCZÕ\√)|«∏çÓJ61∏ø„N<ò…:0ö~èA[ÀÁ@襩 pyßr}j∑AîÕ£[H\æÂ»9œ„VU€fa‰–…§+´Å ‡‡Ù4›Õ‘Vë&m™;–¿ë@ÎYË<Ajw`fiy∞&–àâùΩ2s‘ézÙ®z‰Qx¶˚ Ãπ<mÓˇmCúVÏY—÷_VÒÖÆüwm-ˢ3bJé√≠O¥Ò%ÖÓ¶÷03;*Ûˆ~£5t;E’
bfiÍ•fÇEuV*JúÚ:ä{5C4T3ö(P°@ÄN(≥@—bÅáö:N
M¢Õ —Pìö*à–d˙—˙—–=*Ñ6zSd”∏¶ÿsTÑ∆èJi©Ú4Ü\Vâê∆QBñG4*Ïì«1ÍŸR}q⁄¨Ù¯"ñRÕ(ÂN¶øË™±+AÏÉ€#¸«6»ÎêIÍ
yrM™;ö≤˙M2
RÈœ ’B®ú∆~Û™Y„áÂN '…
}qflÈ©ñ”Ô/Ê9 Î¥∂zc?RdÚ¢H‡D!3πI=}ÁflY√(∫lÕZÏå7 g®è<U¿+oj
import arb.soundcipher.*;
int N = 2; // N = average North wind direction
if (N == 1) {
line(9, 10, 11, 12);
SoundCipher sc = new SoundCipher(this);
sc.repeat(3);
sc.playNote(60, 100, 0.5);
} else if (N == 2) {
// do something else
}
if Rails.env.staging? || Rails.env.development?
class MailFilter
def self.delivering_email(message)
message.to = message.to.reject {|recipient| recipient !~ /@openlistings.com/i }
if message.to.blank?
message.perform_deliveries = false
Rails.logger.debug "Interceptor prevented sending mail #{message.inspect}!"
end
message.subject = "[#{Rails.env.upcase}] " + message.subject
end
@psugihara
psugihara / qa error.txt
Created September 20, 2016 07:32
bundle exec qa minitest -archive-base-dir ~/.qa/archive -capture-standard-fds=false
bundle exec qa minitest -archive-base-dir ~/.qa/archive -capture-standard-fds=false
Using phantomjs version 2.1.1
/Users/petersugihara/open_listings/test/test_helper.rb:166: warning: already initialized constant PhotoStub
/Users/petersugihara/open_listings/test/test_helper.rb:166: warning: previous definition of PhotoStub was here
/Users/petersugihara/open_listings/test/test_helper.rb:168: warning: already initialized constant PROPERTY_IMAGE_REGEX
/Users/petersugihara/open_listings/test/test_helper.rb:168: warning: previous definition of PROPERTY_IMAGE_REGEX was here
/Users/petersugihara/open_listings/test/test_helper.rb:169: warning: already initialized constant S3_PROPERTY_IMAGE_REGEX
/Users/petersugihara/open_listings/test/test_helper.rb:169: warning: previous definition of S3_PROPERTY_IMAGE_REGEX was here
/Users/petersugihara/open_listings/test/test_helper.rb:170: warning: already initialized constant SLACK_NOTIFIER_URL
/Users/petersugihara/open_listings/test/test_helper.rb:170: warning: previous definiti