Skip to content

Instantly share code, notes, and snippets.

Austin Wise AustinWise

View GitHub Profile
View rword.sh
#/bin/bash
# Read four random bytes.
RAWVAL1="$(dd if=/dev/random bs=1 count=1 2> /dev/null)"
RAWVAL2="$(dd if=/dev/random bs=1 count=1 2> /dev/null)"
RAWVAL3="$(dd if=/dev/random bs=1 count=1 2> /dev/null)"
RAWVAL4="$(dd if=/dev/random bs=1 count=1 2> /dev/null)"
YVAL1=$(echo $RAWVAL1 | perl -e '$/ = undef; my $val = <STDIN>; print ord($val);')
YVAL2=$(echo $RAWVAL2 | perl -e '$/ = undef; my $val = <STDIN>; print ord($val);')
View MapDrivesService.cs
// Woah, full project now here:
// http://github.com/AustinWise/MapDrives/tree/master
using System.Diagnostics;
using System.ServiceProcess;
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
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 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 Iterator.cs
using System;
using System.Collections.Generic;
namespace ConsoleApplication15
{
class Program
{
static void Main(string[] args)
{
foreach (var f in Turtles())
View IteratorDecompiled.cs
internal class Program
{
// Methods
private static void Main(string[] args)
{
foreach (string f in Turtles())
{
Console.WriteLine(f);
}
}
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 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 430 semantic functions
evaluation
[[ 1 ]] σ = 1
^ meaning functions
[[ v ]] σ = σ(v)
^ state, mapping ids to values
[[e1 + e2]] σ = [[e1]]σ + [[e2]]σ
You can’t perform that action at this time.