This file contains hidden or 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 Rx = require('rxjs'); | |
| var firebase = require('firebase'); | |
| firebase.initializeApp({ | |
| "databaseURL": "https://quiver-two.firebaseio.com", | |
| "serviceAccount": "./service-account.json" | |
| }); | |
| var ref = firebase.database().ref('rxjs-demo'); | |
| Rx.Observable.fromPromise(ref.remove()) | |
| .map(function () { |
This file contains hidden or 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
| package main | |
| import ( | |
| "net/http" | |
| "database/sql" | |
| "fmt" | |
| "log" | |
| "os" | |
| ) |
This file contains hidden or 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 gulp = require( 'gulp' ), | |
| gutil = require( 'gulp-util' ), | |
| fork = require( 'child_process' ).fork, | |
| tinyLr = require( 'tiny-lr' ), | |
| async = require( 'async' ); | |
| var dirs = { | |
| app: [ |
This file contains hidden or 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
| // Requires jQuery from http://jquery.com/ | |
| // and jQuerySparklines from http://omnipotent.net/jquery.sparkline | |
| // AngularJS directives for jquery sparkline | |
| angular.module('sparkline', []); | |
| angular.module('sparkline') | |
| .directive('jqSparkline', [function () { | |
| 'use strict'; | |
| return { |
This file contains hidden or 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
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
NewerOlder