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 config | |
import re | |
import sys | |
from praw import Reddit | |
from prawcore import exceptions | |
args = ' '.join(sys.argv[1:]).strip() | |
if len(args) != 7: | |
print("Not a valid ID") |
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
$(window).on("load", function () { | |
hashRoute(location.hash.replace('#', '') || "index"); | |
}); | |
$(window).on('hashchange', function () { | |
hashRoute(location.hash.replace('#', '')); | |
}); | |
function hashRoute(route) { | |
$("html, body").animate({ scrollTop: 0 }, "fast"); |
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
use strict; | |
use Irssi 20020101.0250 (); | |
use vars qw($VERSION %IRSSI); | |
$VERSION = "1"; | |
%IRSSI = ( | |
authors => "Timo Sirainen, Ian Peters", | |
contact => "tss\@iki.fi", | |
name => "Nick Color", | |
description => "assign a different color for each nick", | |
license => "Public Domain", |
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
use strict; | |
use vars qw($VERSION %IRSSI); | |
use Irssi; | |
$VERSION = '0.01'; | |
%IRSSI = ( | |
authors => 'Mike Wolfe', | |
contact => '[email protected]', | |
name => 'noxd', | |
description => 'deal with idiots', | |
license => 'GPLv3', |
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
use strict; | |
use vars qw($VERSION %IRSSI); | |
use Irssi; | |
$VERSION = '0.9'; | |
%IRSSI = ( | |
authors => 'Mike Wolfe', | |
contact => '[email protected]', | |
name => 'salute', | |
description => 'This script salutes', | |
license => 'GPLv3', |
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 python | |
import json | |
import types | |
import logging | |
from datetime import datetime | |
from flask import Flask, Response, request, jsonify | |
from flask_restful import Resource, Api | |
from flask_sqlalchemy import SQLAlchemy | |
from werkzeug.exceptions import default_exceptions |
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 python | |
import hashlib | |
import json | |
import logging | |
import types | |
from datetime import datetime | |
from flask import Flask, Response, abort, redirect, request, jsonify | |
from flask_restful import Resource, Api | |
from flask_sqlalchemy import SQLAlchemy |
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 python | |
import json | |
import os | |
import requests | |
import time | |
debug = False | |
debug_path = 'debug' |
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 python | |
import os | |
import sys | |
import socket | |
import time | |
import re | |
import glob | |
import traceback | |
import collections |
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/perl -w | |
# USAGE: | |
# | |
# /RSAY <text> | |
# - same as /say, but outputs a coloured text | |
# | |
# /RME <text> | |
# - same as /me, but outputs a coloured text | |
# |