Skip to content

Instantly share code, notes, and snippets.

View robhardwick's full-sized avatar

Rob Hardwick robhardwick

View GitHub Profile
@gbaman
gbaman / HowToOTGFast.md
Last active May 1, 2024 08:26
Simple guide for setting up OTG modes on the Raspberry Pi Zero, the fast way!

Setting up Pi Zero OTG - The quick way (No USB keyboard, mouse, HDMI monitor needed)

More details - http://blog.gbaman.info/?p=791

For this method, alongside your Pi Zero, MicroUSB cable and MicroSD card, only an additional computer is required, which can be running Windows (with Bonjour, iTunes or Quicktime installed), Mac OS or Linux (with Avahi Daemon installed, for example Ubuntu has it built in).
1. Flash Raspbian Jessie full or Raspbian Jessie Lite onto the SD card.
2. Once Raspbian is flashed, open up the boot partition (in Windows Explorer, Finder etc) and add to the bottom of the config.txt file dtoverlay=dwc2 on a new line, then save the file.
3. If using a recent release of Jessie (Dec 2016 onwards), then create a new file simply called ssh in the SD card as well. By default SSH i

@markbirbeck
markbirbeck / gist:1029633
Created June 16, 2011 16:30
Git workflow

The branch part of the following is based on A Git Workflow for Agile Teams, which also contains lots of other useful links.

Creating a fork of the project you want to work on

For any project you want to work on you should create a fork in GitHub, by clicking on the 'Fork' button on the project you are interested in.

From now on we'll call the project you have forked from upstream and your own copy of that project on GitHub we'll call origin.

Creating a task