Skip to content

Instantly share code, notes, and snippets.

Cam Pegg campegg

Block or report user

Report or block campegg

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
@campegg
campegg / wordlist
Last active Apr 18, 2020
Source words for experiementing with javascript; (mostly) lifted from the Original set at https://magneticpoetry.com/
View wordlist
!
!
?
?
,
,
&
&
a
a
@campegg
campegg / mysqlsync
Last active Apr 17, 2020 — forked from samhernandez/mysqlsync
Sync remote mysql database to local over ssh
View mysqlsync
#!/bin/bash
# This script assumes you have ssh access to a remote server
# Both databases are backed up to sql files in the same directory
# this script is executed from.
# Usage:
# 1. Make sure this file is executable with `chmod +x mysqlsync`
# 2. Set the credentials for the variables at the top
# (Remember, no spaces around the '=' sign)
# 3. Run it from a directory where you'd like the backup files to go:
@campegg
campegg / writers.json
Last active Sep 20, 2019
Play data for experimenting
View writers.json
[
{
"name": "Mary Ann Evans (George Eliot)",
"birth": "1819-11-22",
"death": "1880-12-22",
"url": "https://en.wikipedia.org/wiki/George_Eliot"
},
{
"name": "Ann Brontë",
"birth": "1820-01-17",
You can’t perform that action at this time.