Skip to content

Instantly share code, notes, and snippets.

View leogopal's full-sized avatar
🌍
Working on a better, free-er web.

Leo Gopal leogopal

🌍
Working on a better, free-er web.
View GitHub Profile
@leogopal
leogopal / no-jquery.md
Last active November 11, 2016 10:54
Going without jQuery (when possible) Resources
#/bin/bash
cd _seed
FILENAME=$(find . -maxdepth 1 -name [a-zA-Z0-9]*-migrate-[0-9]*.sql.gz)
gunzip ${FILENAME} -c > temp.sql
read -p "New Domain Name e.g. http://example.com: " replacement
cat temp.sql | sed -e "s@##DEV_URL##@${replacement}@g" > temp2.sql
cat temp2.sql | sed -e "s@##DEV_PATH##@${replacement}@g" > new_db.sql
@dainelmawer
dainelmawer / OS X Development Setup
Created September 25, 2017 07:29
Development Bash Script for MAC OS X using Homebrew
#!/usr/bin/env bash
#
# Notes:
#
# - Homebrew & Git require Xcode Command Line Tools, OS X should prompt you on first install.
#
echo "Starting Mac OS X Dev Setup..."
# Check for Homebrew, install if we don't have it
@DarraghB1992
DarraghB1992 / README.md
Last active January 31, 2024 23:23
Exporting Saved Replies from Intercom into a CSV file