Skip to content

Instantly share code, notes, and snippets.

View jeffbax's full-sized avatar

Jeff Baxendale jeffbax

View GitHub Profile
@jeffbax
jeffbax / git-reset-author.sh
Created February 21, 2026 21:46 — forked from bgromov/git-reset-author.sh
Git: reset author for ALL commits
#!/bin/sh
# Credits: http://stackoverflow.com/a/750191
git filter-branch -f --env-filter "
GIT_AUTHOR_NAME='Newname'
GIT_AUTHOR_EMAIL='new@email'
GIT_COMMITTER_NAME='Newname'
GIT_COMMITTER_EMAIL='new@email'
" HEAD
@jeffbax
jeffbax / git-deployment.md
Created August 14, 2018 20:37 — forked from noelboss/git-deployment.md
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your lokal GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like my Deepl.io to act upon a Web-Hook that's triggered that service.

@jeffbax
jeffbax / retropie-homebridge-install.md
Created May 29, 2018 03:30
Retropie + Homebridge on Raspberry Pi 2 Model B

Retropie + Homebridge Installation

Customized for a Raspberry Pi 2 Model B

Install Retropie

Download and install Retropie following the directions here: https://retropie.org.uk/download/

First Boot and System Update

After installation, boot the Rasperry Pi for the first time. If successful, you should get the device input wizard from EmulationStation. Ignore that for now and press F4.

Enable SSH

@jeffbax
jeffbax / 0_reuse_code.js
Last active August 29, 2015 14:14
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console