create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Angular JS</title> | |
| </head> | |
| <body ng-app="jsbin"> | |
| <div ng-controller="DemoCtrl as demo"> | |
| <h1>Hello {{demo.name}}</h1> | |
| </div> |
| function formatDuration (seconds) { | |
| return [60, 3600, 86400, 31536000] | |
| .reduceRight(function (results, current) { | |
| var seconds = results.pop(); | |
| results.push(Math.floor(seconds / current)); | |
| results.push(seconds - results[results.length - 1] * current); | |
| return results; | |
| }, [seconds]) | |
| .map(function (value, index) { | |
| var words = ['year', 'day', 'hour', 'minute', 'second']; |
| angular.module('stateMock',[]); | |
| angular.module('stateMock').service("$state", function($q){ | |
| this.expectedTransitions = []; | |
| this.transitionTo = function(stateName){ | |
| if(this.expectedTransitions.length > 0){ | |
| var expectedState = this.expectedTransitions.shift(); | |
| if(expectedState !== stateName){ | |
| throw Error("Expected transition to state: " + expectedState + " but transitioned to " + stateName ); | |
| } | |
| }else{ |
| #/usr/bin/env bash | |
| # MIT © Sindre Sorhus - sindresorhus.com | |
| # forked by Gianluca Guarini | |
| changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
| check_run() { | |
| echo "$changed_files" | grep -E --quiet "$1" && eval "$2" | |
| } |
| #!/bin/sh | |
| echo "[post-rewrite hook: $1]" | |
| # by noahgrant & digitaljhelms | |
| # | |
| # quick script to call "bower install" and "npm install" automatically if | |
| # bower.json or package.json are changed, respectively | |
| # | |
| # this assumes one top-level file for each |
| // Add the following to your preferences file | |
| "folder_exclude_patterns":[".git","node_modules"] |
| // add a new object | |
| var type = 'note'; | |
| var attributes = {color: 'red'}; | |
| store.add(type, attributes) | |
| .done(function (newObject) {}); | |
| .fail(function (error) {}); | |
| // update an existing object | |
| var type = 'note'; | |
| var id = 'abc4567'; |
| define(function(require) { | |
| var system = require('../system'); | |
| var animationTypes = [ | |
| 'bounce', | |
| 'bounceIn', | |
| 'bounceInDown', | |
| 'bounceInLeft', | |
| 'bounceInRight', | |
| 'bounceInUp', |
| #!/bin/bash | |
| while : | |
| do | |
| clear | |
| git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $* | |
| sleep 1 | |
| done |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"