This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First Layer | |
=========== | |
.---------------------------. .---------------------------. | |
|Esc|F1 |F2 |F3 |F4 |F5 |F6 | |F7 |F8 |F9 |F10|F11|F12|?? | | |
:===========================' '===========================: | |
|= |1 |2 |3 |4 |5 | |6 |7 |8 |9 |0 |- | | |
|----+---+---+---+---+---| |---+---+---+---+---+----| | |
|Tab |' |, |. |P |Y | |F |G |C |R |L |/ | | |
|----+---+---+---+---+---| |---+---+---+---+---+----| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// String I want to match: "SWI9600M_01\\.00\\.09\\.03AP R2492 CARMD-EN-10526 2011/07/01 19:31:09\n" | |
int validate_string_with_regex(const char *string, const char *regex_str) { | |
regex_t regex; | |
/* Compile regular expression */ | |
int reti = regcomp(®ex, regex_str, REG_EXTENDED); | |
if (reti != 0) { | |
fprintf(stderr, "Could not compile regex\n"); | |
return reti; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Embedded / Electronics night featuring a functionality and design demo of the μJoypad, the world's (unofficially) smallest NES controller |+ ..| | |
Monday, November 5th, 2012 | |
7:00 pm | |
SkullSpace Lounge, 3rd floor, 125 Adelaide St. | |
After the success of our last embedded / electronics night, I thought we should have another! I'm proposing we get together on November 5th at 7:00 | |
and I will start things off with a short, informal demo of my latest project, the μJoypad, a nickel sized NES controller[1][2]. I designed the board | |
using the free and open source tools available as part of the gEDA project and will be showing how I used those tools to quickly put together the | |
schematic and PCB layout. |
NewerOlder