Skip to content

Instantly share code, notes, and snippets.

View AwwCookies's full-sized avatar
🏠
Working from home

AwwCookies AwwCookies

🏠
Working from home
View GitHub Profile
(function() {
'use strict';
// Your code here...
Object.defineProperty(document, "hidden", { value : false});
console.log("Fuck you twitch :)");
})();
{
"_default": {
"1": {
"salt": "$2b$12$GUhqZjxSFGQ.9RzD/j1pte",
"flags": {
"is_admin": true
},
"username": "aww",
"password": "$2b$12$GUhqZjxSFGQ.9RzD/j1pteV0IOcUjixGkp6c1PCYnTDbPCemqAIRW"
}
@AwwCookies
AwwCookies / flaskwithcron.py
Created March 6, 2016 18:54 — forked from chadselph/flaskwithcron.py
flask with "cron"-like loop
from flask import Flask, render_template, jsonify, request
from threading import Timer, Thread
from time import sleep
app = Flask(__name__)
@app.route("/api/<method>")
def api(method):
data = {
"""
Colorize - nick and URL coloring for XChat/Hexchat
------------------------------------------------------------------------------
Copyright (c) 2013 Shaun Duncan and Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
@AwwCookies
AwwCookies / dm.py
Created June 26, 2015 09:38
Download Manager
#! /usr/bin/env python3
# dm.py
# This script cleans up the downloads folder
# For uncompress to work you need to install p7ip-full
import glob
import os
import time
import subprocess
@AwwCookies
AwwCookies / gear.csv
Created May 20, 2015 04:47
WoW Gear Database
Cape of Eternal Justice back 0 0 0 0 0 Nothing
Cape of the Trinity back 0 0 0 0 0 Nothing
Chromatic Cloak back 0 0 0 0 0 Nothing
Cloak of Clarity back 0 0 0 0 0 Nothing
Cloak of Concentrated Hatred back 0 0 0 0 0 Nothing
Cloak of Consumption back 0 0 0 0 0 Nothing
Cloak of Draconic Might back 0 0 0 0 0 Nothing
Cloak of Firemaw back 0 0 0 0 0 Nothing
Cloak of Flames back 0 0 0 0 0 Nothing
Cloak of Suturing back 0 0 0 0 0 Nothing
#!/usr/bin/env python2
import sqlite3
import sys
# Path to Tasker DB
DB_PATH = "/home/aww/tasker.db"
connection = sqlite3.connect(DB_PATH)
cursor = connection.cursor()
@AwwCookies
AwwCookies / irc_parse.py
Created April 23, 2015 23:50
irc parse
#!/usr/bin/env python
# -*- coding: utf-8 -*-
privmsg_msg = ':[email protected] PRIVMSG ##Aww-Test :Hello, World!'
join_msg = ':[email protected] JOIN ##Aww-Test'
part_msg = ':[email protected] PART ##Aww-Test :"good bye"'
quit_msg = ':[email protected] QUIT :Read error: Connection reset by peer'
notice_msg = ':[email protected] NOTICE Aww :Hello, World!'
mode_msg = ':[email protected] MODE ##Aww-Test +v Aww'
action_msg = ':[email protected] PRIVMSG ##Aww-Test :\x01ACTION Jumps\x01'
@AwwCookies
AwwCookies / name2nick.py
Last active August 29, 2015 14:18
A hexchat plugin that puts the persons real name [if known] next to their nick
import hexchat
import json
import os
__module_author__ = 'Aww'
__module_name__ = 'Nick to name'
__module_version__ = '1.0'
__module_description__ = 'Puts the persons real name [if known] next to their nick'
# SETTINGS
import xchat
import os
__module_author__ = 'Lunatrius'
__module_name__ = 'HighlightLog'
__module_version__ = '0.1'
__module_description__ = 'Logs highlights to a window, per-server basis.'
def catch_highlight(word, word_eol, userdata):