My efforts to port http://www.youtube.com/watch?v=f6kdp27TYZs to Clojure.
func boring(msg string) {
for i := 0; ; i++ {
fmt.Println(msg, i)
time.Sleep(time.Second)
}
actor Main | |
new create(env: Env) => | |
env.out.print("dibs!") |
package main | |
import ( | |
"fmt" | |
"log" | |
"encoding/json" | |
) | |
func main() { | |
mapSI := map[string]int{"x": 2} |
package main | |
import ( | |
"fmt" | |
"github.com/boltdb/bolt" | |
"github.com/xyproto/permissionbolt" | |
) | |
func main() { | |
filename := "bolt.db" |
/* | |
* Delete unversioned items | |
* | |
* Small utility that really should have been a script instead. | |
* It has worked fine for five years, though. | |
* Works on both Linux and Windows. | |
* | |
* Alexander F Rødseth <[email protected]>, 2015-10-15 | |
* | |
* Public Domain |
package main | |
import ( | |
"fmt" | |
"compress/gzip" | |
"io" | |
"io/ioutil" | |
"bytes" | |
"log" | |
) |
My efforts to port http://www.youtube.com/watch?v=f6kdp27TYZs to Clojure.
func boring(msg string) {
for i := 0; ; i++ {
fmt.Println(msg, i)
time.Sleep(time.Second)
}
#jEdit properties | |
#Thu Aug 15 11:27:08 CEST 2013 | |
buffer.indentSize=4 | |
view.gutter.highlightColor=\#660000 | |
view.height=1180 | |
vfs.browser.type.width=100 | |
view.status.show-caret-virtual=true | |
view.selectionFg=false | |
view.status.foreground=\#000000 | |
view.gutter.highlightInterval=10 |
func jedi() { | |
fmt.Print("For eight hundred years have I ") | |
fmt.Print("trained Jedi.\nMy own counsel ") | |
fmt.Print("will I keep on who is to be ") | |
fmt.Print("trained.\nA Jedi must have the ") | |
fmt.Print("deepest commitment,\nthe most ") | |
fmt.Print("serious mind.") | |
} | |
func yoda() { |
#include <stdio.h> | |
#include <stdlib.h> | |
const int seed[2][2] = {{0, 2}, {3, 1}}; | |
int main(int argc, char *argv[]) | |
{ | |
unsigned x, y, m = 3; | |
if (argc == 2) | |
m = atoi(argv[1]); |