Skip to content

Instantly share code, notes, and snippets.

View justindonnaruma's full-sized avatar

Justin Donnaruma justindonnaruma

View GitHub Profile
application: you-app-name-here
version: 1
runtime: python
api_version: 1
default_expiration: "30d"
handlers:
- url: /(.*\.(appcache|manifest))
mime_type: text/cache-manifest
## Setup java
if [ `uname -m` == 'x86_64' ]; then
PATH="/usr/lib64/jvm/java-7-oracle/jre/bin/"
JAVA_HOME="/usr/lib64/jvm/java-7-oracle/"
else
PATH="/usr/lib/jvm/java-7-oracle/jre/bin/"
JAVA_HOME="/usr/lib/jvm/java-7-oracle/"
fi
#!/usr/bin/python
from __future__ import unicode_literals
import os, commands, sys
def install():
# get required details
root_pwd = get_root_password()
db_name, db_pwd = get_new_db_details()
# install path
Public with sharing virtual class RestClient {
Public class RestClientException extends Exception {}
/*
* class variable creation - DO NOT EDIT
*/
Public Map<String,String> headers;
Public String url;
Public String method;
var keystone = require('keystone'),
Types = keystone.Field.Types;
/**
* Enquiry Model
* =============
*/
var Enquiry = new keystone.List('Enquiry', {
nocreate: true,
@justindonnaruma
justindonnaruma / massEmail.py
Last active February 10, 2016 20:49
Send Mass Email from Python
#!/usr/bin/env python3
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
# me == my email address
# you == recipient's email address
fr = "my@email.com"
@justindonnaruma
justindonnaruma / make.sh
Created March 24, 2016 23:33 — forked from artzub/make.sh
Install JetBrains Hub + YouTrack + UpSource + Nginx
#!/bin/bash
apt-get install mc htop git unzip wget curl -y
echo
echo "====================================================="
echo " WELCOME"
echo "====================================================="
echo
echo "Hub"

Keybase proof

I hereby claim:

  • I am jdr0dn3y on github.
  • I am jdr0dn3y (https://keybase.io/jdr0dn3y) on keybase.
  • I have a public key whose fingerprint is 937B 614D 5C14 B312 E73A 1906 4C9E A50B ADC6 9CAF

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am justindonnaruma on github.
  • I am jdr0dn3y (https://keybase.io/jdr0dn3y) on keybase.
  • I have a public key whose fingerprint is 467A 2C25 41D2 1088 DA9A 26AE C6CD A0F6 F121 327E

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am jdr0dn3y on github.
  • I am jdr0dn3y (https://keybase.io/jdr0dn3y) on keybase.
  • I have a public key whose fingerprint is 467A 2C25 41D2 1088 DA9A 26AE C6CD A0F6 F121 327E

To claim this, I am signing this object: