Skip to content

Instantly share code, notes, and snippets.

@wendelhp
wendelhp / accuweather_location_codes_for_weatherparser.txt
Created May 14, 2019 02:09
Accuweather location codes for WeatherParser
City Name = "Aachen, DE" Location = "EUR|DE|GM011|AACHEN" Country = "Germany"
City Name = "Aalborg, DK" Location = "EUR|DK|DA007|AALBORG" Country = "Denmark"
City Name = "Aalesund, NO" Location = "EUR|NO|NO007|AALESUND" Country = "Norway"
City Name = "Aare, SE" Location = "EUR|SE|SW006|AARE" Country = "Sweden"
City Name = "Aarhus, DK" Location = "EUR|DK|DA001|AARHUS" Country = "Denmark"
City Name = "Aba, NG" Location = "AFR|NG|NI008|ABA" Country = "Nigeria"
City Name = "Abadan, IR" Location = "MEA|IR|IR016|ABADAN" Country = "Iran"
City Name = "Abakan, RU" Location = "ASI|RU|RS033|ABAKAN" Country = "Russia"
City Name = "Abbotsford, CA" Location = "NAM|CA|BC|ABBOTSFORD" Country = "Canada"
City Name = "Abeokuta, NG" Location = "AFR|NG|NI000|ABEOKUTA" Country = "Nigeria"
@wendelhp
wendelhp / UnlimitedJCEPolicyJDK8-RHEL.sh
Created April 25, 2017 18:15 — forked from bmaupin/UnlimitedJCEPolicyJDK8-RHEL.sh
Install jce_policy-8.zip on RHEL/CentOS 6/7
# See here for JDK 7: https://gist.github.com/bmaupin/4396be4bb29c5ad440b6
# See here for test to make sure this works: https://gist.github.com/evaryont/6786915
if grep -q -i "release 6" /etc/*release; then
jce_primary_link_dir=/usr/lib/jvm/jre-1.8.0-oracle.x86_64/lib/security
elif grep -q -i "release 7" /etc/*release; then
jce_primary_link_dir=/usr/lib/jvm/jce-1.8.0-oracle
fi
wget \
@wendelhp
wendelhp / UnlimitedJCEPolicyJDK7-RHEL.sh
Last active April 25, 2017 18:17 — forked from bmaupin/UnlimitedJCEPolicyJDK7-RHEL.sh
Install UnlimitedJCEPolicyJDK7.zip on RHEL/CentOS
#!/usr/bin/env bash
if [[ -z "$JAVA_HOME" ]]; then
echo "[x] JAVA_HOME is unset. You should fix this before."
exit 1
fi
cd /tmp
wget \
--no-cookies \
--no-check-certificate \
@wendelhp
wendelhp / CL_PROTEUS_LNX.sh
Last active January 18, 2017 18:26
Bash - Applying Proteus baseline
#!/usr/bin/env bash
#
##################################################################
# Script para aplicar baseline da Proteus #
# 12 Jan 2016 - Wendel Amix - v1.0 #
##################################################################
#
# Historico / Atualizacoes
#
# Data: 17/Jan/2017 - Wendel