Skip to content

Instantly share code, notes, and snippets.

View visualphoenix's full-sized avatar

Raymond Barbiero visualphoenix

View GitHub Profile
@visualphoenix
visualphoenix / docker-machine-setup.sh
Created September 1, 2021 15:04
docker-machine setup for mac with nfs and vmware
#!/bin/bash
#
# the following functions can be used to provision, or reprovision docker-machine as a replacement for docker-for-mac
# it has only been tested with vmware on osx catalina
#
# it assumes the following has already been run:
# brew install docker-machine docker
#
get-interface-ip-from-ip-route() {
@visualphoenix
visualphoenix / keybase.md
Created November 17, 2016 21:12
Keybase

Keybase proof

I hereby claim:

  • I am visualphoenix on github.
  • I am visualphoenix (https://keybase.io/visualphoenix) on keybase.
  • I have a public key ASCRMOEYx4LemMvgfz2_1Q6DXY0HLf-croXylguJCrz0pAo

To claim this, I am signing this object:

@visualphoenix
visualphoenix / gist:9dd5bb8fed6d818e55c7
Last active August 29, 2015 14:24
Inline Reddit Images/Gifv/Youtube/Videos Imgur/Youtube/Gifv Bookmarklet
javascript: (function () {
var things = document.querySelectorAll("div.thing");
for (var j = things.length - 1; j >= 0; j--) {
var thing = things[j]
, entry = thing.querySelectorAll("div.entry")[0]
, thumb = thing.querySelectorAll("a.thumbnail")[0]
, title = thing.querySelectorAll("a.title")[0];
if (thumb || !thumb && title) {
var href = thumb && thumb.href || title.href;
href = href.replace(/^http:\/\//i, 'https://');
@visualphoenix
visualphoenix / gist:19cb0f738aedf0016f12
Created September 14, 2014 00:16
elliptics master issue
2014-09-13 23:51:36.686787 0000000000000000/4839/2574 DEBUG: 1:900000000000...6325874a97cb: INDEXES_FIND: sending -> 127.0.0.1:25109: trans: 310, size: 1004, cflags: 0x1 [need_ack], finish-sent: 1124/1124., attrs: []
2014-09-13 23:51:36.686820 0000000000000000/4839/2574 DEBUG: 1:a00000000000...6325874a97cb: INDEXES_FIND: sending -> 127.0.0.1:25109: trans: 311, size: 5020, cflags: 0x1 [need_ack], start-sent: 0/5140., attrs: []
2014-09-13 23:51:36.686849 0000000000000000/4839/2574 DEBUG: 127.0.0.1:25109: 1:a00000000000...6325874a97cb: SENT blocking cmd: INDEXES_FIND: cmd-size: 5020, nonblocking: 0, attrs: []
2014-09-13 23:51:36.686869 0000000000000000/4839/2574 DEBUG: 1:a00000000000...6325874a97cb: INDEXES_FIND: sending -> 127.0.0.1:25109: trans: 311, size: 5020, cflags: 0x1 [need_ack], finish-sent: 5140/5140., attrs: []
2014-09-13 23:51:36.686902 0000000000000000/4839/2574 DEBUG: 1:000000000000...6325874a97cb: INDEXES_FIND: sending -> 127.0.0.1:61038: trans: 304, size: 1004, cflags: 0x1 [need_ack], start-sent:
2014-09-12 23:25:02.771118 0/2232/2232 : BULK_READ, callback: 0x1570c80, ios.size: 100
2014-09-12 23:25:02.771130 0/2232/2232 : multigroup_callback::iterate_groups: group: 1: 0/3, error: 0, priv: 0x1570c80
2014-09-12 23:25:02.771149 0/2232/2232 : BULK_READ, callback: 0x1570c80, group: 1, next
2014-09-12 23:25:02.771160 0/2232/2232 : BULK_READ, callback: 0x1570c80, id: 1:08107e5bc639...2fd4864fdca0, state: 127.0.0.1:18265
2014-09-12 23:25:02.771168 0/2232/2232 : BULK_READ, callback: 0x1570c80, id: 1:0afa958e76f3...d283582ef923, state: 127.0.0.1:18265
2014-09-12 23:25:02.771174 0/2232/2232 : BULK_READ, callback: 0x1570c80, id: 1:0b2c0a13ed93...6f6d049bb3b9, state: 127.0.0.1:18265
2014-09-12 23:25:02.771181 0/2232/2232 : BULK_READ, callback: 0x1570c80, id: 1:0dfb4fe422e7...4c6f168793c5, state: 127.0.0.1:18265
2014-09-12 23:25:02.771188 0/2232/2232 : BULK_READ, callback: 0x1570c80, id: 1:10726e7a978d...2a21474c3ce9, state: 127.0.0.1:18265
2014-09-12 23:25:02.771194 0/2232/2232 : BULK_READ, callback: 0x1570c80, id