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
| public class RabbitHole | |
| { | |
| public void Down() | |
| { | |
| Down(); | |
| } | |
| } |
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
| ''' | |
| Created on May 12, 2009 | |
| @author: Justin Bozonier | |
| ''' | |
| import pysynth | |
| import random | |
| class MusicMatrix: | |
| def __init__(self): |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| namespace StringMatching | |
| { | |
| public class StringMatcher | |
| { | |
| private const string _OffByOneLiteral = "."; |
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 __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(" ") |
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 __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: |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using Machine.Specifications; | |
| using NUnit.Framework.SyntaxHelpers; | |
| namespace StringManipulationTests | |
| { |
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
| 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 |
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
| 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" |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace FullTextSearch | |
| { | |
| public class TextSearch | |
| { | |
| private readonly AggregatedTextRepository _TextRepository; | |
| private readonly TextVectorBuilder _VectorBuilder; |
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
| DataAccess = MockRepository.GenerateStub<IAtb2ViewStateDataAccess>(); | |
| DataAccess.Expect(x => x.GetViewStates(null)) | |
| .IgnoreArguments() | |
| .Return( | |
| new[] | |
| { | |
| SelectedViewState | |
| }.ToUserViewStateFileData()); |