I hereby claim:
- I am teaearlgraycold on github.
- I am teaearlgraycold (https://keybase.io/teaearlgraycold) on keybase.
- I have a public key ASDOZ0Puk-IW-N2cxcr3anGElG0CJmoyBowYR7IibTdPcQo
To claim this, I am signing this object:
| # Reddit mod log parser | |
| # Author: teaearlgraycold | |
| # | |
| # Scans through one month of mod log history and outputs a .csv, the first | |
| # column being the date of the mod actions, and each subsequent column the | |
| # count of mod actions for each moderator (only includes moderators currently | |
| # registered to the subreddit). | |
| # | |
| # So each line ends up being a summary for that day's moderator activity. |
| #!/bin/bash | |
| # Author: teaearlgraycold | |
| # Builds Spigot.jar and places it in the current directory. | |
| CURRENTDIR=`pwd` | |
| BUILDDIR=/tmp/spigot-buildtools | |
| if ! [ -x "$(command -v git)" ]; then | |
| echo "Installing git" | |
| sudo apt-get update |
I hereby claim:
To claim this, I am signing this object:
| /* This script is meant to be ran in the development console of your browser, | |
| * and executed while on the GitHub issues page. | |
| * Edit it as needed to match your issues. | |
| */ | |
| var query_list = (elem, query) => { | |
| return Array.prototype.slice.call(elem.querySelectorAll(query)); | |
| }; | |
| var priority_labels = ['High', 'Medium', 'Low']; |
| import requests | |
| import re | |
| import sys | |
| import time | |
| import json | |
| import sqlite3 | |
| from websocket import create_connection, WebSocket | |
| colors = [ |
| import requests | |
| from PIL import Image | |
| bitmap_width = 1000 | |
| bitmap_height = 1000 | |
| colours = [ | |
| (0xff, 0xff, 0xff), # #FFFFFF | |
| (0xe4, 0xe4, 0xe4), # #E4E4E4 | |
| (0x88, 0x88, 0x88), # #888888 | |
| (0x22, 0x22, 0x22), # #222222 |
Crystal Source Code:
def factorial(n)
n < 2 ? 1 : n * factorial(n - 1)
end
if ARGV.size > 0
n = ARGV.first.to_u64
puts factorial(n)| import numpy as np | |
| classifier_config_dict_light = { | |
| # Classifiers | |
| 'sklearn.naive_bayes.GaussianNB': { | |
| }, | |
| 'sklearn.naive_bayes.BernoulliNB': { | |
| 'alpha': [1e-3, 1e-2, 1e-1, 1., 10., 100.], |
| // Automatically render all elements of type pre.math as latex equations. | |
| (function() { | |
| var math_elements = document.querySelectorAll('pre.math'); | |
| math_elements.forEach(function(e) { | |
| e.innerHTML = katex.renderToString(e.innerText); | |
| }); | |
| })(); |
| import bs4 as bs | |
| import sqlite3 | |
| import requests | |
| import datetime | |
| def db_setup(conn): | |
| c = conn.cursor() | |
| c.execute("""CREATE TABLE IF NOT EXISTS classes ( | |
| subject_code TEXT, |