This file contains 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
:root { | |
--spacing-xl: 64px; | |
--spacing-large: 48px; | |
--spacing-base: 24px; | |
--spacing-small: 16px; | |
--spacing-tiny: 8px; | |
--spacing-micro: 4px; | |
--spacing-none: 0; | |
--break-xl: 1199x; |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am thenathanjones on github. | |
* I am thenathanjones (https://keybase.io/thenathanjones) on keybase. | |
* I have a public key ASDWqhDykhCLEmmD8K2RkcDry0grb-pPD5eFC1AtNzxbeQo | |
To claim this, I am signing this object: |
This file contains 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
#!/bin/bash | |
ssiFile=infra/ssi.txt | |
indexFile=build/index.html | |
tempDirectory=tmp | |
tempFile=$tempDirectory/index.html | |
mkdir -p $tempDirectory | |
awk 'NR==FNR{rep=(NR>1?rep RS:"") $0; next} {gsub("<ssi/>",rep)}1' $ssiFile $indexFile > $tempFile && mv $tempFile $indexFile |
This file contains 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
### | |
# Compass | |
### | |
# Susy grids in Compass | |
# First: gem install susy | |
# require 'susy' |
This file contains 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 Class1 | |
{ | |
public static void Main(string[] args) | |
{ | |
var buyTransactions = (new int[200000]).Select(b => new BuyTransaction()); | |
var sellTransactions = (new int[400000]).Select(b => new SellTransaction()); | |
var transactions = buyTransactions.Concat<ITransaction>(sellTransactions); | |
var startTime = DateTime.Now; |
This file contains 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
param($URI, $Username, $Password) | |
function Test-FTP { | |
param($URI, $Username, $Password) | |
if (!$URI -or !$Username -or !$Password) { | |
throw "URI, Username and Password are all required" | |
} | |
$Error.Clear() |
This file contains 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.ComponentModel; | |
using System.ComponentModel.DataAnnotations; | |
using System.Linq; | |
using System.Web.Mvc; | |
namespace TECCWAMembership.Models | |
{ | |
public class MembershipForm |