Skip to content

Instantly share code, notes, and snippets.

View HorlogeSkynet's full-sized avatar

Samuel FORESTIER HorlogeSkynet

View GitHub Profile
@HorlogeSkynet
HorlogeSkynet / Crocker's_Rule.md
Created January 29, 2018 16:04
Simple GitHub Gist for the Crocker's Rules (http://sl4.org/crocker.html)

Declaring yourself to be operating by "Crocker's Rules" means that other people are allowed to optimize their messages for information, not for being nice to you. Crocker's Rules means that you have accepted full responsibility for the operation of your own mind - if you're offended, it's your fault. Anyone is allowed to call you a moron and claim to be doing you a favor. (Which, in point of fact, they would be. One of the big problems with this culture is that everyone's afraid to tell you you're wrong, or they think they have to dance around it.) Two people using Crocker's Rules should be able to communicate all relevant information in the minimum amount of time, without paraphrasing or social formatting. Obviously, don't declare yourself to be operating by Crocker's Rules unless you have that kind of mental discipline.

Note that Crocker's Rules does not mean you can insult people; it means that other people don't have to worry about whether they are insulting you. Crocker's Rules are a dis

@HorlogeSkynet
HorlogeSkynet / Alzheimer_Grand-Parents.ino
Created January 9, 2018 09:20
A program to display the date on a LCD4884 shield fetched from a DS1302 RTC module
#include <DS1302.h>
#include <LCD4884.h>
#include <LowPower.h>
DS1302 rtc;
LCD4884 lcd;
const char *daysOfWeek[] = {
"Dimanche",
@HorlogeSkynet
HorlogeSkynet / Flash_Custom_ROM.md
Last active July 4, 2024 08:46
Comment flasher une ROM Android alternative sur un appareil mobile ?

Comment flasher une ROM Android alternative sur un appareil mobile ?

Explications et procédure unifiées et détaillées en un tutoriel Francophone
Instructions supplémentaires pour Open GApps, Magisk ROOT & Xposed Framework

@HorlogeSkynet
HorlogeSkynet / hook_SSH.py
Last active October 23, 2023 10:15
A simple SSH hook for OpenSSH and Discord
#!/usr/bin/env python3
"""
@author : Samuel FORESTIER
@date : Created on 26/10/2017
@version : 1.2.1
@url : https://samuel.forestier.app/blog/security/a-ssh-monitoring-platform-with-discord
"""
# Packages required :
@HorlogeSkynet
HorlogeSkynet / keybase.md
Last active September 27, 2017 20:36
Simple identity proof for Keybase.io !

Keybase proof

I hereby claim:

  • I am HorlogeSkynet on github.
  • I am horlogeskynet (https://keybase.io/horlogeskynet) on keybase.
  • I have a public key whose fingerprint is 2AE0 CBB8 F4E0 A474 CC69 6CCF 4B6F A04B 1AC9 5DD4

To claim this, I am signing this object:

@HorlogeSkynet
HorlogeSkynet / coopTel.py
Last active November 16, 2024 17:14
A simple Python script to fetch and print Internet usage in ÉTS residences (Montréal)
#!/usr/bin/env python3
"""
@author : Samuel FORESTIER
@date : created on 30/08/2017, updated on 11/16/2024
"""
# /// script
# dependencies = [
# "bs4",
@HorlogeSkynet
HorlogeSkynet / checkServer.sh
Last active June 21, 2023 17:42
A simple script to notify an admin by SMS if its ping-answering server is down, using the FREE MOBILE SMS API
#!/usr/bin/env bash
# @Author: HorlogeSkynet
# @Created: 2017-08-21
# @Updater: 2020-04-14
# @Brief: A simple script to notify an admin by SMS if its ping-answering server is down, using the FREE MOBILE SMS API
# In order to use it, add to your Crontab : `0 */1 * * * /bin/bash /path/to/script/checkServer.sh [YOUR.SERVER.HOSTNAME]`
FREE_USR="YOUR_FREE_USER"
@HorlogeSkynet
HorlogeSkynet / updateFlashPlayer.sh
Last active April 14, 2020 15:08
A simple BASH script for automatically run manual Flash Player update on Linux
#!/usr/bin/env bash
# @Author: HorlogeSkynet
# @Created: 2017-05-21
# @Updated: 2020-04-14
# @Brief: A simple BASH script for automatically update Flash Player on Linux
# From <https://wiki.debian.org/FlashPlayer#Manual_update>.
# MUST be run as root.
@HorlogeSkynet
HorlogeSkynet / gists-backup.py
Last active May 21, 2017 09:46 — forked from joneskoo/gist-backup.py
GitHub's Gists Backup
#!/usr/bin/env python3
import os
import json
import subprocess
import urllib.request
# Just edit this with your GitHub's username
@HorlogeSkynet
HorlogeSkynet / DS1302.cpp
Last active April 10, 2023 21:02
A library for the DS1302 RTC module
#include "DS1302.h"
DS1302::DS1302()
{
//
}
void DS1302::_DS1302_start(void)