This blog post series has moved here.
You might also be interested in the 2016 version.
;;; -*- coding: utf-8; mode: emacs-lisp; -*- | |
;;; init-loader.el --- | |
;; Author: IMAKADO <[email protected]> | |
;; Author's blog: http://d.hatena.ne.jp/IMAKADO (japanese) | |
;; Prefix: init-loader- | |
;; This file is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation; either version 2, or (at your option) |
# copy from https://github.com/lxneng/homebrew/commit/25da1bef5a9631315e078a5124c91ec785ff5efe#commitcomment-792526 | |
# install | |
# curl -sL https://raw.github.com/gist/1475782/proxychains.rb > /usr/local/Library/Formula/proxychains.rb | |
# brew install proxychains | |
require 'formula' | |
class Proxychains < Formula | |
url 'http://pkgs.fedoraproject.org/repo/pkgs/proxychains/proxychains-3.1.tar.gz/4629c156001ab70aa7e98960eb513148/proxychains-3.1.tar.gz' |
import scala.slick.lifted.{TableQuery => _} | |
import scala.slick.ast._ | |
import scala.slick.driver._ | |
import scala.language.implicitConversions | |
/** Extends QueryInvoker to allow overriding used SQL statement when executing a query */ | |
trait OverridingInvoker extends JdbcDriver{ | |
// get the extended QueryInvoker into the .simple._ implicits | |
override val Implicit: Implicits = new Implicits | |
override val simple: Implicits with SimpleQL = new Implicits with SimpleQL |
This blog post series has moved here.
You might also be interested in the 2016 version.
export const CACHE_STALE_AT_HEADER = 'x-edge-cache-stale-at'; | |
export const CACHE_STATUS_HEADER = 'x-edge-cache-status'; | |
export const CACHE_CONTROL_HEADER = 'Cache-Control'; | |
export const CLIENT_CACHE_CONTROL_HEADER = 'x-client-cache-control'; | |
export const ORIGIN_CACHE_CONTROL_HEADER = 'x-edge-origin-cache-control'; | |
enum CacheStatus { | |
HIT = 'HIT', | |
MISS = 'MISS', | |
REVALIDATING = 'REVALIDATING', |