Skip to content

Instantly share code, notes, and snippets.

Alexander Haller alexhaller

Block or report user

Report or block alexhaller

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View rpi_initialization.sh
#!/bin/bash
sudo -i
## variables
HOSTNAME_NEW=rasple
## Delete some packages
apt-get purge wolfram-engine
apt-get purge libreoffice*
View Allowed_Email.js
jQuery(document).ready(function($) {
$('#registerform').find(':submit').click(function(e) {
if( ! isAllowedEmail( $('#user_email').val() ) ) {
e.preventDefault(); // Prevent the form from submitting
alert('You can only register with an @gmail.com email address!');
return false;
}
});
});
@alexhaller
alexhaller / 0_reuse_code.js
Created Feb 13, 2014
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
You can’t perform that action at this time.