Skip to content

Instantly share code, notes, and snippets.

View timawesomeness's full-sized avatar

Caylin timawesomeness

View GitHub Profile
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2370e97c..fb682fd7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -60,13 +60,6 @@ endif()
add_subdirectory(3rd/libirc/libirc libirc)
add_subdirectory(3rd/libirc/libircclient libircclient)
-# YAML
-option(YAML_CPP_BUILD_TOOLS "Disable tests" OFF)
import praw
from collections import Counter
from pprint import pprint
reddit = praw.Reddit(username="", password="", client_id="", client_secret="", user_agent="")
flairs = list(reddit.subreddit("teenagers").flair(limit=None))
print("Total flaired users:", len(flairs))
#!/usr/bin/python3
#################################################################
# Simple script to generate an Eddystone URL beacon as Bluetooth data readable by btmgmt
#
# To use: ./geneddystonebeacon.py [-p POWER] URL where POWER is an optional integer from -100 to 20 (per the Bluetooth spec) and
# URL is a URL including http(s):// to be broadcast by the beacon. Be aware that Physical Web (specifically Google Nearby)
# will not show the beacon unless you use https.
#
# To broadcast a beacon with that string: (as root)
@timawesomeness
timawesomeness / keybase.md
Created August 3, 2017 05:43
Keybase Proof

Keybase proof

I hereby claim:

  • I am timawesomeness on github.
  • I am timawesomeness (https://keybase.io/timawesomeness) on keybase.
  • I have a public key ASAksSD0bJWlAjEukvKOPBFpqakp6xrbxP9D6f9JPizDPQo

To claim this, I am signing this object:

@timawesomeness
timawesomeness / timbot.py
Last active November 29, 2015 07:33
timbot, a simple SSL IRC bot by timawesomeness
#*********************************************************************************#
# timbot v1.1 by timawesomeness #
# Requires Python 3 #
# Follow the commented instructions to set up; run with 'python timbot.py' #
# #
# Copyright 2015 timawesomeness #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License. #
# You may obtain a copy of the License at #