Skip to content

Instantly share code, notes, and snippets.

View GGalizzi's full-sized avatar
😀

Guillermo GGalizzi

😀
View GitHub Profile
const { runServer } = require("saml-idp");
const domain = 'http://localhost:3000';
const url = 'withemailnode';
runServer({
acsUrl: `${domain}/auth/${url}/callback`,
audience:
`${domain}/auth/${url}`,
// sloUrl: `${domain}/auth/${url}/logout`,
use bevy::prelude::*;
const SCALE: f32 = 6.0;
const TILE_SIZE: f32 = 8.0;
const TILE_TOTAL_SIZE: f32 = SCALE * TILE_SIZE;
#[derive(PartialEq, Clone, Debug)]
enum FloodState {
Checking,
Water,
@GGalizzi
GGalizzi / MySql-5.6-installation guide.md
Created March 17, 2020 12:11
Install MySQL 5.6.xx on Ubuntu 18.04

MySQL Download URL

https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.46-linux-glibc2.12-x86_64.tar.gz

Open the terminal and follow along:

  • Uninstall any existing version of MySQL
sudo rm /var/lib/mysql/ -R
@GGalizzi
GGalizzi / viduploadtest.go
Created December 14, 2016 09:35
multipart upload golang
package main
import (
"fmt"
"io"
"mime/multipart"
"net/http"
"os"
)