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
.activities-header, .chart-header, .activities-list, .activities-chart, .map-container { | |
opacity: 0.01; | |
perspective: 400px; | |
perspective-origin: 50% 50%; | |
transform-origin: 0% 100%; | |
transform: rotateX(-80deg); | |
} | |
.activities-header, .chart-header { | |
transition: all 200ms ease, opacity 100ms ease; |
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('gnip:activitiesloaded', this.showActivities); | |
$(document).on('gnip:activitieserror', this.showError); | |
function showActivities(eventObj, tweets) { | |
// Render le tweets | |
} | |
function showError() {...} |
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
{ | |
"id":"tag:search.twitter.com,2005:181865366610382848", | |
"body":"No one wants to carry laptops any more, but we lose IPads and they are not secure. The Sweden PM ran the country for a week on an ipad.", | |
"verb":"post", | |
"link":"http://twitter.com/ProfNikiEllis/statuses/181865366610382848", | |
"generator":{ | |
"link":"http://twitter.com/#!/download/ipad", | |
"displayName":"Twitter for iPad" | |
}, | |
"postedTime":"2012-03-19T22:10:56.000Z", |
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
// Usage: gradlew [-Dtest.type=all|unit|integration] test | |
test { | |
String testType = System.properties['test.type'] | |
if (testType == 'integration') { | |
include '**/*IntegrationTest.*' | |
include '**/*IntegrationSpec.*' | |
} else if (testType == 'unit') { | |
include '**/*Test.*' | |
include '**/*Spec.*' |
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
#!/usr/bin/ruby | |
$refname = ARGV[0] | |
$oldrev = ARGV[1] | |
$newrev = ARGV[2] | |
def tasks | |
puts 'Checking TODOs...' | |
todo_pattern = /^\s*\+\s*([\/\#]+|<\!\-\-)\s*(FIXME|TODO)\W*([\s\w]+)(\-\->)?$/ | |
# Find task-oriented comments added with this commit |
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
@media screen and (min-width: 64.375em) | |
body | |
font-size: 137.5% | |
max-width: 46rem | |
width: 60% | |
@media screen and (min-width: 50em) | |
body | |
font-size: 125% | |
width: 70% |
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
$handheldPortraitWidth: 480px | |
$handheldLandscapeWidth: 768px | |
$tabletPortraitWidth: $handheldLandscapeWidth | |
$tabletLandscapeWidth: 980px | |
$smallDesktopWidth: 1200px | |
$largeDesktopWidth: 1600px | |
=respond-to($media) | |
@if $media == handheld-portrait | |
@media only screen and (max-width: $handheldPortraitWidth) |
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 "em-http-request" | |
EM.run { | |
http = EM::HttpRequest.new("http://localhost:1234/file.gz").get | |
http.errback { EM.stop } | |
http.callback { EM.stop } | |
} |
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
apply plugin: 'java' | |
configurations.all { | |
resolutionStrategy { | |
failOnVersionConflict() | |
force 'org.springframework:spring-core:3.1.RELEASE' | |
} | |
} |
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
source /usr/share/ruby-rvm/scripts/rvm | |
rvm use jruby | |
bundle install | |
jruby -S warble |