Skip to content

Instantly share code, notes, and snippets.

View gitmarek's full-sized avatar

gitmarek gitmarek

View GitHub Profile
@gitmarek
gitmarek / 837dea.py
Last active October 30, 2020 07:15
Pycoin does not validate Gavin Andresen's test multisig transaction (https://gist.github.com/gavinandresen/3966071)
#! /usr/bin/python3
import sys
from pycoin.tx import Tx, TxIn, TxOut
from pycoin.tx.Tx import SIGHASH_ALL
from pycoin.key import Key
from pycoin.tx.script.vm import parse_signature_blob
from pycoin.encoding import *
from pycoin.serialize import *
@gitmarek
gitmarek / konfiguracja-drukarki-instytutowej-Canon-Ubuntu.md
Last active August 29, 2015 14:19
Instalacja drukarki Canon imageRUNNER 4225.md

Konfiguracja drukarki instytutowej Canon imageRUNNER 4225 w systemie Ubuntu.

Ostatnia aktualizacja: 23.04.2015.

Sprawdzone dla: Ubuntu 14.04 64bit.

Ze strony producenta ściągamy pakiet ze sterownikami (tutaj w wersji 64 bitowej):

http://software.canon-europe.com/software/0045505.asp

@gitmarek
gitmarek / list.c
Last active April 24, 2019 11:38
Simple lists in C
#include <stdio.h>
#include <stdlib.h>
typedef struct elem {
void *data;
struct elem *next;
} elem_t;