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
.yes { | |
background: #75c073; | |
} | |
#table-wrapper tr:hover td.yes, #table-wrapper td.hover.yes { | |
background: #5ba059; | |
} | |
.no { | |
background: e68484; |
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
<div class="form-group-input"> | |
<div class="btn-group btn-group-justified" data-toggle="buttons"> | |
<label class="btn btn-default" ng-class="{active: ${1:} === ${2:} }"> | |
<input type="radio" ng-model="${1:}" ng-value="${2:}"> ${4:} | |
</label> | |
<label class="btn btn-default" ng-class="{active: ${1:} === ${3:} }"> | |
<input type="radio" ng-model="${1:}" ng-value="${3:}"> ${5:} | |
</label> | |
</div><!-- .btn-group --> | |
</div><!-- .form-group-input --> |
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
/*** | |
If you're like me, and like to organize your Trello boards by team, you | |
might not want to see the default "Starred Boards" and "My Boards" | |
sections that show up on your dashboard. For me, they just get in the way, | |
and I would rather just see my boards organized by teams ("Client Work", | |
"Side Projects", "Tabled Projects", etc.). | |
Here's a set of styles you can drop into Stylebot (broowser extension that | |
lets you add custom CSS to any site in your borwser) to do just that. Enjoy! |
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
// WHAT GOES IN THIS FILE: | |
// | |
// - Raw HTML elements (no classes) | |
// - Any non-rendering SASS (i.e. mixins and functions) | |
// | |
// EXAMPLES: | |
body { } | |
a { } |
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('angular'); | |
require('angular-ui-router'); | |
require('./gg-root.js'); | |
require('./gg-routes.js'); |
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
const AppComponent = { | |
template: ` | |
<div class="app-component-root"> | |
<div ui-view></div> | |
</div> | |
`, | |
}; | |
export default AppComponent; |
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
<div class="app-root" ng-controller="rootController"> | |
<div class="carousel"> | |
<!-- | |
I have a UI Bootstrap carousel with some slides in it. Each slide | |
needs to be both clickable and swipeable, with a mouse (this problem | |
is not an issue on mobile). | |
The problem I'm having is that when you swipe with a mouse click, | |
letting the mouse up at the end of the swipe will trigger the click |
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
$ RAILS_ENV=production bundle exec rake -P | |
syck has been removed, psych is used instead | |
rake about | |
environment | |
rake assets:clean | |
environment | |
tmp:cache:clear | |
rake assets:precompile | |
rake db:abort_if_pending_migrations | |
environment |
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
import { Component, OnInit } from '@angular/core'; | |
import { NavParams } from 'ionic-angular'; | |
import { FormBuilder, FormGroup, Validators } from '@angular/forms'; | |
import { StudentsProvider } from '../../../providers/students-provider'; | |
@Component({ | |
selector: 'student-form', | |
templateUrl: 'student-form.html' | |
}) | |
export class StudentForm implements OnInit { |