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
#!/bin/bash | |
# collect.sh | |
#Help infomation | |
function usage | |
{ | |
echo "usage: collect.sh [[-l file] [FILE]... | [-h]] " | |
} | |
#Move action |
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
#!/bin/bash | |
# reverse.sh | |
if [ $# -eq 0 ]; then | |
echo "No input log file." | |
exit | |
fi | |
if [ -f $1 ]; then | |
filecnt=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
git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"' |
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
sfml-graphics-s-d.lib | |
sfml-window-s-d.lib | |
sfml-system-s-d.lib | |
sfml-audio-s-d.lib | |
opengl32.lib | |
openal32.lib | |
winmm.lib | |
gdi32.lib | |
jpeg.lib | |
freetype.lib |
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
#!/bin/sh | |
function wait_mysql() { | |
while ! (docker exec -it $1 mysql -pmysql -e "SELECT 1;" > /dev/null) | |
do | |
echo "Wait 5s for $1..." | |
sleep 5 | |
done | |
} |
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
#!/bin/bash | |
### Setup SSH key | |
# https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent | |
echo "Creating an ed25519 SSH key..." | |
ssh-keygen -t ed25519 | |
# Note: If you are using a legacy system that doesn't support the Ed25519 algorithm, use: | |
echo "Creating an RSA SSH key..." | |
ssh-keygen -t rsa -b 4096 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.