(juste en dessous des badges sympatiques à placer)
Une petite description du projet
Entrez ici les instructions pour bien débuter avec votre projet...
// ==UserScript== | |
// @name InviReg - YouTube->Invidious | |
// @author Albirew, heavily based on script by Tazeki | |
// @namespace https://gist.github.com/Albirew/ | |
// @description The smallest, possibly most useful YouTube-Invidious conversion script. RegEx based. Sends any /www.youtube.com/ sites to Invidious before page load. Does not affect /other.youtube.com/, (gaming.youtube.com, creatoracademy.youtube.com, etc.). | |
// @include *youtube* | |
// @version 1.1c | |
// @icon https://invidious.fdn.fr/favicon.ico | |
// @grant none | |
// @run-at document-start |
console.table((function listAllEventListeners() { | |
const allElements = Array.prototype.slice.call(document.querySelectorAll('*')); | |
allElements.push(document); // we also want document events | |
const types = []; | |
for (let ev in window) { | |
if (/^on/.test(ev)) types[types.length] = ev; | |
} | |
let elements = []; | |
for (let i = 0; i < allElements.length; i++) { |
HaCi http://haci.larsux.de/ - 2015-03
GestioIP https://www.gestioip.net/ - 2016-02
#!/usr/bin/python | |
# -*- coding: utf-8 | |
""" | |
Tweet ton speed test | |
====================== | |
Appelle l'api en ligne de commande | |
speed test, parse le resultat, et envoie un | |
tweet au compte du FAI si les valeurs | |
sont considérées trop basses. |
<?php | |
/* | |
Template Name: [Nom du modèle de page] | |
*/ | |
?> |
#include <LiquidCrystal.h> | |
// select the pins used on the LCD panel | |
LiquidCrystal lcd(8, 9, 4, 5, 6, 7); | |
// define some values used by the panel and buttons | |
int lcd_key = 0; | |
int adc_key_in = 0; | |
#define btnSELECT 4 | |
// read the buttons |
#!/bin/sh | |
# replace cmd1 for the command to execute | |
host=192.168.1.1 | |
port=23 | |
user=myuser | |
pass=mypass | |
cmd1='ifconfig wl0 down' | |
( echo open ${host} |
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
# Tkinter and GPIO together | |
from Tkinter import * | |
import RPi.GPIO as GPIO | |
GPIO.setmode(GPIO.BCM) | |
GPIO.setup(24, GPIO.OUT) | |
GPIO.output(24, GPIO.LOW) | |
def toggle(): |