Skip to content

Instantly share code, notes, and snippets.

View TravisWhitehead's full-sized avatar

Travis Whitehead TravisWhitehead

View GitHub Profile
@TravisWhitehead
TravisWhitehead / test-ascii-auth-memcached.sh
Created August 20, 2020 16:57
Basic test of Memcached with ASCII authentication enabled.
#!/bin/bash
echo -n "username make_sure_length_matches_this_user_pass_string" | wc -c
# The key name doesn't matter when authenticating.
echo -e 'set foobar 0 0 55\r\nusername make_sure_length_matches_this_user_pass_string\r\nstats' | nc localhost 11211
@TravisWhitehead
TravisWhitehead / google-play-scraper-issue-395.txt
Created March 27, 2020 01:06
Error output for a google-play-scraper issue when I run the reproduction code.
Trying to list all categories for collection: topselling_free_games
Trying to list all categories for collection: topselling_paid_games
Trying to list all categories for collection: topselling_new_free_games
Trying to list all categories for collection: topselling_new_paid_games
FAILED to get apps from category TRAVEL_AND_LOCAL in collection topselling_new_free_games
Error: The collection topselling_new_free_games is invalid for the given category, top apps or new apps
at getParsedCluster (/Users/travis/research/aab/google-play-id-crawler/node_modules/google-play-scraper/lib/utils/parseCategoryApps.js:51:11)
at parseCategoryApps (/Users/travis/research/aab/google-play-id-crawler/node_modules/google-play-scraper/lib/utils/parseCategoryApps.js:71:22)
at /Users/travis/research/aab/google-play-id-crawler/node_modules/google-play-scraper/lib/list.js:29:29
at runMicrotasks (<anonymous>)
@TravisWhitehead
TravisWhitehead / matrix-irc.md
Created March 22, 2019 20:37 — forked from magical/matrix-irc.md
HOWTO connect to IRC with matrix (draft)

HOWTO connect to IRC with matrix

This guide explains how to connect to freenode channels via matrix, using riot.im.

  1. matrix.org runs a public freenode bridge.

  2. channels follow the pattern #freenode_#channel:matrix.org, so if you wanted to join #python on freenode, you'd type '#freenode_#python:matrix.org' into the join channel box in riot.im.

Keybase proof

I hereby claim:

  • I am traviswhitehead on github.
  • I am traviswhitehead (https://keybase.io/traviswhitehead) on keybase.
  • I have a public key ASC6B-6kAp5a3xZ6FGno9yDJGrVWMixkBT6n9o0XudZXJAo

To claim this, I am signing this object: