Skip to content

Instantly share code, notes, and snippets.

Larry Botha larrybotha

Block or report user

Report or block larrybotha

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
@larrybotha
larrybotha / A.markdown
Last active Apr 7, 2017
Two.js Renderer for PhysicsJS
View A.markdown

Two.js Renderer for PhysicsJS

A starting point for a Two.js renderer for PhysicsJS.

@larrybotha
larrybotha / A.markdown
Last active Jun 26, 2019
Mac OS Sierra MySQL my.conf
View A.markdown

Fixing Mac OS Sierra MySQL Woes

MySQL throwing ERROR 2006 (HY000): MySQL server has gone away?

mysql -u root -p
# enter password

mysql > SET GLOBAL max_allowed_packet=1073741824;
@larrybotha
larrybotha / A.markdown
Last active Dec 2, 2016
Google Apps Scripts Spreadsheet Submission
View A.markdown

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 Jan 27, 2016
Multiple Bundles With Gulp, WebPack, and React
View A.markdown

Multiple Bundles With Gulp, WebPack, and React

@larrybotha
larrybotha / A.markdown
Last active Jan 27, 2016
Multiple Bundles With Gulp and JSPM
View A.markdown

Multiple Bundles With Gulp and JSPM

@larrybotha
larrybotha / A.markdown
Last active Jan 27, 2016
Multiple Bundles With Gulp, Browserify, and React
View A.markdown

Multiple Bundles With Gulp, Browserify, and React

View install_wkhtmltoimage.sh
#!/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
You can’t perform that action at this time.