Skip to content

Instantly share code, notes, and snippets.

View manpages's full-sized avatar

Jonn Mostovoy manpages

View GitHub Profile
@manpages
manpages / bitcoinj-test-block.txt
Created November 11, 2013 22:38
BitcoinJ Test Block:
0100000040f11b68435988807d64dff20261f7d9827825fbb37542601fb94d45000000000f28f7c69e2669981f92ff081c129e196200c60f4fad7911d93a682de0b49ea2ecd9d24c1844011d00d361050c01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff07041844011d0142ffffffff0100f2052a01000000434104a313febd5f91b6a13bd9c5317030518fee96d1319a0eb10076917294933d09c17dc1588a06953a264738f2acea0c66b99e796caa4f28158e0dd5f6fed69a185bac000000000100000001aa18a952c3f73e5d7440bc570b2aa78f72059887b25b6a1790514b7feedec090000000008b483045022100a970ee6e96fa8bea1cf76d3bda3fb70441a6ec50014d4ea3adcdeae9fbfb5129022025ce9e090366dd6175071a0a5b4a4727571b9bd7bdd5a74d3d3bad7f63eb5dd4014104ac44bdf511477465cb70fef1d06b9241e74d26047ccbdfa641ec9a0115ad35594cbb58a61a6fd56893a405bcffbf6555995ddedc7e6cd4e5ceb83a37e1cf8f98ffffffff02004d92d86a0000001976a914b8083945473bc8289efb681f94de7b07a5b851ad88ac00743ba40b0000001976a914ef01911c9efec6799d1ee5f7c6fb072d9669da8088ac000000000100000001438bd97cb2172e0dd6f341e455e00b7d089747bd4e7f54bd802afe6a6d006c7c0000
@manpages
manpages / Open-letter-from-Russian-StarCraft-community-to-Twitch.tv.md
Created October 18, 2013 17:19
Open letter from Russian StarCraft community to Twitch.tv and Blizzard Customer Support

From: Russian StarCraft community

To: BlizzardCS [email protected], TwitchTV [email protected]

Open letter from Russian StarCraft community to Twitch.tv

Dear Blizzard Customer Support and Twitch.tv Support, we, as Russian StarCraft II community are pleased with decision to have official Russian streams for WCS Europe.

@manpages
manpages / nginx.conf.part
Created October 18, 2013 14:41
NGINX<->Ghost
server
{
listen 80;
server_name new.memorici.de;
root /home/ghost/;
index index.php;
location /
{
proxy_set_header X-Real-IP $remote_addr;
@manpages
manpages / monocled.md
Last active December 25, 2015 03:29 — forked from anonymous/monocled.md
*-remover                       *-remover
backpack                        backpack
flash drive                     flash drive
roll                            roll
plans                           plans
origin paste                    origin paste
gel                             gel
apple                           ale
army                            army
@manpages
manpages / statuslines.viml
Created September 10, 2013 00:37
VIM statuslines of geeks
" yo!
" spiiph's
set statusline=
set statusline+=%<\ " cut at start
set statusline+=%2*[%n%H%M%R%W]%*\ " flags and buf no
set statusline+=%-40f\ " path
set statusline+=%=%1*%y%*%*\ " file type
set statusline+=%10((%l,%c)%)\ " line and column
set statusline+=%P " percentage of file
@manpages
manpages / get_pycoin.sh
Created September 9, 2013 07:21
Install pycoin and pycoinrpc.
#!/bin/bash
install_pycoin() {
git clone https://github.com/richardkiss/pycoin.git
cd pycoin
wget https://gist.github.com/manpages/6490935/raw/255b1c5fdcd3645b928665789f9ae13ead60020a/pycoin-fix-distutils.gitdiff
wget https://gist.github.com/manpages/6490946/raw/53b448b10fc26726cb6fe145f1da882da179bdb4/Makefile
git apply pycoin-fix-distutils.gitdiff
sudo make install
}
@manpages
manpages / Makefile
Last active December 22, 2015 15:18
Makefile for setuptools setup.py
.PHONY: install uninstall
install:
./setup.py install --record files.txt
uninstall:
cat files.txt | xargs rm -rf
@manpages
manpages / pycoin-fix-distutils.gitdiff
Last active December 22, 2015 15:18
Replace distutils with setuptools in pycoin's setup.py
diff --git a/setup.py b/setup.py
index c20d3a0..e94b73f 100755
--- a/setup.py
+++ b/setup.py
@@ -1,10 +1,10 @@
#!/usr/bin/env python
-import distutils.core
+from setuptools import setup
@manpages
manpages / get_bitcoind.sh
Created September 9, 2013 01:44
PKGBUILD-like script to install bitcoind and bitcoin-qt on Ubuntu LTS 12.04
#!/bin/bash
# PKGBUILD-like script to install bitcoind and bitcoin-qt on Ubuntu LTS 12.04
install_bitcoin() {
pkgbase=bitcoin
pkgname=('bitcoin-daemon' 'bitcoin-qt')
pkgver=0.8.4
pkgrel=3
arch=('i686' 'x86_64')
url="http://www.bitcoin.org/"
@manpages
manpages / 2013-09-03#bitcoin-dev
Created September 3, 2013 06:15
Epicness at #bitcoin-dev
08:38 < k9quaint> grrr, somebody already has bitfoil.com :(
08:40 -!- ThomasV [~ThomasV@unaffiliated/thomasv] has quit [Ping timeout: 264 seconds]
08:40 < warren> Luke-Jr: surprising so many are still running 0.8.1
08:41 -!- malaimo [~malaimo@unaffiliated/malaimo] has quit [Ping timeout: 260 seconds]
08:41 <@gmaxwell> warren: we haven't done an alert induced upgrade beyond that.
08:41 <@gmaxwell> and there have always been a lot of older nodes...
08:42 < warren> we alerted all previous clients and a large number of them are still running the year old
version ...
08:44 < phantomcircuit> gmaxwell, "Note that it starts with 43 zero bits. Why? The block target difficulty was
much lower (around 32 bits), so we can assume Satoshi did this on purpose."