This is a quick and dirty solution for StevenBlack/hosts#1012. Let me know if you want it as a PyPi package from it.
$ pip3 install --user PyFunceble
""" | |
protect_matrix_room - A quick and dirty way to protect a matrix room against phishing. | |
What does it do? | |
Protects a matrix room against phishing by adding an alias to the room. | |
The alias is the room name, but in all possible variants. | |
NOTE: We Only change the between the last point (`.`) and | |
the first double point `:`. |
This is a quick and dirty solution for StevenBlack/hosts#1012. Let me know if you want it as a PyPi package from it.
$ pip3 install --user PyFunceble
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
""" | |
This module helps to find out if a number is happy or unhappy. | |
""" | |
def given_number(): | |
""" | |
This function ask the user for a number and return it so it can be | |
usable by other functions. |
/** | |
* Return a list of URL | |
* @returns {array} | |
*/ | |
function backgrounds() { | |
// We create a variable | |
var imageURLs = [ | |
// We assign in an array the list of URL/filename we want as background | |
"https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-301322.jpg", | |
"https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-103541.jpg", |