$ yarn cache clean
$ find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
/* jshint node:true */ | |
/* eslint-env node */ | |
/* | |
* This will look at the current version of all of your dependencies and update your package.json | |
* with the specific version that you currently have in node_modules. This will save you from the | |
* sadness that is: DEPENDENCY MANAGEMENT | |
* | |
* Place this file at the same level as your package.json and node_modules | |
* Then simply run: node ./package-strict |
var gulp = require('gulp'); | |
var source = require('vinyl-source-stream'); // Used to stream bundle for further handling | |
var browserify = require('browserify'); | |
var watchify = require('watchify'); | |
var reactify = require('reactify'); | |
var concat = require('gulp-concat'); | |
gulp.task('browserify', function() { | |
var bundler = browserify({ | |
entries: ['./app/main.js'], // Only need initial file, browserify finds the deps |
// npm install | |
// Require dependencies | |
// set up git hooks | |
// set up jshint | |
// register Task |
gulp.task('browserify-js', function () { | |
var browserify = require('browserify'); | |
var source = require('vinyl-source-stream'); | |
var buffer = require('vinyl-buffer'); | |
var globby = require('globby'); | |
var through = require('through2'); | |
var uglify = require('gulp-uglify'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var reactify = require('reactify'); | |
var gutil = require('gulp-util'); |
// 1. Get default Gateway | |
$ netstat -rn | grep "default" | |
// 2. Start VPN | |
// 3. Run Command after replacing <my_default_gateway> | |
$ sudo route -nv add -net 10 -interface ppp0 && sudo route change default <my_default_gateway> |
var App = window.App || { | |
beacon: $('.beacon').css('width'), | |
// Store the beacon Value | |
lastBeacon: this.beacon, | |
init: function () { | |
// Fire the initial functions for first screen size | |
this.getBeacon(this.beacon); |
var fx = function (arg1, arg2) { | |
console.log("___________________________________________"); | |
console.log(this.use); | |
console.log(arg1, arg2); | |
console.log("___________________________________________"); | |
}; | |
var callObj = { | |
use: "Using Call" | |
}; |
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */ | |
/** | |
* 1. Set default font family to sans-serif. | |
* 2. Prevent iOS text size adjust after orientation change, without disabling | |
* user zoom. | |
*/ | |
* | |
box-sizing border-box |
$beccapurple: #663399; | |
$turquoise: #1abc9c; | |
$greenSea: #16a085; | |
$emerland: #2ecc71; | |
$nephritis: #27ae60; | |
$peterRiver: #3498db; | |
$belizeHole: #2980b9; | |
$amethyst: #9b59b6; | |
$wisteria: #8e44ad; | |
$wetAsphalt: #34495e; |