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
# The following lines were added by compinstall | |
zstyle :compinstall filename '/home/kristi/.zshrc' | |
autoload -Uz compinit | |
compinit | |
# End of lines added by compinstall | |
HISTSIZE=1000 | |
SAVEHIST=1000 | |
setopt appendhistory | |
unsetopt beep |
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
from operator import itemgetter | |
from heapq import nlargest | |
from itertools import repeat, ifilter | |
# Python 3.1 has a builtin Counter class. | |
# This class mimics that functionality for Python 2.x | |
# | |
# Original code by Raymond Hettinger () | |
# Source http://code.activestate.com/recipes/576611/ | |
# Revision 11 |
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
/* | |
* OSQA theme style.css | |
* Modified the default OSQA style, removing a lot of backgrounds and drop shadows. | |
* | |
* Replace the file at osqa-server/forum/skins/default/media/style/style.css | |
* | |
* Original source from OSQA v0.9 beta2 | |
* Last modified: Feb 23, 2011 | |
*/ |
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
\documentclass{article} | |
\usepackage[margin=1.25in]{geometry} | |
\usepackage{graphicx} | |
\usepackage{titlesec} | |
\usepackage{amsmath} | |
\usepackage{amsfonts} % math fonts | |
\usepackage{amssymb} % extra math symbols | |
\usepackage{amsthm} | |
\usepackage{mathtools} | |
\usepackage{verbatim} % \begin{comment} multi-line comments \end{comment} |
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
% Redefine maketitle for more condensed title | |
\documentclass{article} | |
\usepackage{titlesec} | |
\usepackage{amsmath} | |
\usepackage{amsfonts} % fonts | |
\usepackage{amssymb} % extra symbols | |
%\usepackage{amsthm} % replace with ntheorem | |
\usepackage{graphicx} | |
\usepackage[margin=1.1in, top=.75in]{geometry} | |
\usepackage{mathtools} |
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
<?php | |
/* | |
Plugin Name: WP-Syntax Colorizer | |
Plugin URI: http://articles.akgfx.com/2008/04/wp-syntax-colorizer/ | |
Description: A plugin allowing you to easily set all the WP-Syntax color settings in one place. WP-Syntax was developed by Ryan McGeary. | |
Author: Arash Keshmirian | |
Version: 0.1 | |
Author URI: http://www.akgfx.com/ | |
*/ |
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
# Please enter the commit message for your changes. Lines starting | |
# with '#' will be ignored, and an empty message aborts the commit. | |
# On branch master | |
# Changes to be committed: | |
# (use "git reset HEAD <file>..." to unstage) | |
# | |
# modified: src/taikonome/Taikonome.as | |
# modified: taikonome.as3proj | |
# |
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
javascript:(function(){var%20t=0;function%20moar(){var%20e=document.querySelectorAll(%22a.pam%22);if(e.length%3E0){e[0].onclick();var%20e=document.querySelectorAll(%22input.stat_elem%22);for(var%20i=0;i%3Ce.length;i=i+1){e[i].click();}}else{t=setInterval(expand,3000);}}function%20expand(){var%20e=document.querySelectorAll(%22input.stat_elem%22);for(var%20i=0;i%3Ce.length;i=i+1){e[i].click();}if(e.length==0){clearInterval(t);}}t=setInterval(moar,1500);})(); |
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 urllib2 | |
app_id='123abc' | |
app_secret='987fed' | |
def get_app_access_token(app_id, app_secret): | |
app_login_url = 'https://graph.facebook.com/oauth/access_token?client_id={app_id}&client_secret={app_secret}&grant_type=client_credentials'.format(app_id=app_id, app_secret=app_secret) |
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 codecs | |
import json | |
import urllib2 | |
tcomm_id = '105089836262253' | |
natcomm_id = '134083046643371' | |
# Get token from | |
# https://developers.facebook.com/tools/explorer | |
# or create a fb app (https://developers.facebook.com/apps) |
OlderNewer