#!/bin/sh -eu | |
# | |
# Runs a program, traces it, and finds a Debian packages providing | |
# those files. This is useful for finding requirements of complex | |
# shell scripts. | |
# | |
# NB! Especially Python likes to scan a lot of unrelated files while | |
# startup which may result bogus results. | |
TRACE=`mktemp` | |
DEPS=`mktemp` |
{-# LANGUAGE OverloadedStrings, RecordWildCards #-} | |
module IceAccumulation where | |
import Control.Exception (evaluate) | |
import Network.Curl.Aeson | |
import Data.Aeson | |
import Data.Aeson.Types | |
import Control.Applicative | |
import Control.Monad (mzero) | |
import Data.Time |
#!/bin/sh -eu | |
# | |
# Extracts addresses using https://github.com/vbuterin/pybitcointools | |
# from given chain. Arguments: deterministic wallet in xpub format, | |
# chain number (0 for deposit addresses, 1 for change addresses) and | |
# number of addresses to generate (starting from 0). | |
# | |
# Example: ./pib32_derive.sh xpubXXXXXXXXXXXXX 0 10 | |
chain=`./pybtctool bip32_ckd $1 $2` |
This tool uses R to draw smooth scatter plot of clicking behaviour on The Button of Reddit.
▶ Newest PDF plot ◀ Updates every 15 minutes
This uses XSLT processing to display funding status of Bittiraha.fi on console.
{-# LANGUAGE OverloadedStrings, RecordWildCards #-} | |
module Main where | |
import Control.Monad (forever) | |
import Data.ByteString.Char8 (pack) | |
import Database.PostgreSQL.Simple | |
import Database.PostgreSQL.Simple.Notification | |
import System.Environment (getArgs) | |
main = do |
Everybody! Get the feeling of the 90s! Let the dreams come true!
This is a proof of concept for implementing SMS to IRC gateway using Kannel SMS gateway, Irssi Proxy, and an ordinary mobile stick (in my case Huawei E166).
To send message to IRC, just type the following message and send it to the phone number of the gateway:
-- |Little tool which splits words while you type. Useful when typing | |
-- live to espeak, for example: runhaskell WordSplitter | espeak | |
{-# LANGUAGE OverloadedStrings #-} | |
module Main where | |
import Data.Attoparsec as A | |
import qualified Data.ByteString as B | |
import qualified Data.ByteString.Char8 as BC | |
import System.IO |
Maisteri Lehtosen tämänkertainen tutkimus porautuu joulun syvimpään ytimeen, eli joululauluihin. Kaikkihan tuntevat joululaulun Kolme yötä jouluun, joka äänitearkiston perusteella on Petter Hjalmar Ohlsin käsialaa ja jonka ensimmäisenä levylle on laulanut Vuosaaren lastentarhan lapset vuonna 1979. Siinä lauletaan: