Skip to content

Instantly share code, notes, and snippets.

View rinti's full-sized avatar
💭
🤠

Andreas Bernacca rinti

💭
🤠
View GitHub Profile
//NinjaLoot filter (Pot edition) //Updated for Patch 18 Flint. Last updated 7:06 PM 4/17/2020 by NatureHacker Forked from Anirml 01-29-2020 //OBS still missing new relic code!
//No Pot Link: https://www.dropbox.com/s/jk9u957wpvxib2x/item.filter?dl=1
//Pot Link: https://www.dropbox.com/s/sbm8qhcn2nn4jsv/item.filter?dl=1
//OBS autoupdate will remove any changes made to filter!
//Find item codes at: https://pathofdiablo.com/wiki/index.php?title=Loot_Filtration_Codes
//ctrl+f "catch" to familiarize yourself with the catch-all coding.
//Welcome message
ItemDisplay[isc CLVL<3]: %GREEN%NinjaLoot Begins Lvl 9 %GRAY%This message will self destruct at lvl 3
//Turn off filter before lvl 9
ItemDisplay[CLVL>1 AND CLVL<9]: %NAME%
@rinti
rinti / korv.py
Last active August 29, 2015 14:26
board_row = [
'x', 'x', 'x',
'o', 'o', 'o',
'', '', ''
]
board_col = [
'x', 'o', '',
'x', 'o', '',
'x', 'o', ''
]
@rinti
rinti / gist:c52ba822e0ee2a74aedf
Created November 2, 2014 21:18
Get latest database backup from Heroku, and add it to your development database. Assumes your database name is the same as the directory name.
#!/bin/bash
dropdb ${PWD##*/} && createdb ${PWD##*/} && heroku pgbackups:url | xargs curl > latest.dump && pg_restore -d ${PWD##*/} latest.dump --clean --no-acl --no-owner
"""
Check all possible permutations with a given length.
Dependencies: python-whois
Usage:
./domains.py <length> <timeout> <tld>
* Length: How many characters the domain name should be
* Timeout: How fast between checkups to whois (recommended: 2, to not get throttled)
* tld: tld.