🧙♂️
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
from fabric.api import env, run, cd, task, get | |
from fabric.colors import * | |
from time import gmtime, strftime | |
import subprocess, os | |
global tag_time | |
tag_time = strftime("%Y-%m-%d-%H-%M-%S", gmtime()) | |
global www_prod | |
www_prod = '/srv/www' |
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
/* | |
* dr-svg-sprites | |
* | |
* | |
* Copyright (c) 2013 drdk | |
* Licensed under the MIT license. | |
*/ | |
"use strict"; |
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
/*! | |
* ui-select | |
* http://github.com/angular-ui/ui-select | |
* Version: 0.8.3 - 2014-11-26T15:06:34.903Z | |
* License: MIT | |
*/ | |
(function () { | |
"use strict"; |
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
setTimeout( function() { // code for 1st popup goes here }, 500); | |
setTimeout( function() { // code for 2nd popup goes here }, 1000); | |
setTimeout( function() { // code for 3rd popup goes here }, 1500); |
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
<link rel="import" href="../ace-element/ace-element.html"> | |
<link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html"> |
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
angular.module('cropAndUpload', [ | |
'angularFileUpload', | |
'ngImgCrop' | |
]) |
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 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; |
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
/**! | |
* AngularJS file upload/drop directive and service with progress and abort | |
* @author Danial <[email protected]> | |
* @version 4.2.1 | |
*/ | |
(function () { | |
var key, i; | |
function patchXHR(fnName, newFn) { | |
window.XMLHttpRequest.prototype[fnName] = newFn(window.XMLHttpRequest.prototype[fnName]); |
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
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 |
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 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. |