class Account
attr_accessor :balance
def initialize(balance)
self.balance = balance
Twitter on #WDIFINAL #WDI @GA @dmgarland @C_Trom
- UX UI
- Cucumber
@nycsw #SWNYC
- Scroll kit @CodyBrown
- Ask about Google Developers
- Grazor P2P dining
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
function vpause () { | |
VBoxManage list vms | grep "$1" | cut -d' ' -f1 | tr -d '"\n ' | xargs -0 -I BOX VBoxManage controlvm BOX pause | |
} | |
function vresume () { | |
VBoxManage list vms | grep "$1" | cut -d' ' -f1 | tr -d '"\n ' | xargs -0 -I BOX VBoxManage controlvm BOX resume | |
} | |
function vrunning () { |
Now you can use a new feature of JSX called spread attributes:
var props = {}; props.foo = x;
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
# Learning Git, Github, and Atom text Editor | |
### Git | |
First of all you will need git, you can download it here [git](http://git-scm.com/) | |
The following are some resources that will help you understand some of the git commands that you may use quite often | |
* [git docs](http://git-scm.com/documentation) | |
* [git cheat sheet](http://www.git-tower.com/blog/git-cheat-sheet-detail/) | |
* [Interactive git cheat sheet](http://ndpsoftware.com/git-cheatsheet.html) <- I used this one a lot to learn a lto of my git foo! | |
* [list of videos by github](https://training.github.com/resources/videos/) | |
* [Top 10 Git Tutorials for Beginners](http://sixrevisions.com/resources/git-tutorials-beginners/) |
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
var LineItemDetailContainer = React.createClass({ | |
displayName: 'LineItemDetailContainer', | |
mixins: [FluxMixin], | |
propTypes: { | |
/** | |
* lineItemId that we are displaying the |
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
/** | |
* @file Status toggle mixin | |
*/ | |
var _ = require('lodash'); | |
var config = require('../../../shared/config'); | |
var Api = require('../../../shared/lib/api')(config()); | |
var authToken = window.authToken; |
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
/** | |
* @file React Component for Status | |
*/ | |
var React = require('react'); | |
var _ = require('lodash'); | |
var config = require('../../../shared/config'); | |
var Api = require('../../../shared/lib/api')(config()); | |
var StatusMixin = require('../mixins/statusToggleMixin'); |
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
<Route name="resourceList" path="/list/:resourceType" handler={AdminList} /> | |
{/* may need nested route for tab Selections */} | |
<Route name="details" path="details" > | |
<Route name="companies" path=":resourceType" > | |
<Route name="companyId" path=":resourceId" > | |
<Route name="resourceDetail" path=":detailTab" handler={AdminDetails} > | |
<Route name="createBrand" path="/create/brand" handler={AdminCreateBrand} /> | |
</Route> | |
</Route> |
OlderNewer