Skip to content

Instantly share code, notes, and snippets.

View Ignotus's full-sized avatar
💭
I may be slow to respond.

Minh Ngo Ignotus

💭
I may be slow to respond.
  • University of Amsterdam
  • Kyiv, UA -> Amsterdam, NL
View GitHub Profile
@Ignotus
Ignotus / 30-income-calculon.pl
Created January 14, 2016 19:01 — forked from avar/30-income-calculon.pl
Calculate your income in The Netherlands with and without a 30% ruling.
# To check if this is up-to-date with the tax rates go to
# http://www.expatax.nl/tax-rates-2015.php and see if there's anything
# newer there.
#
# I make no guarantees that any of this is correct. I calculated this
# at the time and have been updating it when new tax rates come along
# because people keep finding this useful.
#
# There's also an interactive JS version of this created by
# @stevermeister at
http://download.lenovo.com/consumer/desktop/h1100408.exe
http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?cc=ru&lc=ru&dlc=ru&tmp_geoLoc=true&softwareitem=ob-105185-1
http://e5.onthehub.com/WebStore/ProductsByMajorVersionList.aspx?ws=7bac12f0-9f9b-e011-969d-0030487d8897&vsro=8
@Ignotus
Ignotus / scr.sh
Created September 22, 2012 09:09
how to remove your posts from psto.net
while true
do
RES=$(curl http://ignotus.psto.net/ |grep post-id |grep "#[a-z]*" | sed 's/.*\(#[a-z]*\).*/\"\1\"/g' |xargs)
for i in $RES
do
echo $i
./xsend.py psto@psto.net D $i
done
done
# - Try to find libmagic 5.07
# Once done this will define
#
# MAGIC_FOUND - system has libmagic
# MAGIC_INCLUDE_DIRS - the libmagic include directory
# MAGIC_LIBRARIES - Link these to use libmagic
#
# Copyright (C) 2011 Minh Ngo <nlminhtl@gmail.com>
#
# Redistribution and use is allowed according to the terms of the New