Skip to content

Instantly share code, notes, and snippets.

Avatar

Nico NicoHood

View GitHub Profile
View sleepdemoserial.c
/* 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
View .gitignore
*.bz2
*.gz
*~
binutils-*/*
gcc-*/*
isl-*/*
cloog-*/*
gmp-*/*
mpfr-*/*
mpc-*/*
@NicoHood
NicoHood / tab.html
Last active Sep 3, 2020
Pure CSS Tabs without javascript and anchor support
View tab.html
<!-- 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/
You can’t perform that action at this time.