Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ibrmora on github.
  • I am ibrmo (https://keybase.io/ibrmo) on keybase.
  • I have a public key ASBvL_81xS_sNVsEDGc-PZvLxDWik6s8AhMM6NOKT2YufQo

To claim this, I am signing this object:

/** Helpers */
function findLinkInSpan(spans, search) {
for(i in spans) {
if (spans[i].textContent.trim() == search.trim()) {
return spans[i].parentElement.href;
}
}
}
/** Wait for the AJAX to stick the data into our target element */
@ibrmora
ibrmora / fabfile.py
Last active August 2, 2017 14:56
Fabric file to install OpenVBX on Ubuntu 14.04
'''
Use debian 7.11 x64
openVBX
http://www.openvbx.org/install/
'''
from fabric.api import *
env.hosts = ['server ip']
env.user = 'root'
env.key_filename = ['/path/to/key file']