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
[martini] Completed 200 OK in 135.28us | |
[martini] Started GET / | |
[martini] Completed 200 OK in 83.209us | |
Cleaning up children | |
Killing child's pgid: 40740 | |
bin/start-servers: killing child 40743 | |
Traceback (most recent call last): | |
File "test/harness", line 113, in <module> | |
main() | |
File "test/harness", line 110, in main |
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
nums = [0,9].repeated_permutation(18).map(&:join).map(&:to_i) | |
nums.shift | |
n = gets.to_i | |
1.upto n do | |
j = gets.to_i | |
nums.each do |i| | |
if i % j == 0 | |
puts i | |
break | |
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
Pod::Spec.new do |s| | |
s.name = 'WatchSend' | |
s.version = '0.0.1' | |
s.platform = :ios | |
s.source = { :git => '???'} | |
s.source_files = '*.{h}' | |
s.vendored_libraries = 'libWatchsend.a' | |
s.preserve_paths = 'libWatchsend.a' | |
s.frameworks = 'QuartzCore', 'CoreGraphics', 'SystemConfiguration', 'OpenGLES' | |
s.library = 'Watchsend', 'icucore' |
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
json.extract! @model, :id, :url, :created_at, :updated_at | |
json.set! :id, @model.to_param |
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
Pod::Spec.new do |s| | |
s.name = 'MagicalRecord' | |
s.version = '2.3.beta' | |
s.license = 'MIT' | |
s.summary = 'Super Awesome Easy Fetching for Core Data 1!!!11!!!!1!.' | |
s.homepage = 'http://github.com/magicalpanda/MagicalRecord' | |
s.author = { 'Saul Mora' => '[email protected]' } | |
s.source = { :git => 'https://github.com/magicalpanda/MagicalRecord.git',:commit => 'b49f29d36e25dd40068a263635c3f8d120636076' } | |
s.description = 'Handy fetching, threading and data import helpers to make Core Data a little easier to use.' | |
s.source_files = 'MagicalRecord/**/*.{h,m}' |
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
while (dispatch_semaphore_wait(sema, DISPATCH_TIME_NOW)) | |
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode | |
beforeDate:[NSDate dateWithTimeIntervalSinceNow:2]]; |
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
$(document).on 'page:load', -> | |
links = document.links | |
for link in links | |
if (link.hostname != window.location.hostname) | |
link.target = '_blank' |
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
$(document).on 'page:load', -> | |
links = document.links | |
for link in links | |
if (link.hostname != window.location.hostname) | |
link.target = '_blank' |
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
<root> | |
<item> | |
<name>JIS_YEN to Fn</name> | |
<identifier>private.jis_key_to_fn</identifier> | |
<autogen>--KeyToKey-- KeyCode::JIS_YEN, KeyCode::FN</autogen> | |
</item> | |
</root> |
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
$(".gig-item").each(function(){ | |
item = $(this); | |
rating = item.find(".ratings-count"); | |
rating_int = (parseInt(rating.html(),10)); | |
if (rating_int < 2000) { | |
item.remove(); | |
} | |
}); |