This script checks a password is registered or not in Pwned Password. To keep secret on http request, the password will be encrypted with SHA1 hash.
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 | |
# | |
# sorted_diff.sh - Show differences for sorted inputs. | |
# Copyright (c) 2019 Koichi OKADA. All right reserved. | |
# This script distributed under the MIT license. | |
# | |
# Note: | |
# This script is wastefull. | |
# Use the `join` command included in the coreutils. |
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 | |
# | |
# run_once.bash - run command only once | |
# Copyright (c) 2019 Koichi OKADA. All right reserved. | |
# This script distributed under the MIT license. | |
# | |
function run_once () # [<command> [<args> ...]] | |
# Run [<command> [<args> ...]] only once. | |
# Return: |
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 | |
# | |
# fixtimestamp.sh - fix timestamp | |
# Copyright (c) 2019 Koichi OKADA. All rights reserved. | |
# This script is distributed under the MIT license. | |
# | |
if (( $# <= 0 )); then | |
cat <<-EOD | |
Usage: ${0##*/} [OPTIONS] <shifted_time> <correct_time> [<files> ...] |
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 | |
# | |
# Lap for du. | |
# Copyright (c) 2018 Koichi OKADA. All rights reserved. | |
# This script is destributed under the MIT license. | |
# | |
source hhs.bash 0.2.0 | |
function init_lapdu () |
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
.PHONY: all clean | |
TARGETS=maginfo | |
LIBS=`cygpath -S`/Magnification.dll | |
all: $(TARGETS) | |
maginfo: maginfo.cpp | |
$(CXX) -o $@ $< $(LIBS) |