- Allows us to pick and choose parts of boostrap more easily
- Allows us to keep bs3 specific classes out of html
- Easier to create ng2 components
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
const aws = require('aws-sdk'); | |
const dynamoDB = new aws.DynamoDB({ | |
region: 'us-east-1' | |
}); | |
const tableName = 'benefitPlans-test'; | |
const k = (lastEvaluatedKey) => { | |
const awsParams = { | |
TableName: tableName, |
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
'use strict'; | |
const Hapi = require('hapi'); // a very happy server | |
const config = require('./config'); // application configuration | |
const monitor = require('./monitor'); // Monitoring, logging | |
const api = require('./api'); // REST API | |
// get me a new happi server | |
const server = new Hapi.Server(); | |
server.connection({ routes: { cors: true } }); |
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
'use strict'; | |
//var pattern = /\bbox(?:\b$|([\s|\-]+)?[0-9]+)|(p[\-\.\s]?o.?[\-\s]?|post office\s)b(\.|ox)?/i; | |
var pattern = /\bbox(?:\b$|([\s|\-]+)?[0-9]+)|(p[\-\.\s]*o[\-\.\s]*|(post office|post)\s)b(\.|ox|in)?\b|(^p[\.]?(o|b)[\.]?$)/i; | |
console.log('---- Checking invalid addresses ---'); | |
var invalid = [ | |
'po box', | |
'p.o.b.', |
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
sudo yum update -y | |
curl -fsSL https://get.docker.com/ | sh | |
sudo usermod -aG docker your-user | |
sudo service docker start | |
sudo chkconfig docker on | |
curl --silent --location https://rpm.nodesource.com/setup_5.x | bash - | |
yum -y install nodejs gcc-c++ make git |
The following guidelines for style development are intended to be flexible enough to cover most of our development, but are not set in stone. They provide a starting point for a common development pattern throughout the organization and our constantly evolving to meet the needs of new projects, technology, and team dynamics.
Although we borrow heavily from concepts such as ITCSS and SMACSS, this guideline is also influenced by Bootstrap (which we base our styles on top off) and concepts from OOCSS and BEM.
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
<html> | |
<head> | |
<style> | |
.input-terms { | |
display:block; | |
padding: 7px 3px; | |
margin-bottom: 10px; | |
width: 80%; | |
display: none; |
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
// this is your contacts form code | |
public class ContactsView { | |
private Service _service; | |
private Contact _contact; | |
public ContactsView(){ | |
_service = new Service(); | |
} | |
public void loadContact(int contactId){ |
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
angular.module('ofs.session', []) | |
.factory('ofsSession', ofsSession); | |
function ofsSession($rootScope, $interval, $document) { | |
var _options = { | |
idle: 10, | |
timeout: 10, | |
interrupt: 'mousemove keydown DOMMouseScroll mousewheel mousedown touchstart touchmove scroll' | |
}; | |
var _onStateChanged = null; |