Skip to content

Instantly share code, notes, and snippets.

View EastonLee's full-sized avatar

Easton EastonLee

View GitHub Profile
@EastonLee
EastonLee / sitemap.xml
Created August 21, 2017 06:27 — forked from nandomoreirame/sitemap.xml
Jekyll sitemap.xml
---
layout: null
sitemap:
exclude: 'yes'
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for post in site.posts %}
{% unless post.published == false %}
<url>
@EastonLee
EastonLee / gsdproxy.py
Created September 1, 2016 04:32 — forked from ncode/gsdproxy.py
gevent simple dynamic reverse proxy
#!/usr/bin/env python
from gevent import monkey
monkey.patch_all()
import sys
import redis
import urllib2
import traceback
from cgi import escape
# -- gsdproxy