This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apache apisix benchmark script: https://github.com/iresty/apisix/blob/master/benchmark/run.sh | |
Kong beanchmark script: | |
curl -i -X POST \ | |
--url http://localhost:8001/services/ \ | |
--data 'name=example-service' \ | |
--data 'host=127.0.0.1' | |
curl -i -X POST \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#continueButton').click() | |
var keeps = $("#pageContainer").parentsUntil('body').toArray().concat($("#pageContainer").children().toArray()) | |
var divs = $("div:not(#pageContainer)").toArray() | |
divs.filter(x => keeps.indexOf(x) < 0).forEach(x => x.remove()) | |
window.print() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local _M = { | |
scratchpad = {} | |
} | |
local yabai = string.gsub(hs.execute("which yabai", true), "%s+", "") | |
_M.init = function() | |
local output, status = _M.exec("query --windows") | |
if not status then return end |
OlderNewer