Skip to content

Instantly share code, notes, and snippets.

Jared Burke jdeeburke

Block or report user

Report or block jdeeburke

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
@jdeeburke
jdeeburke / pull-db.sh
Last active Jan 19, 2016
This is a script which connects to a remote database -- either directly or over SSH, exports a database, stores a backup copy of it in your local folder, then imports that database into the local DB of your choosing.
View pull-db.sh
#!/bin/bash
######## Configuration
BACKUPS_DIR='database_backups'
LOCAL_HOST=''
LOCAL_USER=''
LOCAL_PASS=''
LOCAL_DB=''
View gist:9de45ae7265752c4d483
### Keybase proof
I hereby claim:
* I am jdeeburke on github.
* I am jdeeburke (https://keybase.io/jdeeburke) on keybase.
* I have a public key whose fingerprint is C2D9 B39F 978B E7C0 FE82 5036 900E 01F9 6145 173B
To claim this, I am signing this object:
View gist:9551999
{
"scope": "text.html.ee",
"completions":
[
{ "trigger": "{exp:", "contents": "exp:channel:" },
{ "trigger": "{exp:channel:entries", "contents": "exp:channel:entries"},
{ "trigger": "{exp:channel:info", "contents": "channel:info" }
]
}
@jdeeburke
jdeeburke / pauseYouTube
Created Jul 9, 2013
Pause YouTube embed in iFrame
View pauseYouTube
/**
* iFrame Must have '&/?enablejsapi=1'
*
* @param slideIndex
*/
function pauseVideoOnSlide(slide)
{
var iframe = $(slide).find("iframe")[0];
if (iframe) {
You can’t perform that action at this time.