Instantly share code, notes, and snippets.

View wget.sh
wget --no-clobber --convert-links --random-wait -r -p -E -e robots=off -U mozilla <link>
wget -r --no-parent --reject "index.html*" <link>
View .block
license: mit
View README.md
View India.txt
India Meteorological Department
Indian Army
Indian Navy
Indian Air Force
Indian Space Research Organization (ISRO)
National Atmospheric Research Laboratory, Gadanki
Defence Research and Development Organization (DRDO)
Interim Test Range, Balasore
National Centre for Antarctic and Ocean Research, Vasco da Gama
National Institute of Oceanography, Dona Paula
View csv2kml.py
#!/usr/bin/python2.7
#
# to run: ./csv2kml.py from within working directory where this script & lms6 decoder files are located
# NOTE: ./data/lat-long-alt.csv files must already exist (is created by rf2csv.sh script)
#
#
# using "while" to loop program until broken out w/ CTL-c
#
View scanI2C.c
// I2C Scanner
// Written by Nick Gammon
// Date: 20th April 2011
#include <Wire.h>
void setup() {
Serial.begin (115200);
// Leonardo: wait for serial port to connect
View BusinessASEAN.csv
Country of Origin Destination Organisation's Name Organisation's Website
Australia Indonesia Indonesia Australia Business Council http://iabc.or.id/
Australia Thailand AustCham Thailand http://www.austchamthailand.com/
Australia Malaysia Malaysia Australia Business Council http://www.mabc.org.my/
Australia Singapore AustCham Singapore http://www.austcham.org.sg/
Australia Philippines ANZCham Philippines http://anzcham.com/
Australia Vietnam AustCham Vietnam http://www.auschamvn.org/
Australia Cambodia Australian Business Association Cambodia http://abaccambodia.com/
Belgium Thailand The Belgian-Luxembourg Thai Chamber of Commerce (BeLuThai) http://www.beluthai.org/
Belgium Singapore Belgian and Luxembourg Association of Singapore http://blas.org.sg/
View epub2pdf.sh
sudo apt install calibre
ebook-convert ebook.epub ebook.pdf
View calculators.txt
TCO and ROI for IoT devices
Downtime costs
View replace.sh
grep -rl findString findFolder/ | xargs sed -i 's/findString/replaceString/g'