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 / 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;
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 / 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: "") {
@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 <[email protected]>"
from HTMLParser import HTMLParser
from urlparse import urljoin
from sys import setrecursionlimit
import re
import requests
setrecursionlimit(10000)
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 / 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>