Posts

  • How To Make Your Own Paper Wallet

    It is common (and secure) practice to save cryptocurrency/blockchain keys on paper. There exists several tools for the various blockchains to generate a public/private key pair and the corresponding the paper wallet at once. In this post, I would like to show you how I created my custom paper wallets.

  • Endless Command Execution

    I happen to find myself regularly in the situation of writing a throw away BASH script. Often, I need to run the script several times before I have it implemented correctly. This is the typical edit-(compile-)run cycle most programmers know. The trial-and-error workflow must be of course as fast as possible. I am already using tmux so switching between the editor and the console where the script runs is pretty fast. Still, I need to switch to that window, recall the previous command and execute it again. The appropriate tmux/shell key sequence would be <tmux-prefix>4<CAPSLOCK>k<ENTER>. Let’s examine this in detail

    <tmux-prefix>4 	Jump to the window (in this case window #4) where the script is run.
    <CAPSLOCK>	Enter Normal mode in Zsh. I am using vi-mode in the shell and have mapped CAPSLOCK to ESC
    k		Scroll up to the previous command. This is the previously executed script, of course.
    <ENTER>		Execute the command.
    
  • Some Grep Tips

    In this post, I am going to present some simple tips when using grep.

  • How To Link A C Library In Haskell

    In this blog post, I am going to show you how to link a C library in Haskell. Each step is kept as simple as possible in order to focus on the overall goal.

  • Simple MySQL Data Migration

    I find myself more often than I think needing to shuffle around MySQL data. Usually this is about dumping one table to another database. For example, I sometimes want to get some production data into a test or development database to reproduce an issue. On my local box I often need to recreate an existing database structure for development purposes.

... Archive ...


subscribe via RSS