Skip to content

Instantly share code, notes, and snippets.

@malys
malys / last_comment.js
Created April 7, 2024 16:13
[MGEVs] optimization #userscript #violentmonkey
// ==UserScript==
// @namespace
// @name Mgevs last comment
// @grant none
// @version 0.0.1
// @author malys
// @description view last comments
// @run-at document-end
// @match https://www.mgevs.com/threads/*
@malys
malys / last_comments.js
Last active April 7, 2024 16:14
[Automobile Propre] optimization #userscript #violentmonkey
// ==UserScript==
// @namespace
// @name Automobile propre last page/last comment
// @grant none
// @version 0.0.1
// @author malys
// @description view last comments
// @run-at document-end
// @match https://forums.automobile-propre.com/topic/*
@malys
malys / userscript.js
Created March 25, 2024 13:00
[Gmail Trackers ] remove trackers in links #userscript #violentmonkey
// ==UserScript==
// @name Remove multiple email trackers from links in GMail
// @namespace http://tampermonkey.net/
// @version 0.4
// @description This script removes the YesWare, ConvertKit, Pstmrk and SkimResources email trackers from links received in GMail. This means the sender will not know that you have clicked on their links if they use these tracking systems.
// @match https://mail.google.com/*
// @icon https://www.google.com/s2/favicons?domain=gmail.com
// @grant none
// @downloadURL https://update.greasyfork.org/scripts/426239/Remove%20multiple%20email%20trackers%20from%20links%20in%20GMail.user.js
// @updateURL https://update.greasyfork.org/scripts/426239/Remove%20multiple%20email%20trackers%20from%20links%20in%20GMail.meta.js
@malys
malys / .gitignore
Last active April 21, 2024 17:12
[SAIC Map update] check version of maps update without download 15Go Zip file #saic #map
/node_modules/
/package-lock.json
@malys
malys / .gitignore
Last active April 26, 2024 14:26
Dashboard for SAIC Electrical Vehicles (MG4)
/check.sh
/export.sh
/node_modules/
/scripts/
/package-lock.json
/dashboardTmp.png
/dashboardTmp2.png
@malys
malys / userscript.js
Created October 11, 2023 08:15
[UserScript] Compact view for cloudskillsboost.google #UserScript #cloudskillsboost
// ==UserScript==
// @name qwiklabs.com - Compact view
// @namespace malys
// @match https://*.cloudskillsboost.google/course_sessions/*
// @grant none
// @version 1.0
// @author malys
// @description Compact view
// ==/UserScript==
@malys
malys / intuos.sh
Created May 31, 2023 16:18
[Intuos Tablet] configuration #bash
#!/usr/bin/sh
# Wacom Intuos BT S pad
# ___________________________________________
# | _____________________________________ |
# | / | | | | \ |
# | | 0 | 1 | | 2 | 3 | |
# | \_______|________|____|_______|_______/ |
# | ___________________________________ |
# | | | |
@malys
malys / index.js
Last active August 19, 2022 11:18
[BBox] API router auto configuration #nodejs #api #router #bbox #configuration #bouygues #telecom
// npm i fetch-cookie debug node-fetch chalk
// Remote configuration for BBox router (Bouygues telecom)
// set password in admin console (xxxxx)
// TODO waiting OpenAPI descriptor to generate client automatically
/****************
* Please contribute supporting new methods including them in methods.js
* see https://api.bbox.fr/doc/apirouter/index.html
* or open chrome dev tools and see the network tab and export the request in fetch format
*****************/
@malys
malys / .bashrc.j2
Created January 1, 2022 11:24
[WSL from Clear Linux] script to artillery script to curl commands #wsl #clearlinux #nodejs #docker #kubernetes #desktop
{% if docker %}
export DOCKER_DIR=/mnt/wsl/shared-docker
export DOCKER_SOCK="$DOCKER_DIR/docker.sock"
export DOCKER_HOST="unix://$DOCKER_SOCK"
#if [ ! -f "$DOCKER_SOCK" ]; then
# mkdir -pm o=,ug=rwx "$DOCKER_DIR"
# chgrp docker "$DOCKER_DIR"
# nohup sudo -b dockerd < /dev/null > $DOCKER_DIR/dockerd.log 2>&1
#fi