Skip to main content
tripleee's user avatar
tripleee's user avatar
tripleee's user avatar
tripleee
  • Member for 11 years, 10 months
  • Last seen more than a month ago
comment
Stackb0t | Messenger chatbot for Stack Overflow
The source wants an FB token so I guess it's Facebook Messenger.
revised
StackPrinter: The Stack Exchange Printer Suite
Add quoting; portability tweak for POSIX regex
Loading…
Loading…
revised
Loading…
comment
StackPrinter: The Stack Exchange Printer Suite
head -c-2 doesn't work on macOS, is the intent to get the first string of alphanumerics out of the URL? I guess sed 's/[^0-9]*//;s/[^0-9].*//' would do that in a single process. Of course, using parameter expansion would do it without any external process at all (but require several steps and maybe a temporary variable).
awarded
Loading…
comment
API "Hello World" code
@AdamSmith-MicrosoftAzure If you are using this code, I believe requests will transparently decompress any gzip-compressed results you fetch.
revised
API "Hello World" code
Add parentheses around print() to make this portable between Python 2 and Python 3
Loading…
comment
comment
davidism's sandbox and misc apps
The shanty link seems to be broken.
comment
StackExchangePy: Python3 wrapper for StackExchange API
Unfortunately, the Bitbucket link only has limited functionality (and even that requires you to enable JavaScript). The documentation link in the README is another 404; similarly, the code contains doc strings which link to this now-defunct location. By and large, this seems unmaintained and undocumented.
awarded
awarded
revised
Loading…
awarded