Skip to content

Instantly share code, notes, and snippets.

View Jeffallan's full-sized avatar
🏠
Working from home

Jeffallan

🏠
Working from home
View GitHub Profile
// original from: http://mashe.hawksey.info/2014/07/google-sheets-as-a-database-insert-with-apps-script-using-postget-methods-with-ajax-example/
// original gist: https://gist.github.com/willpatera/ee41ae374d3c9839c2d6
function doGet(e){
return handleResponse(e);
}
// Enter sheet name where data is to be written below
var SHEET_NAME = "Sheet1";
@Jeffallan
Jeffallan / mautic-styling.css
Created November 16, 2017 15:57
Basic Styling For Mautic Contact Form
.mauticform_wrapper {
max-width: 600px;
margin: 10px auto;
}
.mauticform-innerform {}
.mauticform-post-success {}
.mauticform-name {
@Jeffallan
Jeffallan / PythonFlower.py
Last active November 16, 2017 17:32
Give a flower, and the gift of Python, to that special someone in your life.
import turtle
def draw_square(some_turtle):
for i in range(1,5):
some_turtle.forward(100)
some_turtle.right(90)
def draw_art():
window=turtle.Screen()
@Jeffallan
Jeffallan / age.py
Created March 21, 2018 17:05
Birthday calculator
from datetime import date
class Birthday(object):
def __init__(self, year, month, day):
self.dob = date(year, month, day)
@property