Skip to content

Instantly share code, notes, and snippets.

View ojkelly's full-sized avatar
👋
Founder Gold.build and on the StateML language team

Owen Kelly ojkelly

👋
Founder Gold.build and on the StateML language team
View GitHub Profile
@ojkelly
ojkelly / clone-mysql-db.sh
Created April 26, 2016 07:17 — forked from christopher-hopper/clone-mysql-db.sh
Clone a MySQL database to a new database on the same server without using a dump file. This is much faster than using mysqldump.
#!/bin/bash
DBUSER="root";
DBPASS="";
DBHOST="localhost";
DB_OLD=mydatabase
DB_NEW=clone_mydatabase
DBCONN="--host=${DBHOST} --user=${DBUSER} --password=${DBPASS}";
@ojkelly
ojkelly / yubitouch.sh
Created January 20, 2016 11:30 — forked from a-dma/yubitouch.sh
Bash script for setting or clearing touch requirements for cryptographic operations in the OpenPGP application on a YubiKey 4.
#!/bin/bash
# Bash script for setting or clearing touch requirements for
# cryptographic operations the OpenPGP application on a YubiKey 4.
#
# Author: Alessio Di Mauro <alessio@yubico.com>
GCA=$(which gpg-connect-agent)
DO=0
UIF=0
@ojkelly
ojkelly / .travis.yml
Last active August 29, 2015 14:15 — forked from iamEAP/.travis.yml
language: php
#
# Important to note, this is the version of PHP used to run this build, not the
# one used to run your Drupal installation. Ensure compatibility with the Drush
# and Terminus versions you're using for this build.
#
php:
- 5.3