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
| INFO global: Vagrant version: 2.3.3 | |
| INFO global: Ruby version: 2.7.6 | |
| INFO global: RubyGems version: 3.1.6 | |
| INFO global: VAGRANT_INSTALLER_VERSION="2" | |
| INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.3.3/gems/vagrant-2.3.3/bin/vagrant" | |
| INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded" | |
| INFO global: VAGRANT_INSTALLER_ENV="1" | |
| INFO global: VAGRANT_LOG="debug" | |
| WARN global: resolv replacement has not been enabled! | |
| DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.3.3/gems/vagrant-2.3.3/plugins/kernel_v1/plugin.rb |
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
| # Add SSH keys | |
| ssh-add -L >/dev/null 2>&1 | |
| if [ $? -eq 1 ]; then | |
| find ~/.ssh -maxdepth 1 -type f -regex '~/.ssh/id_[^.]*' -print0 | xargs -0 ssh-add | |
| fi |
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
| awk '{ if ($1<=1e7){SUM+=$3} else{print SUM; exit}}' |
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
| from collections import defaultdict as ddict | |
| dic = ddict(lambda: '<my_default_value>') |
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
| awk '{ if(max<$2) {max=$2} } END { print max }' |
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
| hashcat -m99999 -o ${BASENAME}.hc.ranks --outfile-format=10 --potfile-disable --markov-hcstat=${BASENAME}.hcstat2 --session=${BASENAME} --increment -a3 -1?l?u?d ${BASENAME} ?1?1?1?1?1?1?1?1?1?1 |
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
| hashcat --markov-hcstat=${FILEBASE}.hcstat2 --session=${FILEBASE} --increment --stdout -a3 -1?l?u?d ?1?1?1?1?1?1?1?1?1?1 |
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 <time.h> | |
| clock_t begin = clock(); | |
| /* here, do your time-consuming job */ | |
| clock_t end = clock(); | |
| double time_spent = (double)(end - begin) / CLOCKS_PER_SEC; |
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
| hcstat2gen < inputfile 2>/dev/null | xz --compress --format=raw --stdout -9e 2>/dev/null > output.hcstat2 |
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
| NUMBER=2880000000 | |
| awk '{ if ($1 < '"$NUMBER"') {print $0} }' |
NewerOlder