Posts in 2020

  • OpenStreetMap overlay example

    Tuesday, May 19, 2020 in Miscellaneous <osm-script> <query type="node"> <has-kv k="amenity" v="recycling"/> <bbox-query {{bbox}}/> </query> <!-- print results --> <print mode="body"/> …

    Read more

  • i3dropdown

    Thursday, January 23, 2020 in Miscellaneous

    i3dropdown is a tool to make any X application drop down from the top of the screen, in the famous quake console style back in the day. Compilation First of all, you have get i3dropdown and compile it. It does not have any dependencies so it is …

    Read more

Posts in 2019

  • Switching to Hugo

    Thursday, December 19, 2019 in Miscellaneous

    This is the website you are currently reading. It is a static website built using hugo. This article details how I installed hugo, how I initialised this website and how I manage it. I often refer to it as because I hosted a unique …

    Read more

  • RocketChat

    Tuesday, August 06, 2019 in Miscellaneous

    Docker simple install : docker run --name db -d mongo --smallfiles --replSet hurricane docker exec -ti db mongo > rs.initiate() docker run -p 3000:3000 --name rocketchat --env ROOT_URL=http://hurricane --env …

    Read more

  • Installing mssql on centos 7

    Tuesday, July 09, 2019 in Miscellaneous

    vi /etc/sysconfig/network-scripts/ifcfg-eth0 vi /etc/resolv.conf curl -o /etc/yum.repos.d/mssql-server.repo curl -o /etc/yum.repos.d/mssql-prod.repo …

    Read more

  • Sqlite pretty print

    Wednesday, June 19, 2019 in Miscellaneous

    In ~/.sqliterc : .mode column .headers on .separator ROW "\n" .nullvalue NULL

    Read more

  • etc-update script for alpine linux

    Tuesday, April 02, 2019 in Miscellaneous

    Alpine linux doesn’t seem to have a tool to merge pending configuration changes, so I wrote one : #!/bin/sh set -eu for new_file in $(find /etc -iname '*.apk-new'); do current_file=${new_file%.apk-new} echo "===== New config file …

    Read more

Posts in 2018

  • Pleroma installation notes

    Friday, November 16, 2018 in Miscellaneous

    This article is about my installation of pleroma in a standard alpine linux lxd container. Installation notes apk add elixir nginx postgresql postgresql-contrib git sudo erlang-ssl erlang-xmerl erlang-parsetools erlang-runtime-tools make gcc …

    Read more

  • Pulseaudio

    Tuesday, September 25, 2018 in Miscellaneous

    List outputs : pacmd list-sinks | grep -e 'name:' -e 'index' Select a new one : pacmd set-default-sink alsa_output.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00.analog-stereo

    Read more

  • Screen cannot open terminal error

    Tuesday, July 03, 2018 in Miscellaneous

    If you encounter : Cannot open your terminal '/dev/pts/0' - please check. Then you did not open the shell with the user you logged in with. You can make screen happy by running : script /dev/null

    Read more