This file contains 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
https://medium.com/@rakyll/go-1-5-cross-compilation-488092ba44ec |
This file contains 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
http://adriansampson.net/blog/llvm.html |
This file contains 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
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"log" | |
"time" | |
) |
This file contains 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
https://serversforhackers.com/video/process-monitoring-with-upstart | |
http://www.jeffreybolle.com/blog/create-a-web-app-using-google-go |
This file contains 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
package main | |
import "fmt" | |
type Frobber interface { | |
Frob() int | |
} | |
type FrobOne int | |
type FrobTwo int |
This file contains 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
https://daringfireball.net/projects/markdown/syntax#p |
This file contains 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
Error: | |
------------------------------------------------------------------------------------------------------------------------ | |
$ make clean; make | |
rm -f *.o libcompiler-rt.a sys/*.o blinky.elf blinky.hex blinky.bin | |
arm-xilinx-eabi-ar rcs libcompiler-rt.a sys/boot.S | |
rustc --target target.json -A non_camel_case_types -A dead_code -A non_snake_case main.rs -C link-args="-Tsys/lscript.ld -mcpu=cortex-a9" -L. -o blinky.elf -Z print-link-args | |
main.rs:5:12: 5:20 warning: unused or unknown feature, #[warn(unused_features)] on by default | |
main.rs:5 #![feature(int_uint)] // update fail_bounds_check | |
^~~~~~~~ | |
main.rs:10:5: 10:24 warning: unused import, #[warn(unused_imports)] on by default |
This file contains 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
# Binaries will be generated with this name (.elf, .bin, .hex, etc) | |
PROJ_NAME=blinky | |
# Put your stlink folder here so make burn will work. | |
#STFLASH=st-flash | |
RUSTC=rustc | |
#LLC=llc-3.6 | |
AS=arm-xilinx-eabi-as | |
CC=arm-xilinx-eabi-gcc |
This file contains 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
interesting paper: | |
http://octarineparrot.com/assets/mrfloya-thesis-ba.pdf |
This file contains 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
#!/bin/bash | |
# your code goes here | |
a=1; | |
b=2; | |
a=$((a+b)); | |
b=$((a-b)); | |
a=$((a-b)); |