- Related tutorial: http://raspberrypiguide.de/
- Command Line Cheatsheet: https://gist.github.com/hofmannsven/8392477
Find all available devices arp -a
Locate Raspberry (b8:27:eb) in Network: Pi Finder
Find all available devices arp -a
Locate Raspberry (b8:27:eb) in Network: Pi Finder
| /******************************************************************************* | |
| * | |
| * A minimal Forth compiler in C | |
| * By Leif Bruder <leifbruder@gmail.com> http://defineanswer42.wordpress.com | |
| * Release 2014-04-04 | |
| * | |
| * Based on Richard W.M. Jones' excellent Jonesforth sources/tutorial | |
| * | |
| * PUBLIC DOMAIN | |
| * |
| import Foundation | |
| extension String | |
| { | |
| var length: Int { | |
| get { | |
| return countElements(self) | |
| } | |
| } | |
| /* | |
| * Taken from http://stackoverflow.com/questions/5867534/how-to-save-canvas-data-to-file/5971674#5971674 | |
| */ | |
| var fs = require('fs'); | |
| // string generated by canvas.toDataURL() | |
| var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0" | |
| + "NAAAAKElEQVQ4jWNgYGD4Twzu6FhFFGYYNXDUwGFpIAk2E4dHDRw1cDgaCAASFOffhEIO" | |
| + "3gAAAABJRU5ErkJggg=="; | |
| // strip off the data: url prefix to get just the base64-encoded bytes |
| typedef char C; | |
| typedef long I; | |
| typedef struct a { | |
| I t,r,d[3],p[2]; | |
| }* A; | |
| #define P printf |
| // Based on http://www.jsoftware.com/jwiki/Essays/Incunabulum | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| typedef struct a { | |
| long t; | |
| long r; | |
| long d[3]; | |
| long p[2]; |
The goal of this is to have an easily-scannable reference for the most common syntax idioms in Ruby and Rust so that programmers most comfortable with Ruby can quickly get through the syntax differences and feel like they could read and write basic Rust programs.
What do you think? Does this meet its goal? If not, why not?
Ruby:
| ᚳᛁ ᛉᛁ ᛋᛁ | |
| ᛏᛁ ᛞᛁ ᛚᛁ | |
| ᛈᛁ ᛒᛁ ᚠᛁ | |
| ᚳᚫ ᛉᚫ ᛋᚫ | |
| ᛏᚫ ᛞᚫ ᛚᚫ | |
| ᛈᚫ ᛒᚫ ᚠᚫ | |
| ᚳᚩ ᛉᚩ ᛋᚩ | |
| ᛏᚩ ᛞᚩ ᛚᚩ |
| #!/bin/sh | |
| set -e | |
| basedir=`pwd` | |
| mkdir -p "$basedir/github.com/jvburnes" | |
| git clone https://github.com/jvburnes/node9 "$basedir/github.com/jvburnes/node9" | |
| mkdir -p "$basedir/github.com/stevedonovan" | |
| git clone https://github.com/stevedonovan/Penlight "$basedir/github.com/stevedonovan/Penlight" |