root@localhost:~# find /usr/ports/14.0 -iname "*.SlackBuild" \
-exec grep -HE '^mkdir.*TMP.*PKG.*' {} \; | grep -v OUTPUT | sort
/usr/ports/14.0/audio/ario/ario.SlackBuild:mkdir -p $TMP $PKG
/usr/ports/14.0/audio/gmpc-plugins/gmpc-plugins.SlackBuild:mkdir -p $TMP $PKG
/usr/ports/14.0/audio/nero-aac/nero-aac.SlackBuild:mkdir -p $TMP $PKG
/usr/ports/14.0/business/ledger/ledger.SlackBuild:mkdir -p $TMP $PKG/usr
/usr/ports/14.0/desktop/cairo-dock-plugins/cairo-dock-plugins.SlackBuild:mkdir -p $TMP $PKG $OUPUT
/usr/ports/14.0/desktop/cairo-dock/cairo-dock.SlackBuild:mkdir -p $TMP $PKG $OUPUT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Converts http://www.nirsoft.net/countryip/mx.csv | |
# into a rules of tcpdump | |
# | |
# Copyright © 2015 Antonio Hernández Blas <hba.nihilismus@gmail.com> | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://www.wtfpl.net/ for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@slackware-current: cat missing-packages.log | |
Searching with ldd... | |
/usr/bin/capinfos [wireshark-1.12.2-x86_64-1_hba] => libgcrypt.so.11 [?] | |
/usr/bin/capinfos [wireshark-1.12.2-x86_64-1_hba] => libgcrypt.so.11 [?] | |
/usr/bin/capinfos [wireshark-1.12.2-x86_64-1_hba] => libgcrypt.so.11 [?] | |
/usr/bin/captype [wireshark-1.12.2-x86_64-1_hba] => libgcrypt.so.11 [?] | |
/usr/bin/captype [wireshark-1.12.2-x86_64-1_hba] => libgcrypt.so.11 [?] | |
/usr/bin/dftest [wireshark-1.12.2-x86_64-1_hba] => libgcrypt.so.11 [?] | |
/usr/bin/dftest [wireshark-1.12.2-x86_64-1_hba] => libgcrypt.so.11 [?] | |
/usr/bin/dftest [wireshark-1.12.2-x86_64-1_hba] => libgcrypt.so.11 [?] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Based on https://wiki.archlinux.org/index.php/Xrandr#Adding_undetected_resolutions | |
# For a gnu/linux virtual machine in qemu with -display=gtk | |
mode="$(cvt 1280 720 | tail -1 | sed 's/Modeline //')" | |
xrandr --newmode $mode | |
mode="$(cvt 1280 720 | tail -1 | sed 's/Modeline //' | sed 's/ .*//')" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Copyright © 2016 Antonio Hernández Blas <hba.nihilismus@gmail.com> | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://www.wtfpl.net/ for more details. | |
me=$(basename $0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# For conky's configuration file ($HOME/.conkyrc): | |
# ${if_running cmus} | |
# ${execi 03 (conky-cmus.py)} | |
# ${endif} | |
from subprocess import check_output | |
from re import match, compile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $HOME/.chrb.mksh | |
# chrb = (chruby + ruby-build) / mksh | |
# | |
# Copyright © 2013 Antonio Hernández Blas <hba.nihilismus@gmail.com> | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://www.wtfpl.net/ for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# About: shell script for a personal PostgreSQL instance / Slackware Linux | |
# Copyright © 2013 Antonio Hernández Blas <hba.nihilismus@gmail.com> | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://www.wtfpl.net/ for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# About: init script for vde_switch+dnsmasq+NAT / Slackware Linux | |
# Copyright © 2013 Antonio Hernández Blas <hba.nihilismus@gmail.com> | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://www.wtfpl.net/ for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Log file generated by | |
# | |
# './configure --disable-kmods --disable-pulse --enable-vde --enable-vnc --enable-hardening --disable-java' | |
# | |
***** Checking environment ***** | |
Determined build machine: linux.amd64, target machine: linux.amd64 | |
***** Checking kBuild ***** |