Skip to content

Instantly share code, notes, and snippets.

View NicoHood's full-sized avatar

NicoHood NicoHood

View GitHub Profile
/* Sleep Demo Serial
* -----------------
* Example code to demonstrate the sleep functions in a Arduino. Arduino will wake up
* when new data is received in the serial port USART
* Based on Sleep Demo Serial from http://www.arduino.cc/playground/Learning/ArduinoSleepCode
*
* Copyright (C) 2006 MacSimski 2006-12-30
* Copyright (C) 2007 D. Cuartielles 2007-07-08 - Mexico DF
*
* With modifications from Ruben Laguna 2008-10-15
*.bz2
*.gz
*~
binutils-*/*
gcc-*/*
isl-*/*
cloog-*/*
gmp-*/*
mpfr-*/*
mpc-*/*
@NicoHood
NicoHood / tab.html
Last active September 3, 2020 18:26
Pure CSS Tabs without javascript and anchor support
<!-- Features:
* Tabs with anchor (browser history support)
* Tab anchor can be used to scroll or not
* Color selected tab menu
* Select the first tab by default (and also color its tab menu)
* Uses a simple unordered list
Helpful links:
https://stackoverflow.com/questions/6906724/is-it-possible-to-have-tabs-without-javascript
https://www.sitepoint.com/css3-tabs-using-target-selector/