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
| <body ng-app> | |
| .... | |
| </body> |
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
| ffmpeg -i video_name.mp4 -r 2.0 output_%04d.png |
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
| var input = 89, | |
| quarterCount = 0, | |
| dimeCount = 0, | |
| nickleCount = 0, | |
| plural = ''; | |
| if (input > 99 || input < 1) { | |
| console.log('Invalid amount, please select a value between (1-99)'); | |
| }else{ | |
| while(input >= 25){ |
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
| var grid = initGrid(30, 30); | |
| printGrid(grid); | |
| startGame(); | |
| function startGame() { | |
| (function generation(generations) { | |
| setTimeout(function() { | |
| var tempGrid = initGrid(30, 30); |
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
| var grid = initGrid(30, 30, 10); | |
| printGrid(grid); | |
| startGame(); | |
| function startGame() { | |
| (function generation(generations) { | |
| setTimeout(function() { | |
| var tempGrid = initGrid(30, 30, 10); |
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
| ⌘⇧E Open working files list | |
| CTRL+TAB Iterates over windows | |
| ⌘ + B selects multiple items |
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
| var eValue = 0; | |
| for(var i=0; i< Infinity; i++){ | |
| if(i==18) break; | |
| var fact = 1; | |
| for(var j=1; j<= i; j++){ | |
| fact = fact * j; | |
| } | |
| eValue += (1/fact); | |
| } | |
| console.log(eValue); |
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
| /* Animal */ | |
| var Animal = function () { | |
| var name, | |
| type; | |
| }; | |
| Animal.prototype.toString = function (type, location) { | |
| return "A " + type + " moves along the " + location; | |
| }; |
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
| #Mounting the share is a 2 stage process: | |
| # 1. Create a directory that will be the mount point | |
| # 2. Mount the share to that directory | |
| #Create the mount point: | |
| mkdir share_name | |
| #Mount the share: | |
| mount_smbfs //username:[email protected]/share_name share_name/ |
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
| mkdir channel && cd channel | |
| npm init | |
| git init | |
| echo "node_modules" >> .gitignore | |
| echo "*.xml" >> .gitignore | |
| npm install xml2js --save | |
| vim app.js |