Compare commits
2 commits
3d070c2fac
...
636e5025d2
Author | SHA1 | Date | |
---|---|---|---|
636e5025d2 | |||
a147e99a42 |
8 changed files with 10 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,5 +1,5 @@
|
||||||
/already_sent/*
|
/_already_sent/*
|
||||||
!/already_sent/.gitkeep
|
!/_already_sent/.gitkeep
|
||||||
/_credentials/*
|
/_credentials/*
|
||||||
!/_credentials/.gitkeep
|
!/_credentials/.gitkeep
|
||||||
/_vendor/*
|
/_vendor/*
|
||||||
|
|
1
_already_sent/0cf7dedb7cfac4340056a612bc3c50b1.txt
Normal file
1
_already_sent/0cf7dedb7cfac4340056a612bc3c50b1.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://www.openculture.com/2025/05/how-frank-lloyd-wrights-architecture-evolved-over-70-years-and-changed-america.html
|
1
_already_sent/12b2cc8c05f23758c6e812ef34044f53.txt
Normal file
1
_already_sent/12b2cc8c05f23758c6e812ef34044f53.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://en.wikipedia.org/wiki/Rainhill_trials
|
1
_already_sent/3f2721d52927f2d2c5f1146665b441dd.txt
Normal file
1
_already_sent/3f2721d52927f2d2c5f1146665b441dd.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://fossforce.com/2025/04/is-free-or-open-source-software-sustainable/
|
1
_already_sent/8eef8d9550fb4952c4ef2ba2656b4038.txt
Normal file
1
_already_sent/8eef8d9550fb4952c4ef2ba2656b4038.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://manualdousuario.net/en/writing-chatgpt-ai/
|
1
_already_sent/a3ffc5f64551046ad7132d159f1f40e7.txt
Normal file
1
_already_sent/a3ffc5f64551046ad7132d159f1f40e7.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://goblackcat.com/feeling-exhausted/
|
1
_already_sent/db41d26877002dfa9dba650122b8a298.txt
Normal file
1
_already_sent/db41d26877002dfa9dba650122b8a298.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://fenati.org.br/brasil-prepara-marco-regulatorio-para-data-centers-com-beneficios-fiscais-e-regras-sustentaveis/#datacenter
|
|
@ -85,7 +85,7 @@ $headers = [
|
||||||
'Content-Type: application/json'
|
'Content-Type: application/json'
|
||||||
];
|
];
|
||||||
|
|
||||||
$alreadySentDir = __DIR__ . "/already_sent";
|
$alreadySentDir = __DIR__ . "/_already_sent";
|
||||||
|
|
||||||
if (!is_dir($alreadySentDir)) {
|
if (!is_dir($alreadySentDir)) {
|
||||||
mkdir($alreadySentDir, 0755, true); // recursive mkdir
|
mkdir($alreadySentDir, 0755, true); // recursive mkdir
|
||||||
|
@ -106,7 +106,7 @@ if (isYouTubeLink($link)) {
|
||||||
// READECK will accept several times the same URL !
|
// READECK will accept several times the same URL !
|
||||||
// Make sure we don't send it several times by keeping an archive here
|
// Make sure we don't send it several times by keeping an archive here
|
||||||
$hash = md5($link);
|
$hash = md5($link);
|
||||||
$filePath = __DIR__ . "/already_sent/{$hash}.txt";
|
$filePath = __DIR__ . "/_already_sent/{$hash}.txt";
|
||||||
|
|
||||||
if (file_exists($filePath)) {
|
if (file_exists($filePath)) {
|
||||||
echo "ℹ️ Already sent: $link\n";
|
echo "ℹ️ Already sent: $link\n";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue