I hereby claim:
- I am darookee on github.
- I am darookee (https://keybase.io/darookee) on keybase.
- I have a public key whose fingerprint is E64E 8617 8CA3 A555 077A 970F 8E36 2C10 85D5 2CBA
To claim this, I am signing this object:
| ;(function(){ | |
| function addEvent(evnt, elem, func) { | |
| if (elem.addEventListener) // W3C DOM | |
| elem.addEventListener(evnt,func,false); | |
| else if (elem.attachEvent) { // IE DOM | |
| elem.attachEvent("on"+evnt, func); | |
| } | |
| else { // No much to do | |
| elem[evnt] = func; | |
| } |
| #!/bin/bash | |
| # https://www.reddit.com/r/commandline/comments/35zs03/systemd_replacement_for_service_statusall/cr9f13q | |
| for t in $(systemctl --type help | grep -v "^Available"); do | |
| echo -e "\n---------- ${t^^} ----------" | |
| systemctl --all --no-pager --type="$t" --show-types | |
| done |
| #!/bin/bash | |
| #depends on: imagemagick, i3lock, scrot | |
| #https://www.reddit.com/r/unixporn/comments/3358vu/i3lock_unixpornworthy_lock_screen/cqilnv3 | |
| IMAGE=/tmp/lockscreen.png | |
| TEXT=/tmp/locktext.png | |
| ICON=/home/badel/Pictures/Icons/Lock-icon.png | |
| scrot $IMAGE |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| export carmusicdir=~/automusik/ | |
| subpath() | |
| { | |
| echo "$1" | rev | cut -d"/" -f1-$2 | rev | |
| } | |
| case "$1" in |
| <?php | |
| namespace R\UmlBundle\Command; | |
| use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; | |
| use Symfony\Component\Console\Input\InputInterface; | |
| use Symfony\Component\Console\Output\OutputInterface; | |
| use Doctrine\Common\Persistence\Mapping\ClassMetadata; |
| fancy-ctrl-z () { | |
| if [[ $#BUFFER -eq 0 ]]; then | |
| fg | |
| zle redisplay | |
| else | |
| zle push-input | |
| zle clear-screen | |
| fi | |
| } | |
| zle -N fancy-ctrl-z |
| #compdef archive | |
| _archive() { | |
| actions=( | |
| 'ls:list archives or contents' | |
| 'rm:remove from achive' | |
| 'add:add folder to archive', | |
| 'restore:restore files from archive' | |
| 'stats:show archive stats' | |
| ) |
| /* See LICENSE file for copyright and license details. */ | |
| /* | |
| * appearance | |
| * | |
| * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html | |
| */ | |
| static char font[] = "Liberation Mono:pixelsize=12:antialias=false:autohint=false"; | |
| static int borderpx = 2; | |
| static int histsize = 2000; |
| <html> | |
| <head> | |
| <title>This is the Page-Title</title> | |
| </head> | |
| <body> | |
| <img src="/web/path/to/image.jpg" alt="image-title" /> | |
| </body> | |
| </html> |