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 | |
dbfile=~/.local/share/linphone/friends.db # the sqlite3 database from linphone used for the address book | |
contactsdir=~/.contacts # the directory that is used by vdirsyncer to place the vcf files | |
asterisk_hostname=ned # use your asterisks hostname here | |
# vcard parser | |
# sed 's/.\{75\}/&\n /g' | |
# get all the lines that begin with space and join them to the previous one | |
# all the lines end up in an array called lines |
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
# Freifunk CLAT Issue | |
* We have a client c connected to a Freifunk node n | |
* C obtains an ipv4address 10.139.12.13 from n via dhcp | |
* n has an ipv4 next-node-address of 10.139.0.1 | |
* n is connected to the rest of the freifunk infrastructure via VPN with MTU m | |
* The freifunk infrastructure is ipv6-only. | |
* n runs a clat kernel module translating ipv4 to ipv6 such that c can connect | |
anywhere in ipv6-land. |
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 | |
# this is working under the assumption that oid are 4 digit only. | |
odir=oid | |
bdir=background | |
adir=audio | |
cdir=codes | |
yamlfile=$1 | |
density=600 |
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 | |
output="$1" | |
dir="$2" | |
shopt -s nullglob | |
{ | |
echo product-id: $((RANDOM%1024)) | |
echo "media-path: $dir/%s" | |
echo "comment: An example GME file" | |
echo "init: $mode:=1" | |
echo "welcome: START" |
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
bridge name bridge id STP enabled interfaces | |
br-client 7fff.647002bbdb00 no eth0 | |
client0 | |
br-wan 7fff.647002bbdb01 no eth1 |