Skip to content

Instantly share code, notes, and snippets.

@larrybotha
larrybotha / A.markdown
Last active December 2, 2016 21:06
Google Apps Scripts Spreadsheet Submission

Post To Google Sheets -> Scripts Submission Handler

A Google Apps Script to handle submissions sent to a Google Sheet via a webform, and send emails each time a submission is received.

Largely inspired by Google Sheets as a Database – INSERT with Apps Script using POST/GET methods.

This script must be added to your Google Sheet via 'Tools' -> 'Script Editor...'.

Your spreadsheet's column names must match the field names on your firm to properly submit data.

@larrybotha
larrybotha / A.markdown
Last active January 27, 2016 14:00
Multiple Bundles With Gulp, WebPack, and React

Multiple Bundles With Gulp, WebPack, and React

@larrybotha
larrybotha / A.markdown
Last active January 27, 2016 13:43
Multiple Bundles With Gulp and JSPM

Multiple Bundles With Gulp and JSPM

@larrybotha
larrybotha / A.markdown
Last active January 27, 2016 13:43
Multiple Bundles With Gulp, Browserify, and React

Multiple Bundles With Gulp, Browserify, and React

@larrybotha
larrybotha / install_wkhtmltoimage.sh
Last active August 29, 2015 14:27 — forked from sdbondi/install_wkhtmltoimage.sh
Install wkhtmltoimage
#!/usr/bin/env bash
set -eo pipefail
DEPS='openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig xfonts-75dpi libjpeg-turbo8'
echo $DEPS | xargs apt-get -y install
rm -f /tmp/wkhtmltox-0.12.1_linux-trusty-amd64.deb
wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb -P /tmp
dpkg -i /tmp/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
@larrybotha
larrybotha / install_rbenv.sh
Last active August 29, 2015 14:27 — forked from sdbondi/install_rbenv.sh
Install our development ruby environment
#!/usr/bin/env bash
set -eo pipefail
# Install rbenv
if [[ ! -d ~/.rbenv ]]; then
echo "Installing rbenv"
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
if [[ ! `grep 'eval "\$(rbenv init -)"' ~/.bashrc` ]]; then
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
@larrybotha
larrybotha / A.markdown
Created October 31, 2014 10:44
Useful Commands in PSQL