Fractionizer is a simple number format function with quarter, half and three quarter fraction output.
See examples.md for examples.
By default the decimal and thousand separator are formatted in the european version: dot for thousands, comma as decimal point.
hex2rgb is a simple php function based on the hexdec function and RegEx.
I have been inspired by the two following comments:
Thanks to the authors.
This simple script uses netcat
to check if - for instance - a webserver is running on a server. If the service is not running, it utilizes the telegram bot API for sending a message to inform the operator of the server.
Go to the BotFather bot-account and create a bot by writing /newbot
. Then, copy the token.
Send a message to you newly created bot (you can find the link to your bot in the success message sent by BotFather).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* clickableLinks | |
* | |
* Function to automatically link URLs in texts. | |
* | |
* @author RundesBalli <github@rundesballi.com> | |
* @copyright 2022 RundesBalli | |
* @version 1.0 | |
* @license MIT-License |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MIT License | |
Copyright (c) 2023 RundesBalli | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |