Skip to content

Instantly share code, notes, and snippets.

View apopiak's full-sized avatar
🧘‍♂️
focusing

Alexander Popiak apopiak

🧘‍♂️
focusing
View GitHub Profile
@apopiak
apopiak / hybrid-live-dev-spec.json
Created June 12, 2020 16:34
hybrid chain spec of the live edgeware chain and a dev edgeware chain
This file has been truncated, but you can view the full file.
{
"name": "Edgeware",
"id": "edgeware",
"bootNodes": [
"/ip4/127.0.0.1/tcp/30333/p2p/QmXKUXv1vYi4RUG9xaodCe3HXU171rqKHeDxBYdPtS21nN"
],
"telemetryEndpoints": null,
"protocolId": "edg",
"properties": {
"ss58Format": 42,
@apopiak
apopiak / keybase2nd.md
Created February 10, 2017 01:05
second keybase proof

Keybase proof

I hereby claim:

  • I am apopiak on github.
  • I am apopiak (https://keybase.io/apopiak) on keybase.
  • I have a public key whose fingerprint is E126 B561 39D5 3E65 B7C7 FD00 4814 3752 8741 8DF3

To claim this, I am signing this object:

@apopiak
apopiak / rust_mutability.rs
Created February 22, 2016 19:17
Rust mutability example
fn main() {
let mut val: i32 = 1; // veränderbare Variable (mit festem Wert)
val = 2; // ok
let foo: &mut i32 = &mut 2; // fest Referenz auf einen veränderbaren Wert
*foo = 3; // ok
foo = &mut val; // not ok
let wub = 6; // feste Referenz auf einen festen Wert
let mut bar: & i32 = & 4; // veränderbare Referenz mit festem Wert
*bar = 5; // not ok
bar = & wub; // ok
@apopiak
apopiak / untracked_lock_files.txt
Created January 12, 2016 12:13
untracked `Cargo.lock` files and `target` directories
components/compositing/Cargo.lock
components/compositing/target/
components/layout/Cargo.lock
components/layout/target/
components/msg/Cargo.lock
components/msg/target/
components/script/Cargo.lock
components/script/target/
components/script_traits/Cargo.lock
components/script_traits/target/

Keybase proof

I hereby claim:

  • I am apopiak on github.
  • I am apopiak (https://keybase.io/apopiak) on keybase.
  • I have a public key whose fingerprint is 3A7B 01E9 E2FB F4EC 9A69 1597 4510 EC22 D06C 1A51

To claim this, I am signing this object: