Skip to content

Instantly share code, notes, and snippets.

View joaovsq's full-sized avatar
💭
I may be slow to respond.

João V. joaovsq

💭
I may be slow to respond.
View GitHub Profile
@joaovsq
joaovsq / GDD.md
Created December 19, 2023 14:58 — forked from LordZardeck/GDD.md
Game Design Document Markdown Template

Revision: 0.0.1

GDD Template Written by: Benjamin “HeadClot” Stanley

  • Overview
    • Theme / Setting / Genre
    • Core Gameplay Mechanics Brief
  • Targeted platforms
@joaovsq
joaovsq / example.erl
Created March 4, 2023 07:04 — forked from sergium/example.erl
Erlang OTP gen_server template
%% -*- erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 et
%% @author Kevin Smith <[email protected]>
%% @copyright 2011 Opscode, Inc.
-module(example).
-behaviour(gen_server).
-export([start_link/0]).
@joaovsq
joaovsq / jwtRS256.sh
Created January 2, 2023 20:56 — forked from ygotthilf/jwtRS256.sh
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub
@joaovsq
joaovsq / curl.md
Created January 2, 2023 00:15 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.