Skip to content

Instantly share code, notes, and snippets.

hab habnabit

Block or report user

Report or block habnabit

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
"""Please, let me know which child is calling me: 'parent' ? """
class A:
"""This is a mixin class to share code for DRY"""
def __init__(self, var=None):
def override_me(self):
View this-dude-is-nuts.txt
21:02:38 < Owner> who is this loser in the press conference
21:02:49 < Owner> what a clown
21:03:19 < Owner> somehow this guy gets 4 bullshit questions in a row
21:07:52 < Owner>
21:07:59 < Owner> liberal flipout in 3...2...
21:11:37 < Owner> 1. she didnt abort the baby
21:11:41 < Owner> 2. she is being a mother
21:11:46 < Owner> 3. she is a real woman and not a tranny
21:11:59 < Owner> thats enough reason to make them flip out hard
21:19:50 < Owner> lol
habnabit /
Created Jul 2, 2018 — forked from rust-play/
Code shared from the Rust Playground
let pipeline = framed_reader
.map(move |b| {
let message: proto::Message = bincode::deserialize(&b).unwrap();
let file;
let blocking_future;
match message {
proto::Message::Request(m) => {
file = m.file.clone();
if m.file == Path::new("/root/test/file").to_path_buf() {
blocking_future = poll_fn(move || {
if 1:
# comment
eggs() # comment
View generated.txt
This file has been truncated, but you can view the full file.
fn mtproto::<impl at clacks-mtproto/src/ 32915:2>::deserialize_boxed(_1: ConstructorNumber, _2: &mut Deserializer) -> std::result::Result<mtproto_prelude::TLObject, error::Error>{
let mut _0: std::result::Result<mtproto_prelude::TLObject, error::Error>; // return place
scope 1 {
let _4: ConstructorNumber; // "id" in scope 1 at clacks-mtproto/src/ 32912:15
scope 2 {
let _12: error::Error; // "err" in scope 2 at clacks-mtproto/src/ 32274:140
scope 4 {
View stretch-shuffle.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
habnabit /
Last active Sep 28, 2017 — forked from anonymous/
Rust code shared from the playground
use linux;
use log;
use core::fmt::Write;
use core::fmt;
use log::{LogRecord, LogLevel, LogMetadata};
struct DMesgLogger;
View gist:ba80e1470f8d46875dffa9e1438a00df
for location in locations:
for mode in ['driving', 'transit']:
row = [place, mytime, mode]
for i in range(10):
mytime += timedelta(minutes=20)
row.append(get_directions(location, (lat,lon), mytime, mode, gmaps))
use sodiumoxide::crypto::box_::{SecretKey, PublicKey};
use typemap::TypeMap;
use std::sync::{Arc, RwLock};
use llsd::frames::{Frame, FrameKind};
use llsd::session::server::Session;
use llsd::session::Sendable;
use llsd::sessionstore::SessionStore;
use llsd::authenticator::Authenticator;
use errors::{AWResult, AWErrorKind};
habnabit /
Created Aug 21, 2016
rust on emscripten
./emsdk update
./emsdk install emscripten-incoming-64bit
./emsdk activate emscripten-incoming-64bit
./emsdk install sdk-incoming-64bit
./emsdk activate sdk-incoming-64bit
# [...]
git clone -b emscripten
cd rust
You can’t perform that action at this time.