Skip to content

Instantly share code, notes, and snippets.

public class RabbitHole
{
public void Down()
{
Down();
}
}
'''
Created on May 12, 2009
@author: Justin Bozonier
'''
import pysynth
import random
class MusicMatrix:
def __init__(self):
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StringMatching
{
public class StringMatcher
{
private const string _OffByOneLiteral = ".";
from __future__ import with_statement
import random
def create_chain(file_paths):
word_counter = {}
previous_word = ""
for path in file_paths:
with open(path) as file:
for line in file:
words = line.split(" ")
from __future__ import with_statement
import random
def create_chain(file_paths):
markov_chain = {}
word1 = "\n"
word2 = "\n"
for path in file_paths:
with open(path) as file:
for line in file:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Machine.Specifications;
using NUnit.Framework.SyntaxHelpers;
namespace StringManipulationTests
{
Table
Name: AttributeTypes
Fields:
Name: AttributeID DataType: int AutoIncrement PrimaryKey
Name: DisplayName DataType: varchar(50)
Table
Name: UserAttributes
Fields:
Name: AttributeID DataType: int AutoIncrement PrimaryKey
Talking to James regarding why he doesn't like iTunes:
i never used it [iTunes] on a mac
it doesn't make any sense to me
I guess I just don't know how to "think mac"
cuz I'm like "Dude I want to do X"
and it's like "You are a fucking cunt for even thinking that"
and I'm like "Woah, Steve, I thought we were friends"
and he starts talking about my grandmother in like these really explicit ways
and I'm like "Dude, calm down she's 95"
using System;
using System.Collections.Generic;
using System.Linq;
namespace FullTextSearch
{
public class TextSearch
{
private readonly AggregatedTextRepository _TextRepository;
private readonly TextVectorBuilder _VectorBuilder;
DataAccess = MockRepository.GenerateStub<IAtb2ViewStateDataAccess>();
DataAccess.Expect(x => x.GetViewStates(null))
.IgnoreArguments()
.Return(
new[]
{
SelectedViewState
}.ToUserViewStateFileData());