I hereby claim:
- I am cleblanc87 on github.
- I am cleblanc87 (https://keybase.io/cleblanc87) on keybase.
- I have a public key whose fingerprint is B26B ED1A DE69 AFCC 1F84 5102 25CD 60FC BE23 BB78
To claim this, I am signing this object:
CREATE ROLE readonly WITH LOGIN PASSWORD '<pw>'; | |
GRANT CONNECT ON DATABASE <db> TO readonly; | |
GRANT USAGE ON SCHEMA public TO readonly; | |
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readonly; | |
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readonly; | |
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON SEQUENCES TO readonly; | |
GRANT SELECT ON ALL SEQUENCES IN SCHEMA public TO readonly; | |
2018/07/12 14:17:26 [error] 51#0: *41291 failed to run log_by_lua*: /usr/local/share/lua/5.1/opentracing/span.lua:65: invalid tag value | |
stack traceback: | |
[C]: in function 'assert' | |
/usr/local/share/lua/5.1/opentracing/span.lua:65: in function 'set_tag' | |
.../local/share/lua/5.1/kong/plugins/zipkin/opentracing.lua:215: in function 'log' | |
/usr/local/share/lua/5.1/kong/plugins/zipkin/handler.lua:34: in function 'log' | |
/usr/local/share/lua/5.1/kong/init.lua:529: in function 'log' | |
log_by_lua(nginx-kong.conf:124):2: in function <log_by_lua(nginx-kong.conf:124):1> while logging request, client: 172.19.0.1, server: kong, request: "GET /surgeons?near=naples,fl&radius=30000 HTTP/1.1", upstream: "http://172.19.0.9:5000/surgeons?near=naples,fl&radius=30000", host: "surgeons.arthrex.xyz" | |
172.19.0.1 - - [12/Jul/2018:14:17:26 +0000] "GET /surgeons?near=naples,fl&radius=30000 HTTP/1.1" 200 3 "-" "PostmanRuntime/3.0.5" | |
172.19.0.1 - - [12/Jul/2018:14:17:27 +0000] "GET /surgeons?near=naples,fl&radius=30000 HTTP/1.1" 200 3 "-" " |
start: | |
docker-compose --project-name demo build | |
docker-compose --project-name demo up --force-recreate | |
cleanup: | |
docker-compose --project-name demo down |
I hereby claim:
To claim this, I am signing this object:
vagrant@precise64:/kong$ busted -v spec/plugins/ssl/ | |
✱● | |
1 success / 0 failures / 1 error / 0 pending : 1.658963 seconds | |
Error → /usr/local/share/lua/5.1/ngx/ssl.lua @ 5 | |
suite spec/plugins/ssl/access_spec.lua | |
/usr/local/share/lua/5.1/ngx/ssl.lua:5: module 'resty.core.base' not found:No LuaRocks module found for resty.core.base | |
no field package.preload['resty.core.base'] | |
no file './resty/core/base.lua' | |
no file '/home/vagrant/.luarocks/share/lua/5.1/resty/core/base.lua' |
Installs ruby-2.0.0-p0 on ubuntu via checkinstall so it's in your package manager and you can remove it.
Quick install:
curl -L https://gist.github.com/ngauthier/5039249/raw/1868bf4714052b40e2bb7fdf3f40fbeb5d730bca/ruby-2-install-ubuntu.sh | bash -s
<fb:visible-to-connection> | |
You are a fan, you so cool | |
<fb:else> | |
Become a fan! We we we so excited! | |
</fb:else> | |
</fb:visible-to-connection> |
jQuery(document).ready(function() { | |
var bake_cookie = function(name, value, expire) { | |
jQuery.cookie(name, value, { expires : expire, domain : 'tanga.com'}); | |
} | |
// if the user is coming from tanga already | |
// we only want to increment the page_views | |
if(document.referrer.indexOf("tanga.com") != -1) { | |
bake_cookie('page_views', parseInt(jQuery.cookie('page_views'))+1, 1000); |