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
# Maintainer: qs9rx < that nick at enjoys dot it> | |
# Contributor: David Manouchehri <d@32t.ca> | |
pkgname=dump1090-git | |
_gitname=dump1090 | |
pkgver=0.r386.bff92c4 | |
pkgrel=2 | |
pkgdesc="Dump1090 is a simple Mode S decoder for RTLSDR devices. MalcolmRobb fork. Git version." | |
arch=('i686' 'x86_64') | |
url="https://github.com/MalcolmRobb/dump1090" |
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/bash | |
if [ ! -t 0 ];then | |
file=/dev/stdin | |
elif [ -f $1 ];then | |
file=$1 | |
else | |
echo "Usage: $0 code.c" | |
echo "or e.g. cat code.c | $0" | |
exit 1 | |
fi |
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/bash | |
# | |
# Parses DHCP options from openvpn to update resolv.conf | |
# To use set as 'up' and 'down' script in your openvpn *.conf: | |
# up /etc/openvpn/update-resolv-conf | |
# down /etc/openvpn/update-resolv-conf | |
# To use the VPN DNS server for all domains (not only the VPN domains), | |
# add the public_dns flag to the script. (eg. when routing all traffic via vpn) | |
# | |
# Used snippets of resolvconf script by Thomas Hood <jdthood@yahoo.co.uk> |