Skip to content

Instantly share code, notes, and snippets.

View noyobo's full-sized avatar
💭
I may be slow to respond.

noyobo noyobo

💭
I may be slow to respond.
  • Tuya
  • Hangzhou China
View GitHub Profile

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@noyobo
noyobo / RotateKeynoteDocumentDroplet
Last active August 29, 2015 14:26 — forked from ericallam/RotateKeynoteDocumentDroplet
Rotate Keynote Document for use as an app Prototype
// Open Script Editor and Export this as an Application
//
// Then drop a keynote file on it in the Finder and it will properly resize
// and rotate everything so the Keynote file becomes usable as a prototype
// in the iPhone keynote app
// rotateDocument exported function
//
// Accepts a Keynote document and will rotate
// all the slides and elements in the slide 90 degrees
@noyobo
noyobo / background-toggle.js
Created November 24, 2015 07:20 — forked from jugglinmike/background-toggle.js
Chrome User-Agent String Modification
var listenerIsActive = true,
requestFilter = {
urls: [ "<all_urls>" ]
},
extraInfoSpec = ['requestHeaders','blocking'],
handler = function( details ) {
var headers = details.requestHeaders,
blockingResponse = {};
@noyobo
noyobo / gist:875ac171083195198462d883e5acde37
Created June 4, 2016 17:46 — forked from JeffreyWay/gist:1525217
Instant Server for Current Directory
alias server='open http://localhost:8000 && python -m SimpleHTTPServer'