Skip to content

Instantly share code, notes, and snippets.


gojimmypi gojimmypi

View GitHub Profile
gojimmypi / Using-AVRDragon.rst
Created Nov 26, 2015 — forked from blakerohde/Using-AVRDragon.rst
Notes for using the AVRDragon with an Arduino Duemilanove and/or other compatible AVR chips.
View Using-AVRDragon.rst

Using AVRDragon

Hardware Setup

  1. For Arduino Duemilanove:Make sure RESET-EN jumper is broken.
  2. Power on AVRDragon via USB.
  3. Connect ISCP cable with ribbon end pointing towards USB ports of Arduino and AVRDragon.
  4. Power on Arduino via external power source.
View gist:b281469dcbe9e6d8efd00be7ce18d222

1. Clone your fork:

git clone

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://
git fetch upstream
gojimmypi / codeblock.css
Last active May 3, 2017
codeblock css style
View codeblock.css
pre {
background: black;
padding: 10px 16px;
border-radius: 2px;
border-top: 4px solid #00aeef;
-moz-box-shadow: inset 0 0 10px #000;
box-shadow: inset 0 0 10px #000;
gojimmypi / gist:b1aac09422d4364ac0138bece0b10214
Created May 9, 2017
Solution: Can't create a Windows 10 recovery drive. Some required files are missing.
View gist:b1aac09422d4364ac0138bece0b10214
:: Can't create a Windows 10 recovery drive. Some required files are missing.
:: You may need to change "harddisk0" to "harddiskX" where X is the number of your "C" drive and "partition1" to partitionX where X
:: is the partition number to conform with your system setup.
:: To check go to Control Panel/Administrative Tools/Computer Management/Storage/Diskmanagment.  The disk partitions are numbered from
:: the left of the screen starting with number 1.
:: admin prompt in DOS:
gojimmypi /
Created May 19, 2017
Where is my arm-none-eabi-gdb
find /. -name arm-none-eabi-gdb 2>/dev/null
View esp32-idf-make
export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin
export IDF_PATH=~/esp/esp-idf
sudo chmod 777 /dev/ttyUSB0
cd ~/esp/hello_world
make flash
export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin
export IDF_PATH=~/esp/esp-idf
find /. -name xtensa-esp32-elf-gdb 2>/dev/null
cd ~/esp/hello_world/build
#xtensa-esp32-elf-gdb -tui -x hello_world.gdb hello-world.elf
xtensa-esp32-elf-gdb  hello-world.elf
# once in gdb enter target remote localhost:3333
# continue
gojimmypi /
Last active May 24, 2017
install vmware tools for linux
# we are assuming VMware tools are ready to be installed. Click Tools - Reinstall VMware tools if needed
# if you copy/paste this instead of using in a shell, be sure to use your login in place of $USER, below
cd ~/
# Ensure there's a ~/Downloads directory
if [ ! -d  "Downloads" ]; then 
mkdir ~/Downloads
cd ~/Downloads/
# assumes git clone started in ~\workspace for openocd-esp32
export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin
export IDF_PATH=~/esp/esp-idf
cd  ~/workspace/openocd-esp32/tcl
sudo openocd -f interface/ftdi/olimex-arm-usb-ocd-h-1MHz.cfg -c "transport select jtag"  -f target/esp32.cfg
#sudo openocd -f interface/jlink.cfg -f target/esp32.cfg
# or
gojimmypi / gist:17b0800e9f643d7f1bb9414d311d0b5e
Created May 27, 2017
Use CSS to change blogspot design
View gist:17b0800e9f643d7f1bb9414d311d0b5e
Sign in to Blogger.
Choose the blog to update.
In the left menu, click Theme.
Under “Live on blog," click Customize.
In the left menu, click Advancedand thenAdd CSS.
Add your code.
On the top right, click Apply to blog.