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
ಠ_ಠ |
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
☃ |
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
#!/bin/bash | |
# Hacky script to see what we have that's not in SVN, | |
# and what we don't have that's in SVN | |
listfile="dirlist.txt" | |
svnfile="svnlist.txt" | |
rm $listfile $svnfile | |
touch $listfile $svnfile |
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
(ノ゜ω゜)ノ |
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
revision=`svn info https://svn.hubteam.com/svn/python/${missing} | grep Rev: | gcut -c19-` | |
echo "git svn clone -r $revision https://svn.hubteam.com/svn/python/${missing}" |
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
#!/usr/bin/env python | |
def main(): | |
choices = ['Touch her boobs', | |
'Fondle her butt', | |
'Put it in', | |
'Put it in...with rape'] | |
subchoices = ['Finger her pussy', 'Lick her nipple', 'Eat her kitty'] |
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
#include <stdio.h> | |
#include <string.h> | |
typedef union { | |
double ds[2]; | |
char ca[16]; | |
} Funion; | |
char funyuns[10]; | |
int main() { |
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
#include <vector> | |
#include <unordered_map> | |
#include <iostream> | |
#include <stdint.h> | |
//#include <deque> | |
const int WIDTH = 32; | |
const int HEIGHT = 10; | |
const int SBLOCK = 2; | |
const int LBLOCK = 3; |
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
from collections import namedtuple | |
# the seq above should produce 9 (3 up, 3 wide from [4,3,3]). | |
# if we start with 4 add it to a list. If we encounter 3, then it's lower than 4, so remove 4 from the list. Then encounter 3 again, then encounter 1. | |
Bar = namedtuple('Bar', ['index', 'height']) | |
def max_rec(seq): |
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
#include <string> | |
#include <algorithm> | |
// convert an integer to string | |
std::string integer_to_ascii(int val) { | |
std::string ret; | |
// ex: given 2345, convert to "2345" | |
int valCopy = val; | |
bool isNegative = false; | |
if (valCopy < 0) { |
OlderNewer