Skip to content

Instantly share code, notes, and snippets.

View Drowze's full-sized avatar

R Gibim Drowze

View GitHub Profile
@Drowze
Drowze / create_jwt.sh
Created March 4, 2024 19:19 — forked from shu-yusa/create_jwt.sh
Generate private and public keys, and create JWT and JWKs
#!/bin/sh
## Requires openssl, nodejs, jq
pack() {
# Remove line breaks and spaces
echo "$1" | sed -e "s/[\r\n]\+//g" | sed -e "s/ //g"
}
generate_keys_and_token() {
local prefix=$1
@Drowze
Drowze / boxstarter.ps1
Last active May 25, 2018 19:43 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
For an app I'm building for myself, I have to provide a privacy policy for
data retrieved from the API.
I will not release any data from the Uber API without explicit and clear
consent of the user.
This does not affect the user's statutory rights. The user is able to stop
using the service at any time, and can remove any data from the service
using the appropriate database management commands.
@Drowze
Drowze / grafo.txt
Last active June 9, 2017 12:39 — forked from diogofurtado/Ordenação Topológica.c
Topological sort
1 0
2 0
3 0
4 3
5 4
6 5
7 5
8 7
9 8
10 9