This file contains 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
69c69 | |
< var DEFAULT_INITIAL_FACILITATOR_POLL_INTERVAL = DEFAULT_INITIAL_FACILITATOR_POLL_INTERVAL || 60.0; | |
--- | |
> var DEFAULT_INITIAL_FACILITATOR_POLL_INTERVAL = DEFAULT_INITIAL_FACILITATOR_POLL_INTERVAL || 5.0; | |
472a473,485 | |
> /* | |
> * A FlashProxy. | |
> * | |
> * start() starts the FlashProxy. | |
> * |
This file contains 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
let g:ophigh_color = "#F92672" | |
" Copyright (C) 2011 by Strahinja Markovic | |
" | |
" Permission is hereby granted, free of charge, to any person obtaining a copy | |
" of this software and associated documentation files (the "Software"), to deal | |
" in the Software without restriction, including without limitation the rights | |
" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
" copies of the Software, and to permit persons to whom the Software is | |
" furnished to do so, subject to the following conditions: |
This file contains 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
" Vim color file | |
" Original: Damien Gombault <[email protected]> | |
" WWW: http://desintegr.googlecode.com/svn/config/vim/colors/monokai.vim | |
" Forked by: Andrew Nguyen <[email protected]> | |
" Last Change: 2013 Aug 6 | |
" Version: 0.2.0 | |
set background=dark | |
hi clear |
This file contains 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
colorscheme sublime | |
set guifont=Consolas:h11:cANSI | |
set nobackup | |
set expandtab | |
set tabstop=4 | |
set nu | |
set cursorline |
This file contains 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
<?xml version="1.0" encoding="Windows-1252" ?> | |
<!-- | |
Notepad++ Custom Style | |
Style name: Sublime Monokai | |
Author: Andrew Nguyen, Joni Eskelinen | |
Date: 2009-04-06 (last changed 2013-08-29) | |
Languages: php, html, css, xml, javascript, python, sql, c, c++, | |
assembly, bash, batch, lua at least for detail. Everything else more or less... | |
Info: Using Joni Eskelinin's Obsidian theme as a base, this theme |
This file contains 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 sys | |
import re | |
import shutil | |
f = open(sys.argv[1], 'r') | |
buf_file = open('probs/temp.py', 'w') | |
prob_pat = re.compile('^def (e_[0-9]+)\(\):') | |
e_name = '' | |
in_e = False |
This file contains 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
def build_adj_matrix(arr): | |
""" | |
Returns an adjacency matrix where elements a_0..a_i | |
, where i < j, are considered adjacent to a_j if | |
a_i < a_j. | |
""" | |
result = {} | |
for i in xrange(len(arr)): | |
result[i] = [] | |
for j in xrange(i): |