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
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 |