Skip to content

Instantly share code, notes, and snippets.

(function () {
angular
.module('app.constants', []);
.constants({
GENERAL_CONFIG: {
API_URL: 'http://192.168.99.100:3000/'
}
});
)();
/**
* Generic Gulpfile for building small AngularJS modules. This does the *very minimum*
* amount of work to get a module to build.
* npm install --save-dev gulp gulp-concat gulp-uglify del babel babel-preset-es2015 gulp-babel
*/
var gulp = require('gulp');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var config = require('./package.json');
var del = require('del');
@corinna000
corinna000 / gist:5a79095f3165b7668969
Last active April 26, 2016 21:18
Introduction to RxJS talk notes and outline

#Introduction to RxJS

Presented by Corinna Cohn February 17, 2016, IndyJS

##JavaScript is Asynchronous

JavaScript has an execution stack. Events are added to the stack and are executed in the stack order.

Callbacks for setTimeout, AJAX calls, or DOM events can happen at pretty much any time.

@corinna000
corinna000 / unsuck-twitter.js
Last active September 8, 2019 13:45
Tampermonkey script to unsuck Twitter
// ==UserScript==
// @name Unsuck Twitter
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://twitter.com/
// @grant none
// ==/UserScript==
/* jshint -W097 */
@corinna000
corinna000 / Gulpfile.js
Last active September 8, 2015 20:45
Essential Gulpfile.js for Angular module development
/**
* Generic Gulpfile for building small AngularJS modules. This does the *very minimum*
* amount of work to get a module to build.
* npm install --save-dev gulp gulp-concat gulp-ng-annotate gulp-uglify del
*/
var gulp = require('gulp');
var concat = require('gulp-concat');
var annotate = require('gulp-ng-annotate');
var uglify = require('gulp-uglify');
var config = require('./package.json');
'use strict';
var World, chai, browser, path, webdriver, After;
chai = require('chai');
path = require('path');
webdriver = require('selenium-webdriver');
browser = new webdriver.Builder().usingServer(process.env.SELENIUM_HUB).withCapabilities(webdriver.Capabilities.firefox()).build();
browser.manage().timeouts().setScriptTimeout(10000);