Skip to content

Instantly share code, notes, and snippets.

View FMLS's full-sized avatar
🎯
Focusing

FMLS FMLS

🎯
Focusing
View GitHub Profile
@FMLS
FMLS / gist:537df9cfb1442c165c4ae6fcc095ad39
Created January 8, 2019 13:45 — forked from timvlaer/gist:721ba30f8fc6a7aac1b0190e132a4261
Install Thrift 0.9.3 with brew on macOS
brew unlink thrift
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/9d524e4850651cfedd64bc0740f1379b533f607d/Formula/thrift.rb
@FMLS
FMLS / redis.lua
Created October 11, 2016 06:33 — forked from moonbingbing/redis.lua
local redis_c = require "resty.redis"
local ok, new_tab = pcall(require, "table.new")
if not ok or type(new_tab) ~= "function" then
new_tab = function (narr, nrec) return {} end
end
local _M = new_tab(0, 155)