sudo hostnamectl set-hostname example.comsudo apt install mailutils postfix-
- Choose "internet site", and type your domain (example.com)
mail [email protected] -s "Subject"- You should receive a mail from
[email protected]
sudo hostnamectl set-hostname example.comsudo apt install mailutils postfixmail [email protected] -s "Subject"[email protected]| // ==UserScript== | |
| // @name Show grades | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Show grades. Reload page if the button does not appear. | |
| // @author You | |
| // @match https://intra.epitech.eu/module/*/note/ | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== |
| Use `my one line block` to post a one line block. | |
| Use | |
| ```c | |
| #include <stdio.h> | |
| int main(void) { | |
| printf("Hello, World!\n"); | |
| } | |
| ``` | |
| to post a multi-line block, where 'c' is the coding language (c, cpp, java, js, rust, etc) |
| #pragma once | |
| /* | |
| ** Using printf, strlen and isprint | |
| */ | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <ctype.h> | |
| /* |
| #!/usr/bin/env node | |
| /* | |
| * How to: | |
| * Have a working UNIX environment | |
| * Download speedtest-cli | |
| * -- in bash | |
| * for i in {0..100}; do speedtest --no-upload --json >> dlspeed.json; done | |
| * ./speedTestPlot.js dlspeed.json | |
| * -- comments |
| #!/usr/bin/bash | |
| scriptname=`basename $0` | |
| usage() { | |
| echo "Usage: `basename $scriptname` file [version]*." | |
| echo "Version will be ${versions[0]} by default." | |
| exit 0 | |
| } |
| // ==UserScript== | |
| // @name hex to bg color | |
| // @namespace lodi-g | |
| // @version 0.1 | |
| // @description Change hex codes by setting its associated color as background color | |
| // @author lodi-g | |
| // @match *://*/* | |
| // @require https://raw.githubusercontent.com/padolsey/findAndReplaceDOMText/master/src/findAndReplaceDOMText.js | |
| // @grant none | |
| // ==/UserScript== |
| // ==UserScript== | |
| // @name PROVENCE ALPES COTES D'AZUR | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://intra.epitech.eu/user/[email protected]/ | |
| // @grant none | |
| // ==/UserScript== |
| #!/bin/bash | |
| QCM_CI_FOLDER="/mnt/home/exam/QCM-CI/" | |
| function error { | |
| echo | |
| echo "Failed. Exiting." | |
| if [ -z $1 ]; then | |
| echo "Umounting /mnt." | |
| sudo umount /mnt |
| // ==UserScript== | |
| // @name Yammer2Intra | |
| // @namespace lodi_g | |
| // @include https://www.yammer.com/epitech.eu/* | |
| // @version 0.1 | |
| // @grant none | |
| // ==/UserScript== | |
| const debuggingEnabled = false; | |
| const imageUrl = "https://intra.epitech.eu/favicon.ico"; |