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
<?php | |
/** | |
* Recurses each directory and runs PHP's lint function against each file | |
* to test for parse errors. | |
* | |
* @param string $dir the directory you would like to start from | |
* @return array the files that did not pass the test | |
*/ | |
function lint( $dir = 'C:\dev\\' ) |
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
#!/usr/bin/env bash | |
cd ~ | |
# Install command line tools | |
xcode-select -r | |
xcode-select -p | |
if [[ $? -ne 0 ]]; then | |
xcode-select --install | |
fi |
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
$ npm run test | |
> ember-cli-update@0.31.0 test /Users/k3n/Applications/_externals/ember-cli-update | |
> npm run test:both | |
> ember-cli-update@0.31.0 test:both /Users/k3n/Applications/_externals/ember-cli-update | |
> npm run test:bin && npm run test:command | |
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'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
model: Ember.Object.create({ | |
name: 'Sergio', | |
bio: 'Ogro malvado achuchable', | |
lovesEmber: true | |
}) | |
}); |
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'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
model: Ember.Object.create({ | |
name: 'Sergio', | |
bio: 'Ogro malvado achuchable', | |
lovesEmber: true | |
}) | |
}); |
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
// save as C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\whatever.cfg | |
// then edit autoexec.cfg in that same directory and add: exec whatever.cfg | |
// for more info on what weps mean: http://www.hattongames.com/2012/06/how-to-create-custom-buy-binds-for-csgo/ | |
echo "running custom config..." | |
// voice_scale .5 (mute all = 0) | |
// mm aka. match-making | |
// min. 50.000000 max. 350.000000 - Longest preferred ping to dedicated servers for games | |
"mm_dedicated_search_maxping" = "100" |
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'; | |
const { get } = Ember; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
transition: Ember.Object.create({ | |
params: { | |
'dynamicForm.show': { vendor_id: 'WINNER' } | |
} |
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'; | |
import one from '../templates/one'; | |
import two from '../templates/two'; | |
const { get } = Ember; | |
let tpls = {'one': one, 'two': two}; | |
export default Ember.Component.extend({ | |
tpl: null, |
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'; | |
export default Ember.Component.extend({ | |
attributeBindings: ['tabIndex:tabindex'], | |
tabIndex: 123 | |
}); |
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'; | |
export default Ember.Component.extend({ | |
}); |
NewerOlder