Skip to content

Instantly share code, notes, and snippets.

View scottstamp's full-sized avatar

Scott Stamp scottstamp

  • Hypermine Networks
  • St. John's, Newfoundland
View GitHub Profile
@scottstamp
scottstamp / BasicReq.cs
Created June 9, 2012 20:34 — forked from kersny/BasicReq.cs
Basic HTTP Request class (C#)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
namespace Obscure.ateTracks
{
/// <summary>
import glob
import os.path
import re
import sys
def proto():
path = ""
if not path:
ssh_dir = os.path.expanduser('~/.ssh')
pubkeys = glob.glob(os.path.join(ssh_dir, '*.pub'))
@scottstamp
scottstamp / docvalidate.py
Last active June 9, 2016 14:35
Utility for checking anchor links for the Docker documentation
""" I honestly don't even know how the hell this works, just use it. """
__author__ = "Scott Stamp <scott@hypermine.com>"
from HTMLParser import HTMLParser
from urlparse import urljoin
from sys import setrecursionlimit
import re
import requests
setrecursionlimit(10000)
@scottstamp
scottstamp / SassMeister-input.scss
Created January 28, 2015 05:42
Ungodly compliant rules for liqsym.com
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
// =============================================================================
// String Replace
// =============================================================================
@function str-replace($string, $search, $replace: "") {
package gz.azure.txt;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
/**
@scottstamp
scottstamp / IncomingGameMessageStructure.cs
Last active May 26, 2019 01:47
message structure for a C# Unity game WIP
using System;
namespace Game.Common.Messages.Incoming
{
public class ConfigurationMsg
{
public int ClothSellConversionRate;
public PriceData[] CraftingPrices;
public int HcToScConversionRate;
public int NewLabelDisplayDays;
public class ConfigurationMsg
{
public int ClothSellConversionRate;
public PriceData[] CraftingPrices;
public int HcToScConversionRate;
public int NewLabelDisplayDays;
public int NameChangePrice;
public int PartyCreationPrice;
public int PartyMaxParticipantCount;
public int ReportMaxAmountPerDay;
using System;
using System.Collections.Generic;
using System.Text;
namespace Hideaway.Hideaway.Messages
{
public enum IncomingHeaders : short
{
Ping = 2,
ProtocolVersion = 4,
using System;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace Sulakore.Network.Protocol
{
[DebuggerDisplay("Id: {Id} | {ToString()}")]

Keybase proof

I hereby claim:

  • I am scottstamp on github.
  • I am darkstar851 (https://keybase.io/darkstar851) on keybase.
  • I have a public key ASDV08iKddt2_rQry1a0OATbD8DC5DfIIsk0DoaZkuiXdQo

To claim this, I am signing this object: