Skip to content

Instantly share code, notes, and snippets.

View tobozo's full-sized avatar

tobozo tobozo

View GitHub Profile
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
label > input {
opacity:0;
width:1px;
height:1px;
overflow: hidden;
#include <MozziGuts.h>
#include <Oscil.h>
#include <tables/chum9_int8.h> // recorded audio wavetable
#include <tables/cos512_int8.h> // for filter modulation
#include <LowPassFilter.h>
#include <mozzi_rand.h> // for rand()
#include <EventDelay.h> // for scheduling events
#define CONTROL_RATE 64 // powers of 2 please
@tobozo
tobozo / backup_mysql.sh
Created January 27, 2017 16:38
Crontab to incremental daily/weekly MySQL backups
#!/bin/bash
# Greetz to https://twitter.com/JulienLiard for hacking up this script
# CRONTAB:
# 0 7,10,11,12,13,14,15,16,17,18,19,23 * * 1,2,3,4,5 /home/user/backup_sql/backup_sql.sh >/dev/null 2>&1
# 0 7,15,23 * * 6,7 /home/user/backup_sql/backup_sql.sh >/dev/null 2>&1
#User Variables
DATE=/bin/date;
SEMAINE=`$DATE '+%U'`
31-12-2001 - H@CKOFF No26 - * LAst edition? * -
_ ______________________ _
-*7*- `^°*;:,.> Crypto Echelon <.,:;*°^`
_____________________________/¯¯¯¯¯ Ulysse31 ¯¯¯¯¯¯¯\___________________________
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,
ALGO DE CRYPTAGE A BASE D'ECHELON
@tobozo
tobozo / Hector.ino
Last active September 19, 2020 21:31
Code used in this ESP32 Wrover Kit (v3) LCD Test video https://youtu.be/jsKxpVOI6no
/*
Rotatey Hector Nunchuck is placed under the MIT license
Copyleft (c+) 2017 tobozo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
/*
* SSD1306 Multiple monitor Demo
* Copyleft (c+) toboz Nov 2017
*
*/
#include <SPI.h>
#include <Wire.h>
#include <U8g2lib.h>
/*
* SSD1306 Multiple monitor Demo
* Copyleft (c+) toboz Nov 2017
*
*/
#include <SPI.h>
#include <Wire.h>
#include <U8g2lib.h>
@tobozo
tobozo / _3wayButton.ino
Created November 12, 2017 18:27
3 Way button + OLED UI test as seen at https://youtu.be/q8qFv8Y6cdM
/*
* 3 Way button + OLED UI test as seen at https://youtu.be/q8qFv8Y6cdM
*
* Copyleft (c+) tobozo Nov 2017
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the “Software”), to deal in
* the Software without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
* Software, and to permit persons to whom the Software is furnished to do so,
#define spacehuhn_width 128
#define spacehuhn_height 128
const uint8_t spacehuhn_bits[] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
/*
* Multiplexed SSD1306 Demo
* Copyright © 2018-01-02 tobozo
*
* https://github.com/tobozo
* https://twitter.com/tobozotagada
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the “Software”), to deal in
* the Software without restriction, including without limitation the rights to