sudo nano /etc/systemd/system/uvcvideo-trace.service
Add the following content to the service file:
[Unit]
Description=Set uvcvideo trace parameter
After=systemd-modules-load.service
[Service]
Type=oneshot
// ==UserScript== | |
// @name JVC_ImageViewer | |
// @namespace http://tampermonkey.net/ | |
// @version 1.38.8 | |
// @description Naviguer entre les images d'un post sous forme de slideshow en cliquant sur une image sans ouvrir NoelShack. Ferme le visualiseur lors du clic sur le bouton retour du navigateur. | |
// @author HulkDu92 | |
// @match https://*.jeuxvideo.com/forums/* | |
// @match https://jvarchive.com/forums/* | |
// @grant none | |
// @run-at document-end |
sudo nano /etc/systemd/system/uvcvideo-trace.service
Add the following content to the service file:
[Unit]
Description=Set uvcvideo trace parameter
After=systemd-modules-load.service
[Service]
Type=oneshot
#!/bin/bash | |
set -e | |
cd /tmp | |
# Define the repository and branch name | |
repo=$1 | |
branch=$2 | |
token=$3 |
// ==UserScript== | |
// @name archv.user.js | |
// @version 0.1 | |
// @grant none | |
// @include /^(http|https):\/\/www\.jeuxvideo\.com\/forums\/(.*)$/ | |
// ==/UserScript== | |
let topic410 = false; | |
if(document.getElementsByClassName("img-erreur")[0] && document.getElementsByClassName("img-erreur")[0].src == "https://www.jeuxvideo.com/img/erreurs/e410.png"){ |
//credit : https://github.com/asmarques/pt-id | |
function pad(value, length) { | |
var result = value + ''; | |
while (result.length < length) { | |
result = '0' + result; | |
} | |
return result; |
#/etc/ssh/sshrc | |
ip=`echo $SSH_CONNECTION | cut -d " " -f 1` | |
curl --silent -v \ | |
-H "Content-Type: application/json" \ | |
-X POST \ | |
-d "{\"content\":\"new login $USER $ip \"}" \ | |
https://discordapp.com/api/webhooks/_WEBOOK_URL > /dev/null 2>&1 |