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 rebels = ['Wedge', 'Leia', 'Luke', 'Han']; | |
for (var i = 0; i < rebels.length; i ++) { | |
if (rebels[i] === 'Luke') { | |
console.log('I have you now.'); | |
} | |
} |
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
app.js | |
/controllers | |
dashboard.controller.js | |
profile.controller.js | |
/directives | |
modal.directive.js | |
/services | |
api.serivce.js | |
/views | |
dashboard.html |
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
app.module.js | |
/components | |
/dashboard | |
dashboard.controller.js | |
dashboard.html | |
/profile | |
profile.controller.js | |
profile.html | |
/shared | |
/modal |
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
/project | |
app.module.js | |
/dashboard-app | |
dashboard.module.js | |
dashboard.controller.js | |
dashboard.controller.spec.js | |
dashboard.html | |
/profile-app | |
profile.module.js | |
profile.controller.js |
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
$urlRouterProvider.otherwise('/'); | |
$stateProvider | |
.state('dashboard', { | |
url: '/', | |
templateUrl: 'dashboard-app/dashboard.html?cache-bust="' + cacheBusterProvider.tag() + '"', | |
controller: 'DashboardController', | |
controllerAs: 'vm', | |
resolve: { | |
data: function(authService) { |
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
# the following two lines give a two-line status, with the current window highlighted | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
# huge scrollback buffer | |
defscrollback 5000 | |
# no welcome message | |
startup_message off |
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() { | |
'use strict'; | |
function scheduleFactory($log, $q, events) { | |
/* | |
* NOTE: This method organizes the list of event data | |
* into a nested list for schedule iteration. | |
* Days > Times > Events |
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
#!/bin/bash | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash | |
export NVM_DIR="/Users/$USER/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
nvm --version | |
nvm install | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
export PATH="$PATH:`yarn global bin`" | |
yarn --version |
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
{ | |
"name": "TSheets_Frontend", | |
"version": "0.1.0", | |
"private": true, | |
"homepage": "https://www.tsheets.com", | |
"devDependencies": { | |
"autoprefixer": "6.5.1", | |
"babel-core": "6.17.0", | |
"babel-eslint": "7.1.1", | |
"babel-jest": "17.0.2", |
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
// Cron info | |
// Open cron | |
// crontab -e | |
// | |
// Pattern Every 5 minutes | |
// */5 * * * command | |
// | |
// list crons | |
// crontab -l |
OlderNewer