Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
#####
# Tests all speedtest locations
# - except australia
# - in reverse order of distance
#
#TODO determine bandwidth usage of each run
#TODO store results
#TODO more explicit
#!/usr/bin/env bash
#TODO add alfred workflows
{
echo "==== Homebrew Formulae ===="
brew leaves
echo
echo "==== Ruby Gems ===="
# Chiropractic
- Based on Quackery
- Overtly against 'mainstream' medicine (science)
- No evidence of any use, other than possibly lower back pain
# Choice Quotes
> Chiropractic was founded in 1895 by Daniel David (D.D.) Palmer in Davenport, Iowa. Palmer, a magnetic healer, hypothesized that manual manipulation of the spine could cure disease.
>Chiropractic competed with its predecessor **osteopathy**, another medical system based on magnetic healing and bonesetting; both systems were founded by _charismatic midwesterners in opposition to the conventional medicine of the day_, and both postulated that manipulation improved health.
# Tools
## bfg
[bfg-repo-cleaner/](http://rtyley.github.io/bfg-repo-cleaner/)
_'nuff said_
## git-gc-cron gem
[git-gc-cron](https://github.com/thomasritz/git-gc-cron)
# Scripts
#!/bin/bash
set -e
#TODO pull from imago: ssh epstore@imago -t 'cd www/ && n98-magerun/n98-magerun.phar db:dump --compression=gz --stdout' > IMAGO.sql.gz FIXME doesnt work. archive is messed up
#TODO shipping table
#TODO images
mr='/srv/www/eplc-store/current/n98-magerun/bin/n98-magerun'
STARTTIME=$(date +%s)
#!/usr/bin/env bash
set -e
dir=$(dirname $0)
echo "Pulling latest from prod"
ssh solar@solarmdg "
set -e
cd www
mr db:dump --stdout --quiet --compression=gz
#!/usr/bin/env bash
shopt -s nullglob
set -e
FROM=$1
TO=$2
SEARCH=$3
REPLACE=$4
This file has been truncated, but you can view the full file.
{
"log": {
"version": "1.2",
"creator": {
"name": "WebInspector",
"version": "537.36"
},
"pages": [],
"entries": [
{
This file has been truncated, but you can view the full file.
{
"log": {
"version": "1.2",
"creator": {
"name": "WebInspector",
"version": "537.36"
},
"pages": [],
"entries": [
{