Skip to content

Instantly share code, notes, and snippets.

View mickelsonm's full-sized avatar

Matt Mickelson mickelsonm

  • USA
View GitHub Profile

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

@mickelsonm
mickelsonm / roulettesim.php
Created November 14, 2015 04:44
Roulette Simulator
<?php
class Table {
protected $bets = [];
protected $numbers = [
0 => ['color' => 'green'],
1 => ['color' => 'red'],
2 => ['color' => 'black'],
@mickelsonm
mickelsonm / crayola.json
Created November 2, 2015 21:50 — forked from jjdelc/crayola.json
Crayola colors in JSON format
[
{
"hex": "#EFDECD",
"name": "Almond",
"rgb": "(239, 222, 205)"
},
{
"hex": "#CD9575",
"name": "Antique Brass",
"rgb": "(205, 149, 117)"
@mickelsonm
mickelsonm / alt.go
Last active August 29, 2015 14:16 — forked from sanatgersappa/alt.go
package main
import (
"html/template"
"io"
"net/http"
"os"
)
//Compile templates on start
@mickelsonm
mickelsonm / main.go
Last active August 29, 2015 14:08 — forked from ninnemana/main.go
Imports Part Images into Aries Database
package main
import (
"database/sql"
"fmt"
_ "github.com/go-sql-driver/mysql"
"log"
"net/http"
"strconv"
"strings"
@mickelsonm
mickelsonm / main.go
Last active February 3, 2024 18:48 — forked from manishtpatel/main.go
Golang AES Encryption/Decryption example. See running example: http://play.golang.org/p/5G-IUlYqQV
package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"encoding/base64"
"errors"
"io"
"log"