- Chrome
- Alfred
- Sublime Text
- iTerm
- homebrew
import Ember from 'ember'; | |
/* global $ */ | |
// import layout from '../templates/components/ted-select'; | |
export default Ember.Component.extend({ | |
// layout: layout, | |
classNames: 'Ted-select', | |
selectClassNames: null, | |
content: Ember.A([]), |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
content: Ember.A([]), | |
sortBy: null, | |
sortArray: Ember.computed('sortBy', function(){ | |
if (this.get('sortBy')){ | |
return this.get('sortBy').replace(' ', '').split(','); | |
} |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.0</real> | |
<key>Green Component</key> | |
<real>0.0</real> |
set -g __fish_git_prompt_show_informative_status 1 | |
set -g __fish_git_prompt_hide_untrackedfiles 1 | |
set -g __fish_git_prompt_color_branch FFAF5F bold | |
set -g __fish_git_prompt_showupstream "informative" | |
set -g __fish_git_prompt_char_upstream_ahead "↑" | |
set -g __fish_git_prompt_char_upstream_behind "↓" | |
set -g __fish_git_prompt_char_upstream_prefix "" | |
set -g __fish_git_prompt_char_stagedstate "●" |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
router: Ember.inject.service() | |
// ...component stuff that uses transitionTo | |
}); |
convertToSeconds(niceValue){ | |
var durations = niceValue.split(':').reverse(); | |
return durations.reduce((prev, curr, i) => { | |
return Number(prev) + Number(curr) * Math.pow(60, i); | |
}); | |
}, | |
convertToSeconds('01:26:45'); //returns 5205 |
I hereby claim:
To claim this, I am signing this object:
<snippet> | |
<content><![CDATA[ | |
function(){ | |
${1} | |
} | |
]]></content> | |
<tabTrigger>fn</tabTrigger> | |
<scope>source.js</scope> | |
</snippet> |
// Block grids | |
// ---------------------------------- | |
// create an n-up block grid | |
// works well for > n unequal height items | |
// use @miixn block-grid on parent elem, | |
// @mixin block-grid-item on children | |
@mixin block-grid($gutterWidth: 25){ | |
font-size: 0; //kills inline-block ghost space | |
margin-left: -#{$gutterWidth}px; |