Skip to content

Instantly share code, notes, and snippets.

View gmontard's full-sized avatar

Guillaume Montard gmontard

View GitHub Profile
@gmontard
gmontard / nginx-lang.lua
Last active April 8, 2018 11:01 — forked from mauron85/nginx-lang.lua
Detect preferred language script for Nginx written in LUA
-------------------------------------------------------------------------------
-- HTTP Accept-Language header handler --
-- @originalAuthor: [email protected] --
-- @originalRepository: https://github.com/fghibellini/nginx-http-accept-lang--
-- @modifiedBy: [email protected] --
-- @originalgist: https://gist.github.com/mauron85/47ed1075262d9e020fe2 --
-- @modifedgist: https://gist.github.com/gmontard/b44534a3356c51d7047c --
-- @modifiedgist purpose: match geenral lang and not the region --
-- @license: MIT --
-- @requires: --
@gmontard
gmontard / export.xml
Created October 13, 2016 12:29
Jekyll export to Medium
---
layout: none
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wp="http://wordpress.org/export/1.2/">
<channel>
<title>{{ site.name }}</title>
<link>{{ site.url }}</link>
<description>{{ site.description | xml_escape }}</description>
<pubDate/>
### Keybase proof
I hereby claim:
* I am gmontard on github.
* I am g_montard (https://keybase.io/g_montard) on keybase.
* I have a public key ASBW7TSjVux78jpy7fA4fdjTy4GhY-NVrI40dTbnTcCHrwo
To claim this, I am signing this object: