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
#!/usr/bin/env python | |
""" | |
Download all the pdfs linked on a given webpage | |
Usage - | |
python grab_pdfs.py url <path/to/directory> | |
url is required | |
path is optional. Path needs to be absolute |
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
/* | |
* structs-3.c | |
* Use struct pointers without declaring the struct itself! | |
*/ | |
#include <stdio.h> | |
int | |
main(void) | |
{ |
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
-- hw.vhd | |
-- Hello World in VHDL | |
-- Switch an LED in response to a button | |
library IEEE; | |
use IEEE.STD_LOGIC_1164.ALL; | |
entity LED_Switch is | |
Port ( switch_0 : in STD_LOGIC; | |
LED_0 : out STD_LOGIC ); |
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
/* | |
* adc.c | |
* | |
* Analog-Digital Conversion example | |
* | |
* Hardware: ATMega328P at 16 MHz | |
* Toolchain: avr-gcc v4.3.3 | |
* Editor: Eclipse Kepler (4.0) with GNU Make | |
* Usage: | |
* Include and edit settings in adc.h and compile using 'make all' |
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
/* | |
* uart.c | |
* | |
* Asynchronous UART example tested on ATMega328P (16 MHz) | |
* | |
* Toolchain: avr-gcc (4.3.3) | |
* Editor: Eclipse Kepler (4) | |
* Usage: | |
* Perform all settings in uart.h and enable by calling initUART(void) | |
* Compile: |
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
/* | |
* lcd.c | |
* | |
* Low-level driver for Hitachi's HD44780 LCD for LPC2148 board | |
* | |
* Created on: 20-Jan-2014 | |
* Author: Shrikant Giridhar | |
*/ | |
#include "lpc214x.h" |