Skip to content

Instantly share code, notes, and snippets.

Avatar

Ryan Thornton rythornton

View GitHub Profile
@rythornton
rythornton / 0_reuse_code.js
Created Sep 6, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View gist:7865360
~ # cat /etc/rc.local.d/local.sh
#!/bin/sh
# local configuration options
# Note: modify at your own risk! If you do/use anything in this
# script that is not part of a stable API (relying on files to be in
# specific places, specific tools, specific output, etc) there is a
# possibility you will end up with a broken system after patching or
# upgrading. Changes are not supported unless under direction of
View gist:7017947
root@cordelia:/home/ry# zdb -l /dev/cordelia/cvol1
--------------------------------------------
LABEL 0
--------------------------------------------
version: 5000
name: 'zvol1'
state: 0
txg: 5918
pool_guid: 1343314561875621090
hostname: 'cordelia'