Skip to content

Instantly share code, notes, and snippets.

View ryancoughlin's full-sized avatar

Ryan Coughlin ryancoughlin

View GitHub Profile
.btn-xs-dark{
width: 58px;
height: 16px;
border: 1px solid #21283a;
@include border-radius(0 0 2px 2px);
@include background-clip(padding-box);
background-color: #394155;
@include box-shadow(0 1px 1px rgba(120,123,131,.4));
@include background-image(linear-gradient(bottom, #323b4f 0%, #3d4559 100%));
}
self.imageView.animationImages = [[NSArray alloc] initWithObjects:[UIImage imageNamed:@"cball00001"],
[UIImage imageNamed:@"cball00002"],
[UIImage imageNamed:@"cball00003"],
[UIImage imageNamed:@"cball00004"],
[UIImage imageNamed:@"cball00005"],
[UIImage imageNamed:@"cball00006"],
[UIImage imageNamed:@"cball00007"],
[UIImage imageNamed:@"cball00008"],
[UIImage imageNamed:@"cball00009"],
#app-header
.network_bar.hidden-iphone.border_box.top_layer
.network_search_header
.script
$(function() {
if(document.URL.indexOf("hotel-search/") >= 0)
a.open_search(href="/planner-portal")
span Go back to Planner Portal
else
a.open_search(href="/planner-portal/hotel-search/")
var personPrototype = {
name: 'Anonmyous',
greet: function (name, mood){
name = name || "You";
mood = mood || "Good";
},
species: 'Homo Sapien'
}
.btn.primary {
width: 445px;
height: 48px;
border: 1px solid #7876e1;
@include border-radius(4px);
@include background-clip(padding-box);
background-color: $purple;
@include box-shadow(0 1px 2px rgba(38,41,48,.32));
@include background-image(linear-gradient(bottom, #8f8df9 0%, #9997fd 100%));
}
.bt.primary:active {
@include box-shadow(inset 0 1px 2px rgba(104,102,209,.57));
@include background-image(linear-gradient(bottom, #9997fd 0%, #8886ed 100%));
}
- for type, index in ['Child Care Center', 'Family Child Care', 'Summer Camp']
- klass = "type-button-#{index}"
- if this[type] then klass += ' btn-active'
%li.btn.btn-default.type-of-care{:class => klass, :data => {:type => type }}
%input.ghost-form-element{type: 'checkbox', value: type, checked: (this[type]?)}
.type-icon
.type-name= type
%p.type-info A person licensed in a home to care for children.
.clearfix
@for $i from 1 through 10 {
.class-{$i}
}
@ryancoughlin
ryancoughlin / gist:8043604
Last active December 31, 2015 20:59
Location Result JSON - Weather Underground
{
"response": {
"version": "0.1",
"termsofService": "http://www.wunderground.com/weather/api/d/terms.html",
"features": {
"tide": 1
}
},
"tide": {
"tideInfo": [
{
"RESULTS": [
{
"name": "Boston, Massachusetts",
"type": "city",
"c": "US",
"zmw": "02101.1.99999",
"tz": "America/New_York",
"tzs": "EST",
"l": "/q/zmw:02101.1.99999"