Skip to content

Instantly share code, notes, and snippets.

View vladkorotnev's full-sized avatar
💭
What's happening?

Akasaka Ryuunosuke vladkorotnev

💭
What's happening?
View GitHub Profile
@vladkorotnev
vladkorotnev / Readme
Created January 24, 2013 16:59
What to do if you want BooruSaver from GBBrowser Mac on 10.6 while GBBrowser itself is crashing on you
If you want BooruSaver on 10.6 and GBBrowser Mac crashes on you.
Rightclick GBBrowser's .app file, then in this window go to Contents-> Resources-> Open BooruSaver.saver, then click install.
Place the code below into: ~/Library/Preferences/com.vladkorotnev.boorusaver.plist
Use either a plist editor or TextWrangler or Nano in terminal.
Change 1 under 'absurd' to 0 to allow loading absurdres full images (goes very high on RAM!). If 1, loads sample for absurdres instead of full.
Change safebooru.org under 'board' to any Gelbooru-based board without http://
Change 4 under 'delay' to show each picture for more seconds.
Change tags under 'tags' to match your favourite search query :P
@vladkorotnev
vladkorotnev / getreading.py
Last active December 10, 2015 08:18
Get reading for a word
#!/usr/bin/env python
# coding=utf8
# do not touch the above or it will freak out
try:
from BeautifulSoup import BeautifulSoup
except:
print "REQUIRES BEAUTIFULSOUP!"
import urllib
import urllib2
@vladkorotnev
vladkorotnev / randomart.py
Last active October 13, 2015 20:18
gist 4176162 update for mod_python
from mod_python import apache
from BeautifulSoup import BeautifulSoup
import urllib
import subprocess
import random
import os,sys
import Image
@vladkorotnev
vladkorotnev / gbrandom.py
Created November 30, 2012 14:40
Random Gelbooru grabber
#!/usr/bin/env python
# -- CONFIG ------
isMacQL = 1 # mac quicklook for the lulz
debugLogging = 1 # logs
rootUrls=["http://gelbooru.com","http://vladkorotnev.dyndns.org:8081/art","http://safebooru.org/"]
# ----------------
try:
from BeautifulSoup import BeautifulSoup
except: