This file contains hidden or 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
| # Make the setup of Reminders at Nextcloud Administration settings > LibreSign > Reminders | |
| # Check if you are looking the date of the next execution of this job | |
| # List all background jobs | |
| occ background-job:list | |
| # Or use the filter by class name to find only Reminder job | |
| # You will see the job ID, class name, and next execution date | |
| occ background-job:list --class "OCA\Libresign\BackgroundJob\Reminder" | |
| # Request a test signature at LibreSign using an email you have access to |
This file contains hidden or 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 | |
| /** | |
| * How to use? | |
| * | |
| * Run: | |
| * php test.php <number of loops> | |
| * Example: | |
| * php test.php 100000 | |
| */ |
This file contains hidden or 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
| {{Info/Empresa | |
| | nome = PHPRio - Comunidade PHP do Estado do Rio de Janeiro | |
| | imagem = PHPRio.png | |
| | img-tam = 150px | |
| | img-des = Logomarca do '''PHPRio''' | |
| | fundação = [[15 de maio]] de [[2007]] (em [[Rio_de_Janeiro_(estado)|Rio de Janeiro]]) | |
| | sede = [[Rio_de_Janeiro_(estado)|Rio de Janeiro]], {{BRA}} | |
| | tipo empresa = [[Comunidade]] | |
| | genero = | |
| | indústria = |
This file contains hidden or 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
| /** | |
| * @param {number} Valor bruto para calcular inss | |
| * @customfunction | |
| */ | |
| function INSS(bruto, producao_interna, teto = 5645.80) { | |
| if(producao_interna == '' || producao_interna == 0 || producao_interna == '0') { | |
| aliquota = 0.2; | |
| } else { | |
| aliquota = 0.11; | |
| } |
This file contains hidden or 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
| {"lastUpload":"2023-01-10T19:20:17.598Z","extensionVersion":"v3.4.3"} |
This file contains hidden or 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
| Montar ambiente | |
| Touch screen scrooling no Firefox | |
| https://askubuntu.com/questions/978226/how-to-make-touch-screen-scrolling-work-in-firefox-quantum |
This file contains hidden or 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
| #!/usr/bin/env php | |
| <?php | |
| function dbIsUp() { | |
| try { | |
| $dsn = getenv('DB_TYPE').':dbname='.getenv('DB_NAME').';host='.getenv('DB_HOST'); | |
| new PDO($dsn, getenv('DB_USER'), getenv('DB_PASSWD')); | |
| } catch(Exception $e) { | |
| echo $e->getMessage().PHP_EOL; | |
| return false; | |
| } |
This file contains hidden or 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
| { | |
| "banned": [ | |
| ], | |
| "byRegex": [ | |
| "[同号]{1}","(253239090){1}" | |
| ] | |
| } |
This file contains hidden or 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 | |
| namespace App\Handler; | |
| use Monolog\Handler\MailHandler; | |
| use Monolog\Handler\AbstractHandler; | |
| use Telegram\Bot\Api; | |
| class MonologTelegramHandler extends MailHandler { | |
| /** | |
| * | |
| * @var Api | |
| */ |
This file contains hidden or 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
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
NewerOlder