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
[out:json] | |
[timeout:90] | |
; | |
( area[name="South Sudan"]; )->.searchArea; | |
relation | |
["admin_level"~"^[2,4,5]$"] | |
["type"="boundary"] | |
(area.searchArea); | |
(._;>;); |
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
/** | |
* Geocode address using Google Maps | |
* | |
* @param address the address to geocode | |
* @return the geocoded address (possibly approximate) | |
*/ | |
function GEOCODE(address) { | |
var location = Maps.newGeocoder().geocode(address).results[0].geometry.location; | |
return [[location.lat, location.lng]]; | |
} |
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
=IF(ISNA(VLOOKUP(LEFT(A1,8),'Country codes'!A:B,2,FALSE)), | |
IF(ISNA(VLOOKUP(LEFT(A1,7),'Country codes'!A:B,2,FALSE)), | |
IF(ISNA(VLOOKUP(LEFT(A1,6),'Country codes'!A:B,2,FALSE)), | |
IF(ISNA(VLOOKUP(LEFT(A1,5),'Country codes'!A:B,2,FALSE)), | |
IF(ISNA(VLOOKUP(LEFT(A1,4),'Country codes'!A:B,2,FALSE)), | |
IF(ISNA(VLOOKUP(LEFT(A1,3),'Country codes'!A:B,2,FALSE)), | |
IF(ISNA(VLOOKUP(LEFT(A1,2),'Country codes'!A:B,2,FALSE)),, | |
VLOOKUP(LEFT(A1,2),'Country codes'!A:B,2,FALSE)), | |
VLOOKUP(LEFT(A1,3),'Country codes'!A:B,2,FALSE)), | |
VLOOKUP(LEFT(A1,4),'Country codes'!A:B,2,FALSE)), |
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
git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it | |
~/.bash_it/install.sh | |
ln -s /var/www/virtual/${USER} ~/virtual | |
uberspace-setup-svscan | |
uberspace-setup-mongodb |
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
uberspace-setup-redis |
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
# ezmlm Mailing Liste auf Uberspace anlegen. Mit Infos auf Deutsch. Nachrichten von fremden E-Mails werden moderiert, solche von Subscribern durchgelassen. | |
cd ~ | |
mkdir ezmlm | |
ezmlm-make -dghijSum -5 list@domain.tld -C /etc/ezmlm/de ~/ezmlm/list ~/.qmail-list list domain.tld | |
echo '[SUBJECT PREFIX]' > ~/ezmlm/list/prefix | |
# Damit Antworten auf Mailinglisten-Emails standardmäßig an die Mailingliste gehen (und nicht an den ursprünglichen Absender) - Achtung: nicht Standardkonform | |
echo 'reply-to' >> ~/ezmlm/list/headerremove # reply-to header von eingehender Nachricht entfernen | |
echo 'Reply-To: <#l#>@<#h#>' >> ~/ezmlm/list/headeradd # Mailinglist-Email-Adresse als reply-to header an ausgehende Nachrichten hinzufügen |
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
/* | |
I needed a way to restore the actual files from a Sourcemap. This is the easiest way I could come up with. | |
To use, replace the content of map with your actual sourcemap -- however, be careful to check the paths, as this script might overwrite anything in its way. | |
*/ | |
/* | |
MIT License | |
Copyright (c) 2016 Simon Ruf |