Skip to content

Instantly share code, notes, and snippets.

year city men women
2016 København 292245 299236
2016 Frederiksberg 49374 55107
2016 Dragør 6927 7215
2016 Tårnby 21168 21692
2016 Albertslund 13927 13953
2016 Ballerup 23601 24623
2016 Brøndby 17333 17989
2016 Gentofte 35748 39602
2016 Gladsaxe 33533 34381
@mkroman
mkroman / list-of-playstation-games.json
Last active November 1, 2016 12:31
Web scraper sitemaps
{"startUrl":"https://en.wikipedia.org/wiki/List_of_PlayStation_games","selectors":[{"parentSelectors":["_root"],"type":"SelectorElement","multiple":true,"id":"entry","selector":"table.wikitable tbody tr","delay":""},{"parentSelectors":["entry"],"type":"SelectorText","multiple":false,"id":"title","selector":"td:nth-of-type(1)","regex":"","delay":""},{"parentSelectors":["entry"],"type":"SelectorText","multiple":false,"id":"developer","selector":"td:nth-of-type(2)","regex":"","delay":""},{"parentSelectors":["entry"],"type":"SelectorText","multiple":false,"id":"publisher","selector":"td:nth-of-type(3)","regex":"","delay":""},{"parentSelectors":["entry"],"type":"SelectorText","multiple":false,"id":"japan-release-date","selector":"td:nth-of-type(4) span:nth-of-type(2)","regex":"","delay":""},{"parentSelectors":["entry"],"type":"SelectorText","multiple":false,"id":"europe-release-date","selector":"td:nth-of-type(5) span:nth-of-type(2)","regex":"","delay":""},{"parentSelectors":["entry"],"type":"SelectorText","multip
apt-get purge adwaita-icon-theme alex4 alex4-data blueman colord colord-data faenza-icon-theme gnome-icon-theme gnome-desktop3-data gnome-keyring gnome-mplayer gnome-packagekit gnome-packagekit-data gnome-packagekit-session gnome-settings-daemon gnumeric gnumeric-common iceweasel xserver-xorg xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-video-fbdev xorg xfce4 xfce4-appfinder xfce4-datetime-plugin xfce4-mixer xfce4-notifyd xfce4-panel xfce4-power-manager xfce4-power-manager-data xfce4-screenshooter xfce4-session xfce4-settings xfce4-taskmanager xfce4-terminal xfconf xfdesktop4 xfdesktop4-data xfonts-100dpi xfonts-75dpi xfonts-base xfonts-encodings xfonts-scalable xfonts-utils xfwm4 xfce-keyboard-shortcuts xauth xarchiver x11-xserver-utils x11-xkb-utils x11-utils x11-session-utils x11-common x11-apps volti viewnior tumbler tumbler-common thunar thunar-archive-plugin thunar-data thunar-volman spout orage network-manager-gnome mplayer2 lightdm lightdm-gtk-greeter leafpad
@mkroman
mkroman / .zshrc
Last active January 21, 2016 01:16
My personal favorite and minimal .zshrc for servers
# This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
# means.
#
# In jurisdictions that recognize copyright laws, the author or authors
# of this software dedicate any and all copyright interest in the
# software to the public domain. We make this dedication for the benefit
@mkroman
mkroman / Jellybeans colorscheme for PuTTY.reg
Created January 10, 2016 08:39
Jellybeans colorscheme for PuTTY - Replace "Default%20Settings" with your sessions name if you want to change a session other than default.
Windows Registry Editor Version 5.00
; Jellybeans colorscheme for PuTTY
[HKEY_CURRENT_USER\SOFTWARE\SimonTatham\PuTTY\Sessions\Default%20Settings]
"Colour0"="232,232,211"
"Colour1"="232,232,255"
"Colour2"="18,18,18"
"Colour3"="18,18,18"
@mkroman
mkroman / fish.rb
Created December 17, 2015 14:46
A bunch of scripts I once made for weechat
# the oh-so-famous fish encryption for weechat.
# Copyright (C) 2010, Mikkel Kroman <mk@maero.dk>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@mkroman
mkroman / Looks of Unicode.md
Last active December 17, 2015 12:45
Unicode emoticons.

List of unicode emoticons

Look of Wat: ⚀_⚁
Look of Madness: ↻_↺
Look of Glasses: ▣_▣
Look of Disbelief: ☉_☉
Look of Seriousness: ⚀_⚀, ♉_♉
Look of Tranquillity: ◎_◎, ◉_◉
Look of Transcendence: ↂ_ↂ
Look of Shutter Shades: ◍_◍
@mkroman
mkroman / GPG Capabilities.md
Last active July 9, 2018 07:02
GPG key capabilities and usage meanings

Signing is signing data (i.e. gpg --sign the_file)

Certification is signing a key (i.e. gpg --sign-key the_key)

Authentication is signing a challenge (like ssh does). The Authentication stuff can be used to log in to a machine using your GPG key.

The signature math is the same however you do it. The key usage flags are just to classify things.

Keybase proof

I hereby claim:

  • I am mkroman on github.
  • I am mkn (https://keybase.io/mkn) on keybase.
  • I have a public key whose fingerprint is 3FD3 9B74 B16E FE19 5D90 38DE EFB6 7C4F CFD3 219C

To claim this, I am signing this object:

@mkroman
mkroman / local-time-byte-size.c
Created September 12, 2014 22:59
A sad little tool for determining the minimum size for a character array that is supposed to hold the contents of strftime's %X specifier when supporting multiple locales.
/*
* Copyright (c) 2014, Mikkel Kroman <mk@maero.dk>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions: