thomas-mcdonald/bootstrap-sass
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> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/p5.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/addons/p5.dom.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/addons/p5.sound.min.js"></script> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
<meta charset="utf-8" /> | |
</head> |
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
import os | |
from bottle import Bottle, static_file, route, template | |
class BottleServer: | |
def __init__(self, host, port): | |
self._host = host | |
self._port = port | |
self._killoldports() | |
self._app = Bottle() | |
self._route() |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
- Check the downloaded img is ok by comparing checksum: $ sha1sum archlinux-hf-2013-07-22.img.zip
- Burn the image to a new SD card: $ cd Downloads $ sudo umount /dev/mmcblk0* $ sudo dcfldd bs=4M if=archlinux-hf-2013-07-22.img of=/dev/mmcblk0
- Plug your Rpi into an ethernet network.
- Find its IP address with: $ sudo nmap -sP 192.168.1.0/24