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
#!/usr/bin/env bash | |
OIFS="$IFS" | |
IFS=$'\n' | |
for mfile in $(find /mnt/movies -type f -name '*.mkv' -o -name '*.mp4'); do | |
echo "Checking: " $(basename "$mfile" ) | |
has_subs="$( timeout 60 mediainfo '--Output=Text;%Language/String%, ' $mfile | grep -i 'english,' )" |
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
{ | |
"odata.metadata": "https://graph.windows.net/curimeta.com/$metadata#directoryObjects/@Element", | |
"odata.type": "Microsoft.DirectoryServices.ServicePrincipal", | |
"objectType": "ServicePrincipal", | |
"objectId": "5794215f-16e5-4eb9-ba2e-d6c594d57cea", | |
"deletionTimestamp": null, | |
"accountEnabled": true, | |
"addIns": [], | |
"alternativeNames": [], |
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 [[ -z $1 ]]; then | |
echo "a domain.tld is required" | |
exit 1 | |
fi | |
domain="$1" | |
URL_WO="$domain" |
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
11:50:29.395 [INFO] [org.gradle.internal.nativeintegration.services.NativeServices] Initialized native services in: /Users/gregory/.gradle/native | |
11:50:29.592 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Executing build 87a5d760-4b48-48ba-98d1-e1f84657714e in daemon client {pid=45695} | |
11:50:29.600 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface en5 | |
11:50:29.600 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false | |
11:50:29.600 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0:aede:48ff:fe00:1122%en5 | |
11:50:29.600 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface utun2 | |
11:50:29.600 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false | |
11:50:29.600 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0: |
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
bash-3.2$ export PACKER_LOG=1 | |
bash-3.2$ ./package.sh centos-base | |
Var-Files = -var-file=/tmp/credentials.json.nGXats | |
~/Documents/GitHub/devops-application/package/centos-base ~/Documents/GitHub/devops-application/package | |
2018/03/05 16:26:49 [INFO] Packer version: 1.2.2-dev (304376715d870fe086c4bdcab485e8135a925ce4+CHANGES) | |
2018/03/05 16:26:49 Packer Target OS/Arch: darwin amd64 | |
2018/03/05 16:26:49 Built with Go Version: go1.9.4 | |
2018/03/05 16:26:49 Detected home directory from env var: /Users/gregory | |
2018/03/05 16:26:49 Using internal plugin for amazon-ebssurrogate | |
2018/03/05 16:26:49 Using internal plugin for digitalocean |
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
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.ObjectInputStream; | |
import java.io.ObjectOutputStream; | |
import java.util.Hashtable; | |
public class StringInt { | |
public static void main(String[] args) { | |
Hashtable<String, Integer> ht = new Hashtable<String, Integer>(); |
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
INFO global: Vagrant version: 1.9.3 | |
INFO global: Ruby version: 2.2.5 | |
INFO global: RubyGems version: 2.4.5.1 | |
INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-1.9.3\\bin\\vagrant" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_LOG="debug" | |
INFO global: VAGRANT_OLD_ENV_="::=::\\" | |
INFO global: VAGRANT_OLD_ENV_ACLOCAL_PATH="C:\\Program Files\\Git\\mingw64\\share\\aclocal;C:\\Program Files\\Git\\usr\\share\\aclocal" |