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
#![feature(async_await)] | |
#[prelude_import] | |
use ::std::prelude::v1::*; | |
#[macro_use] | |
extern crate std as std; | |
pub async fn bar() | |
-> | |
::std::future::from_generator(move | |
|mut async_ctx: |
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
#![feature(async_await)] | |
pub async fn bar() -> u32{ | |
5 | |
} | |
pub async fn foo() -> u32{ | |
let z = bar().await; | |
5 + z | |
} |
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
@relation NNandMLDataSet | |
@attribute X1 numeric | |
@attribute X2 numeric | |
@ATTRIBUTE Output {"One","Two"} | |
@data | |
-1.0,3.0, "One" | |
-1.0,2.0, "Two" | |
-0.99,2.9215801494, "One" | |
-0.99,1.94069601, "Two" | |
-0.98,2.84624238086, "One" |
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
% you need "ieeeconf.cls" in the same folder (wget http://css.paperplaza.net/conferences/support/files/ieeeconf.cls) | |
% run it like "latex something.tex" | |
% I then use divpdf to make the dvi a pdf | |
% there are a lot more settings and stuff you are probably gonna need, but this should get you started | |
\documentclass{ieeeconf} | |
\begin{document} | |
\title{A Survey of Function Reactive Programming} |
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
4 | |
1 | |
0 | |
1 | |
1 | |
1 | |
1 | |
0 | |
1 | |
3 |
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
10 | |
2 | |
2 | |
2 | |
2 | |
2 | |
3 | |
1 | |
3 | |
2 |
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
7 | |
3 | |
1 | |
1 | |
1 | |
0 | |
2 | |
1 | |
2 | |
1 |
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
#![feature(step_by)] | |
use std::io::{BufReader,BufRead}; | |
use std::fs::File; | |
use std::cmp::Ordering; | |
use std::collections::{BinaryHeap, HashSet}; | |
use std::thread; | |
use std::sync::mpsc::channel; | |
/* | |
* Author: Benjamin Brittain |
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
from struct import * | |
def wkbToLatLng(coord): | |
byt = bytearray.fromhex(coord) | |
(d, t, lng, lat) = unpack('<?idd', byt) | |
return {"lat": lat, "lng": lng} | |
points=[] | |
with open('gpsmerge.csv') as csvfile: | |
reader = csv.DictReader(csvfile, delimiter=',') | |
for row in reader: |
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
function initMedia() { | |
if(navigator.webkitGetUserMedia) { | |
navigator.webkitGetUserMedia({audio: true}, onSuccess, onFail); | |
} else { | |
alert('webRTC not available'); | |
} | |
} | |
function onSuccess(stream) { |
NewerOlder