Skip to content

Instantly share code, notes, and snippets.

View duoluo's full-sized avatar

tinywright duoluo

View GitHub Profile
@duoluo
duoluo / set-wallpaper.sh
Created December 23, 2016 10:30 — forked from willurd/ set-wallpaper.sh
Set the Desktop Background for all of your open Spaces in Mountain Lion
read -e IMAGE;
defaults write com.apple.desktop Background "{default = {ImageFilePath='$IMAGE'; };}"
killall Dock
@duoluo
duoluo / 0_reuse_code.js
Created June 24, 2016 05:50
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console