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
abomonation -> recycler | |
acacia -> quickcheck, nalgebra | |
aclui-sys -> winapi | |
activeds-sys -> winapi | |
adler32 -> rand | |
adorn -> compiletest_rs | |
adsiid-sys -> winapi | |
advpack-sys -> winapi | |
af_unix -> libc, errno | |
ahadmin-sys -> winapi |
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
import json, sys, os | |
for r, d, f in os.walk('.'): | |
if r.startswith('./.git') or r == '.': | |
continue | |
for filename in f: | |
with open(os.path.join(r, filename)) as file: | |
last = file.readlines()[-1] | |
deps = json.loads(last)['deps'] | |
star_deps = [] |
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
extern crate tokio; | |
use std::io; | |
use std::ops::Range; | |
use tokio::io::{TryRead, TryWrite}; | |
use tokio::server::listen; | |
use tokio::tcp::TcpStream; | |
use tokio::reactor::{Reactor, Task, Tick}; |
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
<!doctype html> | |
<style> | |
.test { | |
width: 200px; | |
height: 100px; | |
border: solid 10px rgba(0, 0, 255, 0.5); | |
/*background-clip: content-box;*/ | |
} | |
#gradient1 { |
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
<!doctype html> | |
<style> | |
#gradient { | |
width: 400px; | |
height: 200px; | |
background-image: linear-gradient(to right, black 0%, red 80%, blue 80%); | |
} | |
</style> | |
<div id="gradient"></div> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
body { | |
margin: 0px; | |
} | |
#spacer { |
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
$ ./mach build --dev -v | |
cargo build --manifest-path /home/michael/Dokumente/git/servo/ports/servo/Cargo.toml -v | |
Fresh either v1.1.0 | |
Fresh lazycell v0.4.0 | |
Fresh cfg-if v0.1.2 | |
Fresh same-file v0.1.3 | |
Fresh size_of_test v0.0.1 (file:///home/michael/Dokumente/git/servo/components/size_of_test) | |
Fresh khronos_api v2.0.0 | |
Fresh rustc-serialize v0.3.24 | |
Fresh half v1.0.0 |
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
<!DOCTYPE html> | |
<style> | |
#foo { | |
width: 200px; | |
height: 200px; | |
border: solid; | |
background: linear-gradient(to bottom right, transparent 50%, #36c 50%); | |
background-size: 30px 30px; | |
background-position: 10px 10px; |
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
for (int i = 0; i < q; i++) { | |
for (int j = 0; j < q; j++) { | |
int I = q * coords[0] + i; | |
int J = q * coords[1] + j; | |
mat[i * q + j] = I * dim + J; | |
} | |
} |