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
| mysqldump -uroot -T/path/ database table --where="field = 'value" |
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
| curl -w "@curl-format.txt" -o /dev/null -s http://www.aduanacol.com |
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
| #include <stdio.h> | |
| #include <string.h> | |
| int pnpoly(int nvert, float *vertx, float *verty, float testx, float testy); | |
| float buffx[3]; | |
| float buffy[3]; | |
| main() | |
| { | |
| buffx[0] = 1.0; buffy[0] = 1.0; |
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
| Before make sure ldflag is set to mysqld with: | |
| mysqlbug | |
| gcc -bundle -v -o levenshtein.so levenshtein.c -undefined dynamic_lookup -I/usr/local/mysql/include |
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
| body { | |
| background: url(background.jpg); | |
| background-position: center; | |
| background-attachment: fixed; | |
| } | |
| .container { | |
| width: 500px; | |
| height: 300px; | |
| margin: 40px auto; |
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
| gcc [parameters] -I/path/to/more/headers [source files] /path/to/libwebsockets.(so|dylib) | |
| gcc -o simple -Ilib/ test-client.c ./libwebsockets.dylib |
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
| /*************************************************** | |
| Author Arianne Patiño and Ariel Patiño | |
| ****************************************************/ | |
| #include <Wire.h> | |
| #include "Adafruit_LEDBackpack.h" | |
| #include "Adafruit_GFX.h" | |
| Adafruit_BicolorMatrix matrix = Adafruit_BicolorMatrix(); |
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
| #include <stdio.h> | |
| #include <string.h> | |
| void swap(int *, int *); | |
| main() { | |
| int px, py; | |
| px = 1; | |
| py = 2; | |
| printf("%d %d\n", px, py); | |
| swap(&px, &py); |
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
| Object.keys(data.data).length |
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
| Select on Arduino tools | |
| Tools > Board > Arduino Pro or Pro mini | |
| Tools > Processor > ATmega328 (5V, 16MHZ) | |
| Tools > Programmer > AVR ISP | |
| When uploading a sketch first press reset button on the arduino then select Upload, once 'Uploading...' text appears realease the button. | |
| NFC RFID-RC522 | |
| *Ardunio Uno, Arduino Pro, Arduino Pro mini |