Skip to content

Instantly share code, notes, and snippets.

View computer045's full-sized avatar

Louis-Philippe F computer045

View GitHub Profile
@brettchalupa
brettchalupa / main.rb
Last active November 22, 2022 01:51
DragonRuby GTK PadBud Source r1
PADDING = 20
def tick args
args.outputs.background_color = [255, 255, 255]
args.outputs.labels << [PADDING, args.grid.h - PADDING, 'PadBud', 3]
args.outputs.labels << [PADDING, args.grid.h - PADDING * 3, 'A simple tool for viewing DragonRuby gamepad input.']
args.outputs.labels << [PADDING, 140, 'Platform Details', 2]
args.outputs.labels << [PADDING, 110, "OS: #{args.gtk.platform}"]
args.outputs.sprites << { x: PADDING + 80, y: args.grid.h - PADDING - 28, h: 32, w: 32, path: "metadata/icon.png" }

User authentication system

Your task is now to create a user authentication system.

This document will guide you through all the features and implication of such system, so that you don't have to search them yourself.

We will focus on web/browser-technologies, however similar concept can be widely applied. This guide, is a work in progress, feel free to comment and provide feedbacks.

Expected Workflows

@munificent
munificent / generate.c
Last active May 1, 2024 20:06
A random dungeon generator that fits on a business card
#include <time.h> // Robert Nystrom
#include <stdio.h> // @munificentbob
#include <stdlib.h> // for Ginny
#define r return // 2008-2019
#define l(a, b, c, d) for (i y=a;y\
<b; y++) for (int x = c; x < d; x++)
typedef int i;const i H=40;const i W
=80;i m[40][80];i g(i x){r rand()%x;
}void cave(i s){i w=g(10)+5;i h=g(6)
+3;i t=g(W-w-2)+1;i u=g(H-h-2)+1;l(u
@philthynz
philthynz / firefly iii install on 18.04.md
Last active August 3, 2020 17:40
Firefly III install on Ubuntu18.04

Firefly III install on Ubuntu 18.04

These instructions will install Firefly III on Ubuntu 18.04. It includes setup for:

  • PHP 7.2
  • Nginx
  • MariaDB
  • Securing an Ubuntu server
  • Securing Maria DB
  • Let's Encrypt