I hereby claim:
- I am zargony on github.
- I am zargony (https://keybase.io/zargony) on keybase.
- I have a public key ASDpUCG3MNWA4H9eSRQMGr_wi66LtkgLqa1eZya-GEXBggo
To claim this, I am signing this object:
| $ 1 0.000005 10.20027730826997 50 5 43 5e-11 | |
| 407 608 128 608 176 1025 | |
| 407 608 208 608 256 1 | |
| 34 zener-4.7 1 1.7143528192810002e-7 0 2.0000000000000084 4.7 1 | |
| z 416 288 416 224 2 zener-4.7 | |
| 34 zener-4.3 1 1.7143528192810002e-7 0 2.0000000000000084 4.3 1 | |
| z 560 288 560 224 2 zener-4.3 | |
| 34 zener-15 1 1.7143528192810002e-7 0 2.0000000000000084 15 1 | |
| z 512 288 512 224 2 zener-15 | |
| i 80 256 80 144 0 0.007 |
| @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
| /* hide icons for bookmark folders in toolbar, but not in dropdown menus */ | |
| #personal-bookmarks toolbarbutton.bookmark-item { | |
| margin-left: 15px !important; | |
| } | |
| #personal-bookmarks toolbarbutton.bookmark-item[type="menu"] .toolbarbutton-icon { | |
| display: none !important; | |
| } |
| #!/usr/bin/env ruby | |
| #encoding: utf-8 | |
| class Tile | |
| def initialize (face) | |
| @face = face | |
| end | |
| attr_reader :face |
| //! A simple PID controller | |
| use std::f32; | |
| pub struct Pid { | |
| kp: f32, | |
| ki: f32, | |
| kd: f32, | |
| setpoint: f32, | |
| min: f32, |
| // Der Dialog der Schwestern | |
| // Quick 'n dirty solution in Rust | |
| // see https://www.heise.de/ct/artikel/Der-Dialog-der-Schwestern-4274601.html | |
| #[derive(Debug)] | |
| struct Encryption { | |
| n: u32, // encryption modulus | |
| e: u32, // encryption exponent | |
| n2: u32, // decryption modulus | |
| e2: u32, // decryption exponent |
| version: 2 | |
| jobs: | |
| test: | |
| docker: | |
| - image: rust:1 | |
| steps: | |
| - checkout | |
| - run: | |
| name: Version information |
I hereby claim:
To claim this, I am signing this object:
| #![feature(default_type_params)] | |
| use std::thunk::Invoke; | |
| struct Foo { | |
| f: Box<for<'a> Invoke<&'a [u8]> + Send>, | |
| } | |
| impl Foo { | |
| fn new<F> (f: F) -> Foo where F: FnOnce(&[u8]), F: Send { | |
| Foo { f: box f } |
| fn decode<'a, T: Decodable<MyDecoder<BufReader<'a>>, IoError>> (&self, key: u64) -> Result<Option<T>, ~str> { | |
| match self.get(key) { | |
| Ok(Some(data)) => { | |
| let reader = BufReader::new(data); | |
| // ^~~~ error: `data` does not live long enough | |
| // because 'a is bound to the function context because of the returned T | |
| // but 'a actually only needs to be temporary (the reader var in this context) | |
| let mut decoder = MyDecoder::new(reader); | |
| match Decodable::decode(&mut decoder) { | |
| Ok(value) => Ok(Some(value)), |
| #!/bin/sh | |
| # Automatic SSH jump host for IPv6-only hosts. | |
| # Usage in ~/.ssh/config: ProxyCommand ~/.ssh/ipv6proxy <jumphost> %h %p | |
| # If a host is reachable via IPv6, a direct connection is made. | |
| # Otherwise a jump host is used (which shall support IPv6). | |
| if ping6 -c1 $2 >/dev/null 2>&1; then | |
| exec nc -6 $2 $3 | |
| else | |
| exec ssh -q $1 "nc -6 $2 $3" |