Required hw:
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { |
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
| extern crate hyper; | |
| extern crate url; | |
| static HOST: &'static str = "www.google.com"; | |
| macro_rules! ret_err( | |
| ($e:expr) => {{ | |
| match $e { | |
| Ok(v) => v, | |
| Err(e) => { println!("Line {}: {}", line!(), e); return; } |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Remote terminal</title> | |
| <link rel="stylesheet" href="xterm.css" /> | |
| <script src="terminal.class.js"></script> | |
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
| interface bcm2835gpio | |
| # hexdump -s4 -n4 -e '\"0x\" 4/1 \"%02X\"\"\\n\"\" \"' /proc/device-tree/soc/ranges | |
| bcm2835gpio_peripheral_base 0x20000000 | |
| # Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET | |
| # These depend on system clock, calibrated for stock 700MHz | |
| # bcm2835gpio_speed SPEED_COEFF SPEED_OFFSET | |
| bcm2835gpio_speed_coeffs 146203 36 |