Skip to content

Instantly share code, notes, and snippets.

http://www.bpolar.net/mp3/Damian%20Wasse%20-%20The%20Nature%20of%20Love%20Original%20mix.mp3
http://www.bpolar.net/mp3/Megatony%20My%20Style%20Original%20Mix.mp3
http://www.bpolar.net/mp3/The%20One.mp3
http://www.bpolar.net/mp3/peace%20maker%20(marty%20lake%20remix%20version%202).mp3
http://www.bpolar.net/mp3/Luca%20Citoli%20in%20Presence.mp3
http://www.bpolar.net/mp3/text%20toy.mp3
http://www.bpolar.net/mp3/Subconscious.mp3
http://www.bpolar.net/mp3/Can't%20Stop%20Now%20(Armor%20Love%20Remix).mp3
http://www.bpolar.net/mp3/Logic%20Sound%20-%20Alpha.mp3
http://www.bpolar.net/mp3/Cover%20My%20Eyes%20(%20Costra%20Nostra%20Edit).mp3
# euler 184
import sys
import math
if len(sys.argv) > 1:
radius = int(sys.argv[1])
else:
import sys
import math
if len(sys.argv) > 1:
radius = int(sys.argv[1])
else:
radius = 5
import math
radius = 105
width = (radius * 2) - 1
points = []
for x in xrange(-radius, radius+1):
for y in xrange(-radius, radius+1):
# Euler 184
import math
class Point:
def __init__(self, x, y):
self.x = x
self.y = y
// copy constructor
Matrix::Matrix(const Matrix &rhs)
{
if (this != &rhs) {
// newly created object
this->a = NULL;
// copy rhs to this
*this = rhs;
import re
import os
import glob
fnames = glob.glob('*.flac')
# encode files
for f in fnames:
digraph classes {
cs490;
cs299;
cs130;
cs375;
cs241 -> cs311;
cs264 -> cs408;
cs311 -> cs408;
cs400;
"""
Generate graph of prerequisites.
http://www.csupomona.edu/~cs/student/undergrad.shtml
"""
import urllib
import re
data = urllib.urlopen('http://www.csupomona.edu/~cs/student/undergrad.shtml').read()
elements = ['FINDING_ID', 'FINDING_STATUS', 'FINDING_DETAILS', 'SCRIPT_RESULTS', 'TOOL', 'TOOL_VERSION', 'AUTHENTICATED_FINDING', 'GD_VUL_NAME', 'GD_SEVERITY']
def process_finding(finding):
global elements
d = {}
for element in elements:
result = finding.getElementsByTagName(element)
# Element dne