Skip to content

Instantly share code, notes, and snippets.

Fixing things

Edward Q. Bridges ebridges

Fixing things
Block or report user

Report or block ebridges

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
ebridges / hide-quantity-block.css
Created Nov 17, 2018
Hides the quantity block on Family Portrait Day website.
View hide-quantity-block.css
.is-first-product-block>.productDetails>.product-quantity-input {
display: none;
visibility: hidden;
ebridges / .jhbuildrc-custom
Created Nov 11, 2017
jhbuild customizations
View .jhbuildrc-custom
# -*- mode: python -*-
#Uncomment this if you have a completed build and only want to rebuild
#updated modules instead of everything:
#build_policy = "updated-deps"
#Select one of these, or use a different one: Do keep the directories
#separate for stable and unstable as they have different
#dependencies. You can use 2.3.x for svn builds.
ebridges / gnucash.modules
Created Nov 11, 2017
gnucash.modules configuration
View gnucash.modules
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
<repository type="tarball" name="" default="yes"
<repository type="tarball" name=""
<repository type='tarball' name=''
ebridges / s3-playbook.yml
Last active May 17, 2019
Ansible playbook to generate one or more S3 buckets with permissions useful for rclone.
View s3-playbook.yml
## Usage:
## ansible-playbook s3-playbook.yml
- hosts: localhost
connection: local
gather_facts: False
'<BucketName>' : '<BucketARN>'
'com.example.bucket' : 'arn:aws:s3:::com.example.bucket'
ebridges /
Last active Sep 17, 2016
Lists all JPEGs under a directory into a format indexed by filename.
find . -iname '*.jpg' -not -path '*.AppleDouble*' -print0 \
| while read -d $'\0' file; \
do \
FILE=`basename "$file"` && echo "$FILE^$file" ; \
done > list.txt
ebridges /
Last active Jan 19, 2016
Import history from one repo into another
ebridges /
Created Apr 21, 2015
How to rebase master onto a long-lived branch that has been pushed to origin already
## 0.
$ BRANCH_NAME=eqb/my-branch
## 1. Pull down latest remote version of master & branch
$ git checkout master && git pull
$ git checkout $BRANCH_NAME && git pull
## 2. Delete remote branch
$ git push origin --delete $BRANCH_NAME
## 3. Remove dangling reference to origin
$ git branch --unset-upstream
## 4. Apply changes from master on branch
### Requires python virtualenv to be available
if [ ! -e playbook-test ]; then
mkdir playbook-test
cd playbook-test
virtualenv pbtest
ebridges /
Created Oct 21, 2014
Restores a single table from a dump file to the configured database.
if [ -z "$table" ];
echo "Usage: $0 [table-name]"

Keybase proof

I hereby claim:

  • I am ebridges on github.
  • I am ebridges ( on keybase.
  • I have a public key whose fingerprint is 0B87 E5DC E75C D3CC D084 F276 C72B C826 94F7 4CC4

To claim this, I am signing this object:

You can’t perform that action at this time.