Created
April 7, 2019 10:25
-
-
Save sn99/2165f173b15e3acad2ce79d506a1adf8 to your computer and use it in GitHub Desktop.
Wakatime Hack
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 | |
x=0 | |
while true | |
do | |
printf "Haha " >> haha | |
x=$((x+1)) | |
sleep $(( ( RANDOM % 10 ) + 1 )) | |
if [ $x -eq 18 ] | |
then | |
x=0 | |
printf "\n" >> haha | |
echo Active time : $SECONDS seconds | |
fi | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
haha
in the same folder asjoker.sh
chmod +x joker.sh
haha
andjoker.sh
./joker.sh
Add an extension to
haha
eg.haha.c