Skip to content

Instantly share code, notes, and snippets.

Dec 18 11:22:00.003 DEBG Plugin 0 - Device 0 (CPU) - Last Graph time: 0.003551483; Graphs per second: 281.573
Dec 18 11:22:00.023 TRCE timeout_conn: currently registered: 0
Dec 18 11:22:00.175 TRCE timeout_conn: currently registered: 0
Dec 18 11:22:00.680 TRCE timeout_conn: currently registered: 0
Dec 18 11:22:00.821 TRCE timeout_conn: currently registered: 0
Dec 18 11:22:01.149 TRCE timeout_conn: currently registered: 0
Dec 18 11:22:01.290 TRCE timeout_conn: currently registered: 0
Dec 18 11:22:01.536 TRCE timeout_conn: currently registered: 0
Dec 18 11:22:01.915 TRCE timeout_conn: currently registered: 0
Dec 18 11:22:01.976 TRCE timeout_conn: currently registered: 0

Keybase proof

I hereby claim:

  • I am mably on github.
  • I am mably (https://keybase.io/mably) on keybase.
  • I have a public key ASD-WZYM1aLIpPWGxI_GVBK7Ryh5qTJ77ZMjDH9IR-RF1Qo

To claim this, I am signing this object:

package main
import (
"encoding/hex"
"flag"
"fmt"
"log"
"time"
"golang.org/x/net/context"
@mably
mably / placepaintbot4.js
Created April 2, 2017 19:47 — forked from mbarkhau/placepaintbot4.js
placepaintbot4.js
// ==UserScript==
// @name PlacePaintBot
// @namespace http://tampermonkey.net/
// @version 0.4
// @description Domination of Place!
// @author mbarkhau
// @match https://www.reddit.com/place?webview=true
// @grant none
// ==/UserScript==
@mably
mably / gist:6b6ce7b9b28e4d295b68
Last active January 25, 2016 17:44
Bitcoin SegWit 4:1 ratio discussion on IRC Freenode #segwit-dev Saturday, January 23rd, 2016
09:52:49 <Tasoshi> I'm trying to understand the weighing of 4:1. If that is increased to 6:1 for example, does that mean an effective size of 6MB can be achieved?
10:03:23 → proslogion and AaronvanW joined
10:07:36 <•CodeShark> Tasoshi: that would be a worse case attack scenario
10:08:06 <•CodeShark> worst case attack scenario
10:08:43 <•CodeShark> "Effective size"is typical usage
10:09:01 <•CodeShark> Different kinds of transactions get different discounts
10:16:09 <Tasoshi> So if the discount is increased to something crazy, lets say 50:1, does that mean that in a worst case attack scenario a size of 50MB can be reached? What do you mean by worst case attack scenario by the way?
10:17:41 <•CodeShark> It means it's an absurd spam scenario
10:18:07 <•CodeShark> someone just filling blocks with useless stuff
10:19:17 <•CodeShark> An expensive attack...but not out-of-the-question
@mably
mably / ppcdwstest.html
Last active August 29, 2015 14:18 — forked from davecgh/btcdwstest.html
Ppcd WebSocket Test on testnet
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Ppcd WebSocket Test</title>
<script language="javascript" type="text/javascript">
var wsUri = 'wss://127.0.0.1:9902/ws';
var rpcUser = "rpcuser";
var rpcPass = "rpcpass";
@mably
mably / gist:7b8375db1971f7bf0f2b
Created December 21, 2014 14:21
flux rss crypto
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Mably subscriptions in feedly Cloud</title>
</head>
<body>
<outline text="currency" title="currency">
<outline type="rss" text="Cryptocurrency News, Bitcoin, Litec..." title="Cryptocurrency News, Bitcoin, Litec..." xmlUrl="http://www.cryptocoinsnews.com/feed/" htmlUrl="https://www.cryptocoinsnews.com"/>
<outline type="rss" text="Cryptocurrencies" title="Cryptocurrencies" xmlUrl="http://cryptocur.com/feed/" htmlUrl="http://cryptocur.com"/>
@mably
mably / gist:ae7b3937681eed05091f
Last active August 29, 2015 14:11
running ppcd on peerbox kvm
peerbox default credentials: sunny/peerbox.me
keyboard config (if needed):
temporary: sudo loadkeys <keymap>
permanent: sudo localectl set-keymap --no-convert <keymap>
https://wiki.archlinux.org/index.php/Keyboard_configuration_in_console#Persistent_configuration
<keymap> is usually a 2-letter country code (ex: fr)
install ppcd: sudo pacman -Sy ppcd
start ppcd: sudo systemctl start ppcd