Skip to content

Instantly share code, notes, and snippets.

@emdioh
emdioh / 0_readme.txt
Created October 27, 2019 21:02 — forked from dnc40085/0_readme.txt
FlashMod example
Flashmod was created by dpwhittaker (http://www.esp8266.com/viewtopic.php?f=19&t=1940)
Instructions for this example:
1. Upload "flashmod.lua" to your ESP8266.
2. Run flashmod.lua with "dofile("flashmod.lua")", this will create the file "flash_flashMod.lc" then it will delete "flashmod.lua" since it is no longer needed.
3. Upload init.lua then restart your ESP8266.
#!/bin/bash
# A quick script file for downloading an applying multiple patches when manually compiling GNU bash on Linux
# Written (mostly) by Steve Cook with (a little) help from Steve Jenkins
# This really seems like a lame way to have to do this, but it works. :) Use at your own risk.
# A small change on https://gist.github.com/stevejenkins/3d64d3543060c1bcac92 to read input from command line
version="$1"
nodotversion="${version//./}"