Skip to content

Instantly share code, notes, and snippets.

View brianfeister's full-sized avatar
🧙‍♂️

Brian Feister brianfeister

🧙‍♂️
View GitHub Profile

1 Azor's Gateway 2 Niv-Mizzet, Parun 2 Search for Azcanta 2 Seal Away 3 Chemister's Insight 1 Essence Scatter 3 Expansion // Explosion 2 Justice Strike 4 Sinister Sabotage 3 Syncopate

1 Azor's Gateway
2 Niv-Mizzet, Parun
2 Search for Azcanta
2 Seal Away
3 Chemister's Insight
1 Essence Scatter
3 Expansion // Explosion
2 Justice Strike
4 Sinister Sabotage
3 Syncopate
1 Azor's Gateway
2 Niv-Mizzet, Parun
2 Search for Azcanta
2 Seal Away
3 Chemister's Insight
1 Essence Scatter
3 Expansion // Explosion
2 Justice Strike
4 Sinister Sabotage
3 Syncopate
window.allowHttpFromHttps = true;
@brianfeister
brianfeister / feats.yml
Last active November 4, 2016 04:38
Example YML formatting
- !
name: Alternate Form (I - III)
prerequisite:
- tier1:
- Attribute:
- Alteration: 2
- Feat:
- Some Other Feat Name
- tier2:
- Attribute:
var fs = require('fs');
var readline = require('readline');
var google = require('googleapis');
var googleAuth = require('google-auth-library');
var SCOPES = ['https://www.googleapis.com/auth/drive'];
var TOKEN_DIR = (process.env.HOME || process.env.HOMEPATH ||
process.env.USERPROFILE) + '/.credentials/';
var TOKEN_PATH = TOKEN_DIR + 'drive-nodejs-quickstart.json';
// Load client secrets from a local file.
@brianfeister
brianfeister / gist:d6d33d6c6f4eaa4cb272
Created January 14, 2016 00:14
Sphere BB8 Lessons Learned
Main repo for node module - https://github.com/orbotix/sphero.js
Connecting via Bluetooth to your Mac (1st time) - https://sphero.zendesk.com/hc/en-us/articles/204392360-My-Sphero-is-Glowing-Blue-White-and-Won-t-Connect-to-my-Device
/**!
* AngularJS file upload/drop directive and service with progress and abort
* @author Danial <danial.farid@gmail.com>
* @version 4.2.1
*/
(function () {
var key, i;
function patchXHR(fnName, newFn) {
window.XMLHttpRequest.prototype[fnName] = newFn(window.XMLHttpRequest.prototype[fnName]);
'use strict';
var app = angular.module('demo', ['ngSanitize', 'ui.select']);
app.controller('DemoCtrl', function($scope, $http, $timeout) {
$scope.disabled = undefined;
$scope.searchEnabled = undefined;
$scope.enable = function() {
$scope.disabled = false;
@brianfeister
brianfeister / app.js
Last active May 27, 2020 02:37
Angular Upload with Image Crop
angular.module('cropAndUpload', [
'angularFileUpload',
'ngImgCrop'
])