Attention: if you attempt to fork this gist, github will think that you are a spammer and you will have to confirm that you are human with them. Apparantly there are too many links in this list. Also I update it rather frequently (see revisions on the left), so it's probably wise to not fork it anyway.
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
# Safe Search Domains | |
# Paste / Add this to your Unbound config | |
local-data: "yandex.com A 213.180.193.56" | |
local-data: "yandex.ru A 213.180.193.56" | |
local-data: "yandex.ua A 213.180.193.56" | |
local-data: "yandex.by A 213.180.193.56" | |
local-data: "yandex.kz A 213.180.193.56" | |
local-data: "www.yandex.com A 213.180.193.56" | |
local-data: "www.yandex.ru A 213.180.193.56" | |
local-data: "www.yandex.ua A 213.180.193.56" |
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
#Before we can use the script, we have to make it executable with the chmod command: | |
#chmod +x ./go-executable-build.sh | |
#then we can use it ./go-executable-build.sh yourpackage | |
#!/usr/bin/env bash | |
package=$1 | |
if [[ -z "$package" ]]; then | |
echo "usage: $0 <package-name>" | |
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
/* | |
* Added additional null checks when closing the ResultSet and Statements. | |
* | |
* Thanks to pihug12 and Grzegorz Oledzki at stackoverflow.com | |
* http://stackoverflow.com/questions/5332149/jdbc-scriptrunner-java-lang-nullpointerexception?tab=active#tab-top | |
*/ | |
/* | |
* Modified: Use logWriter in print(Object), JavaDoc comments, correct Typo. | |
*/ | |
/* |