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
function md5(string) { | |
function RotateLeft(lValue, iShiftBits) { | |
return (lValue<<iShiftBits) | (lValue>>>(32-iShiftBits)); | |
} | |
function AddUnsigned(lX,lY) { | |
var lX4,lY4,lX8,lY8,lResult; | |
lX8 = (lX & 0x80000000); | |
lY8 = (lY & 0x80000000); | |
lX4 = (lX & 0x40000000); |
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
echo "count: $1"; | |
echo "prompt: $2"; | |
echo "output_file_basename: $3"; | |
echo "prompt: $2" > prompt_$3.txt; | |
for i in $(seq 1 1 $1) | |
do | |
echo "python3.9 demo.py --prompt \"$2\" --output output_$3_$i.png"; | |
python3.9 demo.py --prompt "$2" --output output_$3_$i.png | |
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
Film Recommendations | |
Premam - 2015, Sai Pallavi, nivin | |
Ayyappanum Koshiyum | |
Driving License | |
Salalah Mobiles 2014 | |
ABCD: American-Born Confused Desi -2013 | |
Ustad Hotel - 2012 - Anwar Rasheed, Dulqer | |
bangalore days -2014 -Anjali Menon | |
Koode -2018 - Anjali Menon |
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
(AH&MIEDABAD) | |
(AH,.M~ | |
(AH-ABAD | |
(AH-MEDABAD) | |
(AH1l4lZlhlBAD) | |
(AHAMEDABAD) | |
(AHAfEDABAD) | |
(AHEME$ABAD) | |
(AHEMEDmAD) | |
(AHIMEDABAD) |
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
thinking of analysing commit messages | |
git log --pretty=format:'"%s"' --shortstat --no-merges | grep -v '^[[:space:]]*$' | grep -v 'changed.*insertion.*deletion\|changed.*insertion\| changed.*deletion' | |
if you want a cvs with multiple fields use this instead | |
git log --pretty=format:'"%h","%an","%aD","%s",' --shortstat --no-merges |
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
1899 26[3] | |
1900 36 76,094,000 0.047 NA | |
1901 54 77,584,000 0.070 negative increase47.12% | |
1902 79 79,163,000 0.100 negative increase43.38% | |
1903 117 80,632,000 0.145 negative increase45.40% | |
1904 172 82,166,000 0.209 negative increase44.26% | |
1905 252 83,822,000 0.301 negative increase43.62% | |
1906 338 85,450,000 0.396 negative increase31.57% | |
1907 581 87,008,000 0.668 negative increase68.82% | |
1908 751 88,710,000 0.847 negative increase26.78% |
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 ls-files | grep '\.rb$' | xargs -I FILE -- sh -c 'echo FILE ; ruby -c FILE ' |
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 | |
set -e | |
git log --pretty="%H" --author="$1" | while read commit_hash; do git show --oneline --name-only $commit_hash | tail -n+2; done | sort | uniq | |
#usage | |
# git modifiedby author |
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 ls-tree -r --name-only HEAD | while read filename; do | |
echo "$(git log -1 --format="%ad" --date=short -- $filename) $filename" | |
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
ls *.html | xargs -n1 cat | grep -o '[[:alnum:]+\.\_\-]*@[[:alnum:]+\.\_\-]*' | grep -v 'advqos@trai.gov.in' | sort | uniq | wc -l | |
# 119798 |
NewerOlder