This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Style updated: Tue, 18 Jun 2013 09:08:20 -0400 */ | |
/** Light Theme **/ | |
/* Body */ | |
body { | |
background-color: #F6F6F6; | |
font: normal x-small verdana,arial,helvetica,sans-serif; | |
width: 100%; | |
} | |
a { | |
color: #257372; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function unread_thing(e) { | |
var t = $(e); | |
t.hasClass("thing") || (t = t.thing()), | |
alterUnreadCount(1), | |
$(t).addClass("new unread") | |
} | |
function alterUnreadCount(e) { | |
var t = $(".message-count"); | |
t.length > 0 && t.text(parseInt(t.text(), 10) + e) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
###################### | |
# User configuration # | |
###################### | |
username = "" | |
password = "" | |
subreddit = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.side .md > ol:first-child { | |
left: 350px; | |
list-style: none outside none; | |
margin: 0; | |
padding: 0; | |
position: absolute; | |
top: 23px; | |
z-index: 200; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title+body (regex, includes): '(.*[\u0600-\u06FF\u0750-\u077F\uFB50-\uFDFF\uFE70-\uFEFF\u08A0-\u08FF\u0E80-\u0EFF\u0F00-\u0FFF\u20D0-\u20DC\u20E1\u20E5-\u20E6\u20EB-\u20EF\u0345\u05B0-\u05BD\u05BF\u05C1-\u05C2\u05C4-\u05C5\u05C7\u0610-\u061A\u064B-\u0657\u0659-\u065F\u0670\u06D6-\u06DC\u06E1-\u06E4\u06E7-\u06E8\u06ED\u0711\u0730-\u073F\u07A6-\u07B0\u0816-\u0817\u081B-\u0823\u0825-\u0827\u0829-\u082C\u08E4-\u08E9\u08F0-\u08FE\u0900-\u0902\u093A\u0941-\u0948\u0955-\u0957\u0962-\u0963\u0981\u09C1-\u09C4\u09E2-\u09E3\u0A01-\u0A02\u0A41-\u0A42\u0A47-\u0A48\u0A4B-\u0A4C\u0A51\u0A70-\u0A71\u0A75\u0A81-\u0A82\u0AC1-\u0AC5\u0AC7-\u0AC8\u0AE2-\u0AE3\u0B01\u0B3F\u0B41-\u0B44\u0B56\u0B62-\u0B63\u0B82\u0BC0\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4C\u0C55-\u0C56\u0C62-\u0C63\u0CBF\u0CC6\u0CCC\u0CE2-\u0CE3\u0D41-\u0D44\u0D62-\u0D63\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E4D\u0EB1\u0EB4-\u0EB9\u0EBB-\u0EBC\u0ECD\u0F71-\u0F7E\u0F80-\u0F81\u0F8D-\u0F97\u0F99-\u0FBC\u102D-\u1030\u1032-\u1036\u103D-\u103E\u1058-\u1059\u105 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a[href="#no"]:before { | |
content: "AGAINST"; | |
color: red; | |
padding: 0 3px; | |
margin: 0px 5px 3px 0px; | |
border: 1px solid red; | |
font-size: x-small; | |
font-weight: bold; | |
border-radius: 3px; | |
box-shadow: 1px 1px 2px #888; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
########## | |
# Config # | |
########## | |
# Dependencies: requests, praw 3, beautiful soup 4 | |
# Required config info: | |
# - A Reddit post | |
# - Reddit username and password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Config | |
hb_input = "hb_acct_data.json" | |
db_name = "hb_to_mal.db" | |
hb_user_agent = "Hummingbird anime info puller:v0.1" | |
mal_user_agent = "Hummingbird to MAL migration thingy:v0.1" | |
enable_mal_migrate = True | |
hb_username = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A file generated using Blink | |
// http://myanimelist.net/forum/?topicid=1133533 | |
// | |
// Blink settings: | |
// Save as: _covers.scss | |
// Selector: animetitle:before | |
// Here's an example of what it should generate | |
.animetitle[href*="/1/"]:before{background-image: url('http://cdn.myanimelist.net/images/anime/4/19644.jpg')} | |
.animetitle[href*="/50/"]:before{background-image: url('http://cdn.myanimelist.net/images/anime/2/17841.jpg')} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import praw, requests | |
from requests.auth import HTTPBasicAuth | |
def connect_reddit(oauth_key, oauth_secret, username, password, useragent, oauth_scopes={}): | |
r = praw.Reddit(user_agent=useragent) | |
# Get oauth token | |
client_auth = HTTPBasicAuth(oauth_key, oauth_secret) | |
headers = {"User-Agent": useragent} | |
data = {"grant_type": "password", "username": username, "password": password} |