Skip to content

Instantly share code, notes, and snippets.

Jeff French jeff-french

Block or report user

Report or block jeff-french

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jeff-french /
Last active Jan 10, 2018
Update all outdated npm packages

To update all packages that are returned by the npm outdated command to their latest version:

$ npm outdated | tail -n +2 | tr -s ' ' | cut -d ' ' -f1 | xargs -I {} npm up {}


npm outdated: Lists all packages installed that are not at their latest version.

jeff-french / build-spec.js
Created Apr 14, 2017
Swagger with merges
View build-spec.js
var resolve = require('json-refs').resolveRefs;
var YAML = require('yaml-js');
var fs = require('fs');
var root = YAML.load(fs.readFileSync('index.yml').toString());
var options = {
filter : ['relative', 'remote'],
loaderOptions : {
processContent : function (res, callback) {
callback(null, YAML.load(res.text));

Keybase proof

I hereby claim:

  • I am jeff-french on github.
  • I am jfrench ( on keybase.
  • I have a public key ASDeIDr2W-uhvt6FtfYkhKZ4o4TXhgwOfrIU0Usfal6-oQo

To claim this, I am signing this object:

  ripple: { 
    options: { 
      path: 'www', 
      keepAlive: true 
var gulp    = require('gulp');  
var replace = require('gulp-replace-task');  
var args    = require('yargs').argv;  
var fs      = require('fs');

gulp.task('replace', function () {  
  // Get the environment from the command line
  var env = args.env || 'localdev';
View config
// localdev.json 

// production.json 
angular.module('coolapp', ['coolapp-constants'])
  .service('backendService', function($http, apiUrl){ 
    //Use the apiUrl variable to make API calls 
angular.module('coolapp', ['coolapp-constants']);
jeff-french /
Last active Nov 23, 2015
Environment Variables in AngularJS and Ionic - 1
  .constant('apiUrl', '@@apiUrl');
jeff-french /
Last active Aug 29, 2015 — forked from jookyboi/
CSS libraries and guides to bring some order to the chaos.


  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.


You can’t perform that action at this time.