Skip to content

Instantly share code, notes, and snippets.

János Illés ijanos

Block or report user

Report or block ijanos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View normal cargo test
Running target/debug/parallel_letter_frequency-633a2f434576b678
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured
Running target/debug/parallel_letter_frequency-92f6d5c26c276ad3
running 9 tests
test test_all_three_anthems_1_worker ... ignored
View with empty librs
tests/parallel-letter-frequency.rs:40:16: 40:36 error: unresolved name `frequency::frequency` [E0425]
tests/parallel-letter-frequency.rs:40 assert_eq!(frequency::frequency(&[], 4), HashMap::new());
^~~~~~~~~~~~~~~~~~~~
tests/parallel-letter-frequency.rs:40:5: 40:62 note: in this expansion of assert_eq! (defined in <std macros>)
tests/parallel-letter-frequency.rs:40:16: 40:36 help: run `rustc --explain E0425` to see a detailed explanation
tests/parallel-letter-frequency.rs:48:16: 48:36 error: unresolved name `frequency::frequency` [E0425]
tests/parallel-letter-frequency.rs:48 assert_eq!(frequency::frequency(&["a"], 4), hm);
^~~~~~~~~~~~~~~~~~~~
tests/parallel-letter-frequency.rs:48:5: 48:53 note: in this expansion of assert_eq! (defined in <std macros>)
tests/parallel-letter-frequency.rs:48:16: 48:36 help: run `rustc --explain E0425` to see a detailed explanation
View gist:59fc9324a892bfe83f88
[Match]
Name=eth*
[Network]
DHCP=v4
IPv4LL=true
View intospecthelp.go
for _, intro := range introspectPath("/com/github/guelfey/Demo") {
fmt.Println(intro.path, intro.introspectableXML)
conn.Export(introspect.Introspectable(intro.introspectableXML), dbus.ObjectPath(intro.path), "org.freedesktop.DBus.Introspectable")
}
View sleepsort.bash
#!/bin/bash
# Sleep sort
# http://dis.4chan.org/read/prog/1295544154
function f() {
sleep "$1"
echo "$1"
}
You can’t perform that action at this time.