Con le mails è diventato un vero casino... Non ne arriva più una e quando arrivano finiscono nello spam.
Quindi se ora provi a inviare una mail dal tuo server viene rimbalzata e nemmeno inviata.
Per riuscire a inviare qualche mail tocca usare un servizio grande, riconosciuto, instoppabile, come Gmail.
Si fa usando postfix.
(se non c'è già installa postfix e mailutils)
sudo apt install postfix
sudo apt install mailutils
Poi si configura postfix:
sudo nano
First, Onesignal: https://onesignal.com, sign up and start building an app.
You will also need Firebase https://firebase.google.com, OneSignal will tell you when to use it.
The configuration of Onesignal with Firebase is easy, the mess begins when you get to having to put your hand on AndroidStudio, because as usual, in all the guides they always tell you things halfway.
(On OneSignal DO NOT ACTIVATE that crap of external_id and e-mail verification, or
Innanzitutto, Onesignal: https://onesignal.com, iscriviti e inizia a creare un app.
Ti servirà anche Firebase https://firebase.google.com, ti dirà OneSignal quando usarlo.
La configurazione di Onesignal con Firebase è facile, il casino inizia quando arrivi a dover metter mano su AndroidStudio, perchè come al solito, in tutte le guide ti dicono sempre le cose a meta.
(Su OneSignal NON ATTIVARE quella cagata della verifica
Questo affarino qui invia dei dati a un file php via ajax, e restituisce un risultato in un elemento (un div, uno span, un p, quello che vuoi...).
function AjaxPhp(id_elemento, filephp, query, output_type='text') {
document.getElementById(id_elemento).innerHTML="Wait...";
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if
Lo spazio su disco sul tuo server (Ubuntu LAMP) si sta esaurendo spaventosamente giorno per giorno?
Probabilmente sono i binlog...
Si scopre così:
sudo du -cha --max-depth=1 / | grep -E "M|G"
E seguendo le cartelle che pesano di più, e probabilmente finirai qui:
sudo du -cha --max-depth=1 /var/lib/mysql | grep -E "M|G"
E troverai una cartella piena di binlog... e che cazzo sono? Copiano tutti sta cagata scritta sulla documentazione di mysql, ma credo che in pochi
Already some time ago I had tried to load some links of my sites on reddit automatically with api, but they are breakers, they take you for spam and they ban you all the time.
They ban you because as soon as you register you don't have your own subreddit, you have to publish it on someone else's subreddits (also because otherwise nobody would see your link, as soon as you register you don't have followers),
Già qualche tempo fa avevo provato a caricare alcuni link dei miei siti su reddit in automatico con le api, ma sono dei rompiballe, ti prendono per spam e ti bannano di continuo.
Ti bannano perche appena registrato non hai una tua subreddit, devi pubblicare su quella di qualcun'altro (anche perché altrimenti il tuo link non lo vede nessuno, appena registrato non hai followers) e nelle subreddit
I've been quarreling with this thing for quite a while, so before I begin to forget it, I write down some notes and reminders.
SpeechSynthesis, what does it do? Speak, read the text of a web page and tell it to you, it practically makes your web pages talk.
Everything runs on the MDN API and around this SpeechSynthesisUtterance, it's all extremely difficult, complex and messy, luckily it's all well explained here: