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
| <!--- Page(9074)=[Login] ---><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><META HTTP-EQUIV="EXPIRES" CONTENT="Sun, 25 Sep 2011 02:47:26 GMT"><META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"><TITLE>Verizon</TITLE><STYLE type="text/css">BODY {color: #000000; font-family: Verdana, Helvetica, Arial, sans-serif; background-color: #D32000; background-image: url('images/gradientstrip.gif'); background-repeat: repeat-x; } | |
| TD, INPUT, OPTION, SELECT {font-size: 11px} | |
| TD.GRID {border-left:1px solid #ffffff;border-top:1px solid #ffffff; border-right:1px solid #CCCCCC;border-bottom:1px solid #CCCCCC; color: #000000;} | |
| TD.GRID_NO_LEFT {border-left:0px;border-top:1px solid #ffffff; border-right:1px solid #CCCCCC;border-bottom:1px solid #CCCCCC; color: #000000;} | |
| TD.GRID_NO_RIGHT {border-left:1px solid#ffffff; border-top:1px solid #ffffff; border-right:0px;border-bottom:1px solid #CCCCCC; color: #000000;} | |
| .PAGE_HEADER {font-size: 14px;} | |
| .REMARK |
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
| /* | |
| jShaker jQuery Plugin | |
| (C)2010 ajaxBlender.com | |
| For any questions please visit www.ajaxblender.com | |
| or email us at support@ajaxblender.com | |
| */ | |
| ;(function($){ | |
| var element = {}; | |
| $.fn.jshaker = function(){ |
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 | |
| # Converts pyjamas-generated html code into more cleanly separated html and | |
| # javascript. | |
| import os | |
| import sys | |
| import re | |
| filename = sys.argv[1] |
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
| Array.prototype.binarySearch = function(find, comparator) { | |
| var low = 0, high = this.length - 1, i, comparison, prev_comparison; | |
| while (low <= high) { | |
| i = Math.floor((low + high) / 2); | |
| comparison = comparator(this[i], find); | |
| prev_comparison = comparison | |
| if (comparison < 0) { low = i + 1; continue; }; | |
| if (comparison > 0) { high = i - 1; continue; }; | |
| return i; | |
| } |
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
| Index: setup.py | |
| =================================================================== | |
| --- setup.py (revision 435) | |
| +++ setup.py (working copy) | |
| @@ -16,7 +16,7 @@ | |
| PYV8_HOME = os.path.abspath(os.path.dirname(__file__)) | |
| BOOST_HOME = None | |
| BOOST_PYTHON_MT = False | |
| -BOOST_STATIC_LINK = False | |
| +BOOST_STATIC_LINK = True |
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 time | |
| from random import randint | |
| from neo4j import GraphDatabase | |
| path = '/home/tierney/Downloads/neo4j-community-1.7/data/graph.db' | |
| _NUM_NODES = 1000000 | |
| db = GraphDatabase(path) | |
| def load(): |
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
| #!/bin/sh | |
| brew install python boost exiv2 | |
| curl -O http://launchpadlibrarian.net/61465005/pyexiv2-0.3.0.tar.bz2 | |
| tar xjvf pyexiv2-0.3.0.tar.bz2 | |
| cd pyexiv2-0.3.0 | |
| # https://answers.launchpad.net/pyexiv2/+question/140742 | |
| echo "env['FRAMEWORKS'] += ['Python']" >> src/SConscript |
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
| NSString *image_path = [[NSBundle mainBundle] pathForResource:@"koi" ofType:@"jpg"]; | |
| NSFileHandle *image_fh = [NSFileHandle fileHandleForReadingAtPath:image_path]; | |
| NSData *buffer = [image_fh readDataToEndOfFile]; | |
| NSString *base64_image = [QSStrings encodeBase64WithData:buffer]; | |
| NSLog(@"image %@.", [base64_image substringToIndex:25]); | |
| NSString *password = @"cryptogram"; | |
| NSString *sjcl_command = [NSString | |
| stringWithFormat:@"sjcl.encrypt(\"%@\", \"%@\");", | |
| password, base64_image]; |
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
| // Copyright 2012. Matt Tierney. BSD Style License. | |
| // Author: tierney@cs.nyu.edu (Matt Tierney) | |
| #ifndef _QUEUE_H_ | |
| #define _QUEUE_H_ | |
| #include <ctime> | |
| #include <deque> | |
| #include <pthread.h> | |
| #include <sys/time.h> |
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 sqlalchemy import create_engine, MetaData, Table | |
| from sqlalchemy.orm import sessionmaker, scoped_session, create_session, mapper | |
| from sqlalchemy.sql import exists | |
| db_engine = create_engine(DATABASE_CONNECTION_INFO, echo=False) | |
| metadata = MetaData(db_engine) | |
| DBSession = scoped_session( | |
| sessionmaker( | |
| autoflush=True, |
OlderNewer