Instantly share code, notes, and snippets.

Alexander Haller alexhaller

View GitHub Profile
sudo -i
## variables
## 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 email address!');
return false;
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