I hereby claim:
- I am brooksgarrett on github.
- I am brooksgarrett (https://keybase.io/brooksgarrett) on keybase.
- I have a public key whose fingerprint is B361 0C94 96DB A3EF B82D FB8D 7D03 5804 5781 3A91
To claim this, I am signing this object:
#!/bin/bash | |
dl_file=$(basename "$1") | |
filename=$(basename "$1" .docx) | |
wget $1 | |
echo Downloaded $dl_file | |
unoconv -f html $dl_file | |
echo Unoconv complete with exit $? | |
pandoc -f html -o $filename.md $filename.html | |
echo pandoc complete with exit $? |
I hereby claim:
To claim this, I am signing this object:
(@currentIndex + 1) % comments.length |
private String buildGetParameters(PingdomSearchOptions opts) | |
{ | |
// If the options object is null then don't set any parameters | |
if (opts != null) | |
{ | |
// Start with a string builder primed with ? | |
StringBuilder urlBuilder = new StringBuilder("?"); | |
// This bool is used to control adding the & character. Not needed unless Params > 1. | |
bool first = true; | |
// Start the loop through the object. |
public UInt32 hashIP(string ip) | |
{ | |
try | |
{ | |
string[] octets = ip.Split('.'); | |
UInt32 temp = ((Convert.ToUInt32(octets[0]) * 256 + Convert.ToUInt32(octets[1])) * 256 + | |
Convert.ToUInt32(octets[2])) * 256 + Convert.ToUInt32(octets[3]); | |
return temp; | |
} | |
catch (Exception e) |