Skip to content

Instantly share code, notes, and snippets.

View Jorgevillada's full-sized avatar
🏠
Working from home

Jorge Villada Jorgevillada

🏠
Working from home
View GitHub Profile
@Jorgevillada
Jorgevillada / kong_status.json
Created November 5, 2020 20:38
kong_status.json
{
"database":{
"reachable":true
},
"memory":{
"workers_lua_vms":[
{
"http_allocated_gc":"71.22 MiB",
"pid":21
}
@Jorgevillada
Jorgevillada / kong_deployment.yaml
Created November 5, 2020 20:27
kong_deployment.yaml
kind: Deployment
apiVersion: apps/v1
metadata:
name: kong-kong
namespace: gateway
selfLink: /apis/apps/v1/namespaces/gateway/deployments/kong-kong
uid: 8ea5bc8f-f1a5-45ed-a8bb-2a292d39c272
resourceVersion: '17017273'
generation: 73
creationTimestamp: '2020-09-24T01:23:12Z'
@Jorgevillada
Jorgevillada / kong.log
Created November 5, 2020 20:13
kong.log
This file has been truncated, but you can view the full file.
{"log":"2020/11/05 19:36:09 [warn] ulimit is currently set to \"1024\". For better performance set it to at least \"4096\" using \"ulimit -n\"\n","stream":"stderr","time":"2020-11-05T19:36:09.371751919Z"}
{"log":"2020/11/05 19:36:09 [debug] 1#0: [lua] globalpatches.lua:10: installing the globalpatches\n","stream":"stderr","time":"2020-11-05T19:36:09.459891843Z"}
{"log":"2020/11/05 19:36:09 [debug] 1#0: [lua] globalpatches.lua:246: randomseed(): seeding PRNG from OpenSSL RAND_bytes()\n","stream":"stderr","time":"2020-11-05T19:36:09.533484053Z"}
{"log":"2020/11/05 19:36:09 [debug] 1#0: [lua] globalpatches.lua:272: randomseed(): random seed: 119411622191 for worker nb 0\n","stream":"stderr","time":"2020-11-05T19:36:09.533499797Z"}
{"log":"2020/11/05 19:36:09 [debug] 1#0: [lua] client.lua:449: init(): [dns-client] (re)configuring dns client\n","stream":"stderr","time":"2020-11-05T19:36:09.543991577Z"}
{"log":"2020/11/05 19:36:09 [debug] 1#0: [lua] client.lua:454: init(): [dns-client] staleTtl = 4\n","stream":"std
@Jorgevillada
Jorgevillada / kong.json
Created November 5, 2020 19:55
kong.json
{
"plugins": {
"enabled_in_cluster": [
"key-auth",
"rate-limiting",
"acl",
"prometheus",
"basic-auth",
"cors",
"aws-lambda"
@Jorgevillada
Jorgevillada / kong_prod.yaml
Last active November 5, 2020 20:10
kong_prod.yaml
_format_version: '2.1'
consumers:
- custom_id: '04'
created_at: 1604582063
id: cdb40d75-61f4-5131-b373-e2fd378da197
tags: ~
username: foo-34
- custom_id: ~
created_at: 1604582063
id: 836749b9-29db-5305-b8cb-e5fe0d5edf3c
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest [Current File]",
'use strict';
let { spawn } = require("child_process")
let BIN_PATH = "./node_modules/.bin/";
let DEBUG_PORT = 9229;
let getFileName = (file) => {
if (!file) { return }
@Jorgevillada
Jorgevillada / app.js
Last active August 29, 2015 14:26 — forked from charandas/app.js
Main FutureStates Module for ui-router-lazy-example
define([
'angular',
'angularUiRouter',
'uiRouterExtras',
'uiRouterExtrasStatevis',
'ocLazyLoad',
'core/module',
'core/services/settings',
'states/core'
<!-- Plugin git repo: https://github.com/davidB/yuicompressor-maven-plugin. -->
<!-- incluir en plugins -->
<plugins>
...
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
</plugin>