Skip to content

Instantly share code, notes, and snippets.

View jonalter's full-sized avatar

Jonathan Alter jonalter

View GitHub Profile
@jonalter
jonalter / shared_folder_centos_virtualbox.txt
Last active February 20, 2017 22:44 — forked from larsar/shared_folder_centos_virtualbox.txt
Mount shared folder on CentOS in VirtualBox
# The VirtualBox documentation[1] for how to install guest additions
# for Linux on a virtual host is somewhat messy. So here is what
# I did to make it work.
# Install the packages required
yum -y update
yum -y install gcc kernel-devel make bzip2
reboot
@jonalter
jonalter / _app_props_.json
Created January 6, 2014 23:18 — forked from srahim/_app_props_.json
This file must be placed in the "harnessResourcesTemplate" folder to run anvil on iOS...it must not be there to run on Android because the file name begins with _
{
"driver.socketPort":40405
}
Titanium.Media.openPhotoGallery({
success:function(event){
var myImage = event.media;
var xhr = Titanium.Network.createHTTPClient();
xhr.open('POST','http:// ------ /uploads.php');
xhr.onerror = function(e){alert(e.error);};
xhr.setTimeout(200000);