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
:root { | |
/* Backgrounds --ember-power-select-background-color: #ffffff; */ | |
--ember-power-select-disabled-background-color: #eeeeee; | |
--ember-power-select-multiple-selection-background-color: #e4e4e4; | |
--ember-power-select-highlighted-background: #5897fb; | |
--ember-power-select-selected-background: #dddddd; | |
--ember-power-select-text-color: inherit; | |
/* Texts --ember-power-select-text-color: inherit; */ | |
--ember-power-select-placeholder-color: #999999; |
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
"use strict"; | |
MutationObserver = window.MutationObserver || window.WebKitMutationObserver; | |
const observer = new MutationObserver(function(mutations, observer) { | |
const sponsoredRegex = /[S][sponred]*/; | |
mutations.filter((mutation) => mutation.target.textContent.split(sponsoredRegex).filter((match) => match === "").length >= 4).map((ad) => ad.target.remove()); | |
}); | |
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
SELECT p.species_id, p.height, p.weight, p.base_experience, p.is_default, ps.*, pev.* FROM pokemon p | |
INNER JOIN pokemon_species ps on ps.id=p.id | |
INNER JOIN pokemon_evolution pev on pev.id=p.id | |
INNER JOIN pokemon_stats pstat on pstat.pokemon_id=p.id |
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
CheckboxableArrayMixin = Ember.Mixin.create | |
allSelected: false | |
selectedItems: Ember.computed.filterBy("", "selected", true) | |
selectedItemsCount: Ember.computed.alias("selectedItems.length") | |
isEmpty: Ember.computed.not(@get("model")) |
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
### | |
Failure of mankind | |
girlfriend.coffee | |
@author Sean | |
@note Created on 2014-11-22 by Sean Goresht | |
@note uses Codoc | |
@see https://github.com/coffeedoc/codo |
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
`import Ember from "ember"` | |
DashboardRoute = Ember.Route.extend( | |
beforeModel: (transition) -> | |
loginController = @controllerFor("login") | |
unless loginController.get("isLoggedIn") | |
loginController.setProperties({ | |
loginFailed: true | |
attemptedTransition: transition | |
}) |
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
`import Ember from "ember"` | |
FormActionsComponent = Ember.Component.extend( | |
save: null | |
classNames: "form-actions", | |
model: null | |
redirectRoute: "admin" | |
icon: "save" | |
iconClassName: (-> | |
"icon-#{@get("icon")}" |
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
flex() | |
-webkit-box-flex arguments[0] | |
-webkit-flex arguments | |
-moz-box-flex arguments[0] | |
-ms-flex arguments | |
flex arguments | |
$display-flex | |
display -webkit-box | |
display -webkit-flex |
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
use("camelize.js") | |
directions = top left bottom right | |
properties = margin padding | |
proportions = mini small normal medium large | |
positions = fixed absolute static relative |
NewerOlder