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
class ScheduleGroup < ActiveRecord::Base | |
include AbstractGroup | |
has_and_belongs_to_many :schedules | |
end | |
class Schedule < ActiveRecord::Base | |
has_and_belongs_to_many :schedule_groups | |
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
Request URL:https://api-sandbox.recurly.com/jsonp/propertycloud-test/subscribe?callback=jQuery15204271336100064218_1314221946001&subscription%5Bplan_code%5D=2&subscription%5Bquantity%5D=1&subscription%5Bcoupon_code%5D=early&subscription%5Badd_ons%5D=&account%5Bfirst_name%5D=Ilia&account%5Blast_name%5D=Lobsanov&account%5Baccount_code%5D=ilia%40nurey.com-16&account%5Bemail%5D=ilia%40nurey.com&billing_info%5Bmonth%5D=8&billing_info%5Byear%5D=2012&billing_info%5Bnumber%5D=4111111111111111&billing_info%5Bverification_value%5D=111&billing_info%5Baddress1%5D=11+ivy+&billing_info%5Baddress2%5D=&billing_info%5Bcity%5D=toronto&billing_info%5Bstate%5D=ontario&billing_info%5Bzip%5D=m4l2h6&billing_info%5Bcountry%5D=CA&_=1314222009210 | |
Request Method:GET | |
Status Code:200 OK | |
Request Headersview source | |
Accept:*/* | |
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 | |
Accept-Encoding:gzip,deflate,sdch | |
Accept-Language:en-US,en;q=0.8 | |
Connection:keep-alive | |
Cookie:km_ai=3L2u0z8Pq7nfP7Lq8iTarb%2B7z1w%3D; km_lv=x; omp__super_properties=%7B%22 |
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
Uncaught TypeError: Object function h(a,b,c){var f,g;if(!(g=c&&c[a])){if(c=!c)h:{for(c=b.target;c;){if((g=h.data(c,q))&&(!a||g[a]))break h;c=c.parentNode}c=null}g=c}if(g){f=b;var c=f.type,i,j;f=h.Event(f),f.type=a,g=f.originalEvent,i=h.event.props;if(g)for(j=i.length;j;)a=i[--j],f[a]=g[a];c.search(/mouse(down|up)|click/)>-1&&!f.which&&(f.which=1);if(c.search(/^touch/)!==-1&&(a=e(g),c=a.touches,a=a.changedTouches,c=c&&c.length?c[0]:a&&a.length?a[0]:d)){g=0;for(len=s.length;g<len;g++)a=s[g],f[a]=c[a]}h(b.target).trigger(f)}return f} has no method 'Event' | |
hmobile_application-80cf04ccdb0980071685ed596bdcf695.js:18 | |
kmobile_application-80cf04ccdb0980071685ed596bdcf695.js:19 | |
f.event.handlemobile_application-80cf04ccdb0980071685ed596bdcf695.js:17 | |
f.event.add.i.handle.kmobile_application-80cf04ccdb0980071685ed596bdcf695.js:16 | |
370 | |
mobile_application-80cf04ccdb0980071685ed596bdcf695.js:18Uncaught TypeError: Object function h(a,b,c){var f,g;if(!(g=c&&c[a])){if(c=!c)h:{for(c=b.target;c;){if((g=h.data(c,q))&&(!a||g[a]))bre |
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
/* | |
For more detailed instructions on how to use this script, sign up with your email here: | |
http://adamloving.com/internet-programming/how-toexport-facebook-page-fans | |
DISCLOSURE: This javascript runs in your browser pretending to be you | |
looking through your page fans. Facebook should have no problem with this, | |
but who knows if they will think it is strange to see you looking through | |
all your fans so quickly (the script waits 3s before requesting each page). | |
I've had no problem running this so far for 1000s of page fans, but I |
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
goldrush:manager ilia$ git show a62e29f5009e73bc32dc978046c088afa93ae9cd | |
commit a62e29f5009e73bc32dc978046c088afa93ae9cd | |
Author: Ilia Lobsanov <[email protected]> | |
Date: Tue Oct 11 11:59:19 2011 -0400 | |
update datatables | |
diff --git a/vendor/plugins/datatables b/vendor/plugins/datatables | |
index a9e3d63..56646d1 160000 | |
--- a/vendor/plugins/datatables |
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 get head | |
Original installed RVM version: | |
rvm 1.9.2 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/] | |
remote: Counting objects: 328, done. | |
remote: Compressing objects: 100% (269/269), done. | |
remote: Total 328 (delta 26), reused 175 (delta 18) | |
Receiving objects: 100% (328/328), 804.78 KiB | 760 KiB/s, done. |
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 update | |
Updating git://github.com/rails/journey | |
Updating git://github.com/rails/rails.git | |
Fetching source index for http://rubygems.org/ | |
Bundler could not find compatible versions for gem "railties": | |
In Gemfile: | |
coffee-rails (>= 0) ruby depends on | |
railties (~> 3.1.0.rc1) ruby | |
rails (>= 0) ruby depends on |
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
{ | |
id: 1234, | |
name: 'December Savings', | |
value: 5 // decimal | |
fine_print: 'up to', // 'up to' or 'max $15.00' | |
value_type: 1, // 0 = percent amount, 1 = dollar amount | |
expires: '12/23/11', | |
dexpires: '4 days' | |
} |
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
{ | |
"results": | |
[ | |
{ | |
"time":"2011-11-05T12:19:53-07:00", | |
"timestamp":"1320520793", | |
"dtime":"1 Month", | |
"transaction_code":"T485E9C098XZQ", | |
"invisicode":"S384J14YY", |
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
[successDialog hideAfterDelay:1.5f withCompletion: ^ | |
{ | |
[self doSomething]; | |
}]; | |
- (void)hideWithCompletion: (void (^)())completion | |
{ | |
if (self.visible == YES) | |
{ |
OlderNewer