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
| because Ember extends the function prototype to provide the property and observes keywords, you can’t use the fat arrow with a property or observes declaration. For those, you’ll still need to use the function keyword. |
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
| #!/bin/sh | |
| # lazy tmux start =D | |
| PROJECT_DIR = 'Projects/app-clasificados/' | |
| tmux new-session -d -s worksession | |
| tmux rename-window 'worksession' | |
| #load vagrant | |
| tmux send-keys 'cd Projects/app-clasificados/' 'C-m' | |
| #tmux send-keys 'vagrant up' 'C-m' | |
| #tmux send-keys 'vagrant ssh' 'C-m' |
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
Show hidden characters
| /** | |
| * Airbnb JSHint settings for use with SublimeLinter and Sublime Text 2. | |
| * | |
| * 1. Install SublimeLinter at https://github.com/SublimeLinter/SublimeLinter | |
| * 2. Open user preferences for the SublimeLinter package in Sublime Text 2 | |
| * * For Mac OS X go to _Sublime Text 2_ > _Preferences_ > _Package Settings_ > _SublimeLinter_ > _Settings - User_ | |
| * 3. Paste the contents of this file into your settings file | |
| * 4. Save the settings file | |
| * | |
| * @version 0.3.0 |
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
| /* jshint node: true */ | |
| module.exports = function (environment) { | |
| var ENV = { | |
| modulePrefix: 'nitrous', | |
| environment: environment, | |
| baseURL: '/', | |
| locationType: 'hash', | |
| EmberENV: { | |
| FEATURES: { |
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
| checkbox.prop('checked', !checkbox.prop('checked')); |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| function fish_prompt | |
| set_color $fish_color_cwd | |
| # echo -n (prompt_pwd) | |
| if test "$PWD" != "$HOME" | |
| printf "%s" (echo $PWD|sed -e 's|/private||' -e "s|^$HOME|~|") | |
| else | |
| echo '~' | |
| end | |
| set_color normal | |
| echo |
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
| data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/coffe");</script> |
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 init | |
| rvm gemset create gemsetname | |
| rvm gemset use gemsetname | |
| rvm gemset list | |
| gem install rails --no-rdoc --no-ri | |
| gem install bundler | |
| rails new appname | |
| bundler init | |
| echo "2.1.1" > .ruby-gemset | |
| echo "gemsetName" > .ruby-version |
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
| <!doctype html> | |
| <html ng-app="myApp"> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js"></script> | |
| <script type="text/javascript"> | |
| var myApp = angular.module('myApp', [], function ($interpolateProvider) { | |
| $interpolateProvider.startSymbol('[['); | |
| $interpolateProvider.endSymbol(']]'); | |
| }); |
NewerOlder