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 -e | |
i=0 | |
while true; do | |
echo "yadda yadda ||$i||" | |
sleep 3; | |
i=$(($i+1)) | |
done | |
#while true; do #HILARIOUS: |
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
def humanized_diff(L, delta): | |
""" | |
Convert the given (sorted!!) tabular diff to a string, | |
marked up with +s and -s, similar to regular diff(1)'s "-u" mode. | |
""" | |
D, A = delta | |
U, D = drop(L, D), [L[i] for i in D] | |
def prefix(v, S): |
NewerOlder