I hereby claim:
- I am mkaloer on github.
- I am mkaloer (https://keybase.io/mkaloer) on keybase.
- I have a public key whose fingerprint is 0642 8003 5E17 23BF D099 8E7C 1403 E1A1 B57A 59B2
To claim this, I am signing this object:
def less_than_guid(a,b): | |
""" | |
This implements the weird comparison method for sql server | |
GUID. | |
""" | |
groups = [slice(10,16), slice(8,10), slice(6,8), slice(4,6), slice(0,4)] | |
for g in groups: | |
if a.bytes[g] < b.bytes[g]: | |
return True | |
elif a.bytes[g] > b.bytes[g]: |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# Run chktex on 'report.tex'. Notice that this does not only test the staged files due | |
# to the recursive nature of chktex, but everything referenced by 'report.tex'. | |
# The chktex exit code cannot be used to distinguish a | |
# well formatted LaTeX document and a bad-formatted document, so we do that by grepping | |
# warings in the output. If the word "warning" has been written to the output, the output | |
# is printed to stdout. Also remove some chktex warnings of the form "chktex: WARNING --". | |
BODY=$( | |
output="$(chktex -q -V report.tex 2>&1 | grep -v 'chktex: WARNING --')"; | |
warn=$(echo $output | grep Warning); |