This file contains hidden or 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
; compile this script to generate sha1.exe | |
; drag the file to executable to compute it's sha1 | |
#include <Crypt.au3> | |
$sha1 = _Crypt_HashFile ($CmdLine[1], $CALG_SHA1) | |
MsgBox(0, 'Sha1 of ' & $CmdLine[1], $sha1) |
This file contains hidden or 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
#include <String.au3> | |
#include <AutoItConstants.au3> | |
#include <Crypt.au3> | |
; CODED WITH LOVE AND EXTREME GO HORSE METHOD | |
; Este script gera mapas do terraria usando o cliente até que os mapas tenha todos itens do array | |
; Leave terraria opened in window mode at world generation screen. | |
const $window_w = 1110 |
This file contains hidden or 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
/* | |
Creates a mapping like: | |
{ | |
'2': { # length 2 | |
'33': 'Card X' | |
}, | |
'1': { # length 1 | |
'4': 'Card Y', | |
} | |
} |
This file contains hidden or 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
#include <MsgBoxConstants.au3> | |
#include <Array.au3> | |
#include <GUIConstantsEx.au3> | |
#include <StaticConstants.au3> | |
#include <WindowsConstants.au3> | |
#include <WinAPISysWin.au3> | |
Func RunWaitFirefox() | |
Run('D:\Mozilla Firefox\firefox.exe') | |
Sleep(1000) |
This file contains hidden or 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 | |
mkdir -p "temp" | |
# install kubectl | |
kubectl version > /dev/null | |
if [ $? -eq 127 ]; then | |
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl | |
chmod +x ./temp/kubectl | |
sudo mv ./temp/kubectl /usr/local/bin/kubectl | |
fi |