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 --index-filter "git rm -rf --cached --ignore-unmatch .env" HEAD | |
git push --force | |
OR | |
git filter-branch --index-filter 'git rm --cached --ignore-unmatch .env' -- --all | |
git push -f origin <branch> |
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 | |
zenity --title="Shred Files BOX" --text="Drag file to below box" --entry --width=600 | cut -c 8- | tr -d '\r' >> /tmp/shredfiles | |
IFS=$'\n' read -d '' -r -a filess < /tmp/shredfiles | |
for ((i=0;i<${#filess[@]};i++)) | |
do | |
file=`python2 -c 'import sys, urllib; print urllib.unquote(sys.argv[1])' "${filess[$i]}"` | |
shred -uvz "$file" > /dev/null 2>&1 | |
done | |
rm /tmp/shredfiles |
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 | |
for a in {1487054155500..1487055000000} | |
do | |
if [ $((a%50)) = 0 ] | |
then | |
curl -s -I http://link.com/updateOTA_$((a)).zip | head -n1 & | |
curl -s -I http://link.com/updateOTA_$((a+1)).zip | head -n1 & | |
curl -s -I http://link.com/updateOTA_$((a+2)).zip | head -n1 & | |
curl -s -I http://link.com/updateOTA_$((a+3)).zip | head -n1 & | |
curl -s -I http://link.com/updateOTA_$((a+4)).zip | head -n1 & |