Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kiriakos on github.
  • I am kiriakos (https://keybase.io/kiriakos) on keybase.
  • I have a public key whose fingerprint is 8AD4 9A22 01E6 2466 94A8 53E1 3626 ABFF 4623 35B5

To claim this, I am signing this object:

@kiriakos
kiriakos / sorta-daemonize.sh
Created June 8, 2012 09:42
rudimentary daemonize (push a command through an infinite loop)
#! /bin/bash
## Daemonizes $1 (calls it in an infinte loop)
#
# If you need to pass arguments to the executable pass freely after the command
# eg:
# /usr/local/sbin/sorta-daemonize echo -e "\thello"
LOG="/var/log/sorta-daemonize.log"
@kiriakos
kiriakos / kindly_mention_me.license
Created February 8, 2012 06:07
The "kindly mention me" license
"These works are published to be used.
You are allowed and encouraged to use
and modify them for any purpose You
can concieve.
These works in general come with no
guarantees whatsoever. You are to use
them on Your own risk.
If You do something illegal with
these works I will not be held
responsible.
@kiriakos
kiriakos / subdirize
Created February 5, 2012 17:58
subdirize: move files in the current directory into numbered sub directories
#! /bin/bash
# This is deprecated, up to date versions can be found @
# https://github.com/kiriakos/kind-linux-tools
#version: 0.0.0.0.0.0.1
#author: Kiriakos Krastillis
#licence: attribution (cc-by) http://creativecommons.org/licenses/by/3.0/
#requires: pargs (preferably v0.0.0.0.0.0.1)
## WARNING this is a script that has been written up hastily (see version),