Skip to content

Instantly share code, notes, and snippets.

View shiitake's full-sized avatar

Shannon Barrett shiitake

View GitHub Profile
@shiitake
shiitake / cookieshelper.cs
Created April 22, 2021 16:27 — forked from stefanhendriks/cookieshelper.cs
A cookies helper class to easily read and set cookies on HttpRequest (Asp.Net Core)
public class CookiesHelper
{
// Inspired from:
// https://github.com/aspnet/Mvc/blob/538cd9c19121f8d3171cbfddd5d842cbb756df3e/test/Microsoft.AspNet.Mvc.FunctionalTests/TempDataTest.cs#L201-L202
public static IDictionary<string, string> ExtractCookiesFromResponse(HttpResponseMessage response)
{
IDictionary<string, string> result = new Dictionary<string, string>();
IEnumerable<string> values;
@shiitake
shiitake / nginx_basics.md
Created May 10, 2018 11:50 — forked from leommoore/nginx_basics.md
Nginx Basics

#Nginx Basics for Ubuntu

Please see http://wiki.nginx.org/Main for more information. See http://arstechnica.com/gadgets/2012/11/how-to-set-up-a-safe-and-secure-web-server/ for a tutorial on how to install Nginx.

##Installation To install, you can install the version which is in the standard Ubuntu repositories but it is normally quite old and will not have the latest security patches. The best way is to update the repositories first:

apt-get update
apt-get install python-software-properties

apt-get upgrade

  1. RTS
  2. arcade
  3. ARPG
  4. JRPG
  5. minigame
  6. sandbox
  7. platformer
  8. voxel
  9. racing
  10. first person