Skip to content

Instantly share code, notes, and snippets.

View mrmx's full-sized avatar

Manuel Polo mrmx

View GitHub Profile
@mrmx
mrmx / keybase.md
Last active November 21, 2019 11:45

Keybase proof

I hereby claim:

  • I am mrmx on github.
  • I am mrmx (https://keybase.io/mrmx) on keybase.
  • I have a public key ASAXPQI5h1e90r6uJ9e2tFruKtTl6uwGgQjQaOeKR7IW8wo

To claim this, I am signing this object:

https://gist.github.com/mrmx/429a96da12024feaef6f
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
/**
* Compute the minimum knight movements from (0,0) -> (A,B)
*
* @author mrmx
*/
public class KnightRider {
https://gist.github.com/mrmx/429a96da12024feaef6f
@mrmx
mrmx / wallet-balance.sh
Created September 11, 2016 11:25
Get balance of rusty bitcoin wallet.dat for all addrs in bash
#!/bin/bash
#
# Depends on:
# pywallet.py from https://github.com/pagobit/pywallet
# jq from https://stedolan.github.io/jq
for addr in $(./pywallet.py --dumpwallet | jq --raw-output ".keys[].addr"); do
echo "$addr balance:";
curl https://insight.bitpay.com/api/addr/$addr/balance;
echo "";
https://gist.github.com/mrmx/429a96da12024feaef6f
@mrmx
mrmx / keybase
Last active August 29, 2015 14:10
### Keybase proof
I hereby claim:
* I am mrmx on github.
* I am mrmx (https://keybase.io/mrmx) on keybase.
* I have a public key whose fingerprint is 3BAF F883 D308 D778 23A8 5F4B A53F E983 6DF1 74DB
To claim this, I am signing this object:
https://gist.github.com/mrmx/429a96da12024feaef6f
@mrmx
mrmx / spotify.py
Created November 24, 2012 19:17 — forked from jorgebastida/spotify.py
Rudimentary Spotify Web Proxy using mitmproxy
#!/usr/bin/env python
"""
Rudimentary Spotify Web Proxy using mitmproxy.
Use it by your own responsibility!!
This was only entertainment!!
"""
import random
import hashlib
@mrmx
mrmx / gist:3009643
Created June 28, 2012 07:17 — forked from anonymous/gist:2996643
Front-end programmer positions
We're a Chinese company building an enterprise collaboration product. Our founding team includes Chinese, Spanish and American entrepreneurs with more than 15 years of experience in China, managing more than 500 people and a track record of several successful exits.
We're headquartered in Shanghai, with offices in Beijing, Hong Kong, Singapore and Taiwan.
We're on stealth mode, with a fully-built first version of our product, and some big names as paying clients.
We are looking for 2 front-end programmers to give us a hand with our web and mobile apps.
These are the technologies that we use: