- AngularJS
- AutoFileName
- BracketHighlighter
- ColorHighlighter
- DocBlockr
- Emmet
- ES6
- GitGutter
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
Show hidden characters
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/User/Seti (SL).tmTheme", | |
"detect_indentation": false, | |
"fade_fold_buttons": false, | |
"font_options": | |
[ | |
"gray_antialias" | |
], |
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
#PATHs | |
export JAVA_HOME=$(/usr/libexec/java_home -v 1.7.0_72) | |
export PATH="$JAVA_HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH" | |
export JYTHON_HOME=/Users/phonghuynh/jython2.5.3 | |
export PATH=$JYTHON_HOME/bin:$PATH | |
# Java Environments | |
alias setJdk6='export JAVA_HOME=$(/usr/libexec/java_home -v 1.6)' | |
alias setJdk7='export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)' |
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
// TODO: Add comments | |
var GRID_BASE = 8, | |
ySize = parseInt(scope.ysize), | |
xSize = parseInt(scope.xsize), | |
startPosition = parseInt(scope.startposition), | |
quadrantArea = [], | |
yStartPosition = Math.floor(startPosition / GRID_BASE), | |
xStartPosition = startPosition % GRID_BASE; | |
for (i = 0; i < ySize; i++) { |
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 moduleName = (function($, window, document) { | |
'use strict'; | |
var moduleName = { | |
init: { | |
} | |
}; | |
return moduleName; |
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 revealingModuleName = (function() { | |
'use strict'; | |
function methodName() { | |
} | |
return { | |
methodName:methodName | |
}; |
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(namespace) { | |
'use strict'; | |
})(window.namespace = window.namespace || {}); |
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
describe('Home Page', function () { | |
var controller; | |
beforeEach(module('app.home')); | |
beforeEach(inject(function ($controller) { | |
controller = $controller; | |
controller = $controller('HomeController', {}); | |
})); |
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
// Usage: getNumberOfBusinessDaysInMonth(moment(), moment().daysInMonth()); | |
function getNumberOfBusinessDaysInMonth(date, days) { | |
var date = moment(date).startOf('month'); | |
var numberOfBusinessDays = 0; | |
while (days > 0) { | |
date = date.add(1, 'days'); | |
if (date.isoWeekday() !== 7 && date.isoWeekday() !== 1) { | |
numberOfBusinessDays += 1; | |
} |
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 { Component } from '@angular/core'; | |
import { Location } from '@angular/common'; | |
import { Router } from '@angular/router'; | |
import { RouterTestingModule } from '@angular/router/testing'; | |
import { async, inject, TestBed } from '@angular/core/testing'; | |
import { App } from './app.component'; | |
@Component({ | |
template: '' |
OlderNewer