Skip to content

Instantly share code, notes, and snippets.

View grifx's full-sized avatar

Joris Garonian grifx

  • ProductReview.com.au
  • Sydney
  • X @wasquen
View GitHub Profile
static int
ngx_http_lua_socket_tcp_setkeepalive_nats(lua_State *L)
{
ngx_http_lua_loc_conf_t *llcf;
ngx_http_lua_socket_tcp_upstream_t *u;
ngx_connection_t *c;
ngx_http_lua_socket_pool_t *spool;
ngx_str_t key;
ngx_queue_t *q;
@grifx
grifx / 0000_hello_world.md
Last active June 25, 2024 07:57
Create your own roadmaps from roadmap.sh with checkboxes on GIST

Hello,

My SO is learning coding. I wanted a convenient way for her to consume the content from roadmap.sh.

I hope it can help someone else.

If you want your own roadmap:

  1. Fork or Copy-paste the md files you are interested in your own gist.

Aurora Bug

Engine Aurora MySQL 5.7.12

DB instance class db.r3.4xlarge

Test

This does NOT work with the OSX stand alone version of postman

How to use Faker with postman?

SET UP:

  • Copy paste (refreshFakerVariables) into: Manage Environments > Globals : refreshFakerVariables
  • Create a Request: http://localhost, and paste in the pre-request script (clearFakerVariables). Save it as: "clearFakerVariables"
  • Create a Request: http://localhost, and paste in the pre-request script (loadFaker). Save it as: "loadFaker"
@grifx
grifx / YCombinator.php
Last active December 17, 2015 13:00
The Little Schemer - Y combinator in PHP
<?php
/**
* “The Little Schemer” - Y combinator in PHP
* @author: Joris Garonian
*/
function Y($g) {
return call_user_func(function ($f) {
return $f($f);
}, function ($f) use ($g) {