Skip to content

Instantly share code, notes, and snippets.

Austin Wise AustinWise

View GitHub Profile
View ReadSomeUniprot.cs
using System.IO;
using System.Xml;
using System.Xml.Linq;
namespace ConsoleApplication13
{
class Program
{
const string INPUT = @"C:\Users\awise\Downloads\uniprot_sprot.xml";
const string OUTPUT = @"C:\temp\uniprot";
View thing.s
.globl __start
.data
startupMessage: .asciiz "Austin Wise CPE 315 lab5\n"
overflowMessage: .asciiz "back after an overflow\n"
alignmentMessage: .asciiz "back after an alignment error\n"
bignum: .word 0x40000000
.text
View 430 semantic functions
evaluation
[[ 1 ]] σ = 1
^ meaning functions
[[ v ]] σ = σ(v)
^ state, mapping ids to values
[[e1 + e2]] σ = [[e1]]σ + [[e2]]σ
View Staley.xml
<?xml version="1.0" encoding="UTF-8"?>
<code_scheme name="Staley">
<option name="KEEP_LINE_BREAKS" value="false" />
<option name="KEEP_FIRST_COLUMN_COMMENT" value="false" />
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false" />
<option name="RIGHT_MARGIN" value="80" />
<option name="CALL_PARAMETERS_WRAP" value="1" />
<option name="METHOD_PARAMETERS_WRAP" value="1" />
<option name="EXTENDS_LIST_WRAP" value="1" />
<option name="THROWS_LIST_WRAP" value="1" />
View gist:644710
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Threading.Tasks;
namespace ConsoleApplication19
{
class Program
View IteratorDecompiled.cs
internal class Program
{
// Methods
private static void Main(string[] args)
{
foreach (string f in Turtles())
{
Console.WriteLine(f);
}
}
View Iterator.cs
using System;
using System.Collections.Generic;
namespace ConsoleApplication15
{
class Program
{
static void Main(string[] args)
{
foreach (var f in Turtles())
View lolwut.cs
public static int[,] DevStationMetric = {
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
View lol object graph.txt
G.Contract.ISetFactory -> G.Client.Common.SetFactory
G.Contract.ISetHandler -> G.Client.Common.Handlers.CreateSetHandler
G.Contract.IContentSetFactory -> G.Common.ContentSetFactory
Ninject.IKernel -> Ninject.StandardKernel
G.Contract.IContentSetPackage -> G.Common.BuiltInContentSetPackage
G.Contract.IExtractionManager -> G.Common.ExtractionManager
G.Contract.IUrlExtractor -> G.Client.Common.Extractors.GXmlUrlExtrator
G.Contract.IUrlExtractor -> G.Common.Extractor.UrlExtractor
Austin.Net.IDownloadManager -> G.Common.GDownloadManager
G.Contract.ISettings -> G.Common.FileBasedSettings
View good.txt
console player now has $100.0
Comp0 now has $100.0
Comp1 now has $100.0
Comp2 now has $100.0
event: the amount of money in the pot has changed
console player has SK CK
Comp0 has S2 S3
Comp1 has SQ HQ
Comp2 has H1 CJ
event: advanced to holdem.PreFlopBetGameState
You can’t perform that action at this time.