Skip to content

Instantly share code, notes, and snippets.

View davefinster's full-sized avatar

Dave Finster davefinster

  • Google
  • Mountain View, California
View GitHub Profile
@davefinster
davefinster / gist:3847437
Created October 7, 2012 07:37
SmartOS rvm install 1.9.3 --trace Output
@5b507b1f-1951-46bb-bc78-d2436270f8e8 ~/ruby-1.9.3-p194]$ rvm install 1.9.3 --trace
1.9.3 --trace
rvm 1.16.8 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
+ [[ -n '' ]]
+ set -o errtrace
+ export 'PS4=+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ /scripts/cli : __rvm_parse_args() 716 > [[ -z install ]]
@davefinster
davefinster / Cleanup
Created October 16, 2012 06:26
RVM AWK Issues on SmartOS
[admin@steve ~]$ rvmsudo rvm cleanup all
awk: syntax error near line 1
awk: bailing out near line 1
grep: illegal option -- E
Usage: grep [-c|-l|-q] -hbnsviw pattern file . . .
Cleaning up rvm archives
Cleaning up rvm repos
Cleaning up rvm src
Cleaning up rvm log
Cleaning up rvm tmp
@davefinster
davefinster / .bash_profile
Created October 17, 2012 00:55
Profile files post RVM installation
[ -f ~/.profile ] && source ~/.profile
[ -f ~/.bashrc ] && source ~/.bashrc
#!/bin/bash
#install a set of pre-req packages
sudo pkgin in build-essential git libX11 xproto xcb-proto xextproto inputproto checkperms renderproto libtool nbpatch kbproto xproto xcb-proto xextproto inputproto xineramaproto dri2proto glproto damageproto fixesproto xf86vidmodeproto xf86driproto randrproto freetype2 ghostscript libXrender urw-fonts libiconv libdrm
#clone from development
git clone --recursive https://github.com/wkhtmltopdf/wkhtmltopdf.git
cd wkhtmltopdf
cd qt
#fetch the set of patches
VNICState {
VLANClientState vns_nc = {
NetClientInfo *info = qemu-system-x86_64`net_vnic_info
int link_down = 0
struct next = {
struct VLANClientState *tqe_next = 0x101121f70
struct VLANClientState **tqe_prev = 0xf64508
}
struct VLANState *vlan = 0xf64500
VLANClientState *peer = 0
Load command 0
cmd LC_SEGMENT_64
cmdsize 72
segname __PAGEZERO
vmaddr 0x0000000000000000
vmsize 0x0000000100000000
fileoff 0
filesize 0
maxprot 0x00000000
initprot 0x00000000
{
"v": 2,
"uuid": "bf816828-2862-4e9d-8c4a-e22372b83f53",
"owner": "930896af-bf8c-48d4-885c-6573a94b1853",
"name": "windows-2012-r2-std",
"version": "20151116",
"state": "active",
"disabled": false,
"public": true,
"type": "zvol",
bed7db52-7dfe-11e5-8c49-07d2eb7642ee amon release-20151029-20151029T052637Z-g7aa462f I smartos 2015-10-29T05:34:05Z
90a3d9ec-7dff-11e5-a79c-f3d5392bad8c amonredis release-20151029-20151029T053744Z-g4bbca77 I smartos 2015-10-29T05:40:08Z
ef8935e2-7dff-11e5-9929-43ce928c6035 sdc-postgres release-20151029-20151029T053755Z-gaf20bc7 I smartos 2015-10-29T05:42:11Z
f68302c4-7dff-11e5-bd14-53043969142d redis release-20151029-20151029T054052Z-g0d6e5b9 I smartos 2015-10-29T05:43:01Z
6124aa88-7e00-11e5-87b1-67f7897d7bed manta-nameservice release-20151029-20151029T053904Z-g1d17fc1 I smartos 2015-10-29T05:44:43Z
5359aa84-7e00-11e5-9027-87e0f4cc9ecd assets release-20151029-20151029T054342Z-g7c6c02e I smartos 2015-10-29T05:45:43Z
7e0ae89c-7e00-11e5-8a63-0b2f57660143 ufds release-20151029-20151029T054004Z-g7f31528 I smartos 2015-10-29T05:46:55Z
a1bd02a2-7e00-11e5-af48-cfd6a894278a fwapi r
8405d3c4-83f0-11e5-b676-8310425bb366 amon master-20151105T190005Z-g7aa462f I smartos 2015-11-05T19:07:31Z
4674b646-83f1-11e5-808a-ab67cadfd5b3 amonredis master-20151105T191031Z-g4bbca77 I smartos 2015-11-05T19:13:06Z
0148e442-83f2-11e5-80ec-1b732d5c2f99 manta-nameservice master-20151105T191044Z-g1d17fc1 I smartos 2015-11-05T19:16:31Z
cd2d08a0-83f1-11e5-8684-f383641a9854 assets master-20151105T191440Z-g7c6c02e I smartos 2015-11-05T19:16:56Z
de0a7eaa-83f1-11e5-9472-737952a0bba1 redis master-20151105T191504Z-g0d6e5b9 I smartos 2015-11-05T19:17:20Z
3dbd8c16-83f2-11e5-9d9a-67c164af795f ufds master-20151105T191331Z-g7f31528 I smartos 2015-11-05T19:19:38Z
4dac60de-83f2-11e5-a89a-cf321a773951 cnapi master-20151105T191451Z-g1b10189 I smartos 2015-11-05T19:20:08Z
61d065ec-83f2-11e5-95b8-33620b4fcb49 fwapi m
f6360ebc-8901-11e5-ba99-6bdb6d58c2ff amon release-20151112-20151112T054657Z-g7aa462f I smartos 2015-11-12T05:54:38Z
c9c33a02-8902-11e5-b575-67d8702073d6 redis release-20151112-20151112T055828Z-g0d6e5b9 I smartos 2015-11-12T06:01:04Z
ca483cfc-8902-11e5-b833-933f683a721e amonredis release-20151112-20151112T055849Z-g4bbca77 I smartos 2015-11-12T06:01:07Z
0864a534-8903-11e5-ae1b-b7a29fc73282 rabbitmq release-20151112-20151112T055838Z-gb1ad38d I smartos 2015-11-12T06:01:34Z
14d25e9c-8903-11e5-a6c3-fb40660505ba papi release-20151112-20151112T055911Z-g115b46f I smartos 2015-11-12T06:02:58Z
41110526-8903-11e5-b526-4fea9c94c3ae workflow release-20151112-20151112T060006Z-gda166cf I smartos 2015-11-12T06:04:25Z
53e52e3e-8903-11e5-8e72-6f005262cfa8 ufds release-20151112-20151112T055850Z-g7f31528 I smartos 2015-11-12T06:04:51Z
8cd6cd38-8903-11e5-9d51