PHP delete old messages from IMAP mail account
This script written in PHP will delete emails older than 120 days from an imap email account. <?php $days = 120; $time = strtotime(date(“Y-m-d”) . ” – ” . $days . ” days”); $date =…
This script written in PHP will delete emails older than 120 days from an imap email account. <?php $days = 120; $time = strtotime(date(“Y-m-d”) . ” – ” . $days . ” days”); $date =…
This function written in plpgsql splits the string according to the separator and returns the last part. If the separator is not present in the string this function returns an empty string. CREATE OR REPLACE…
The first thing to do is to compile the .go file to make it executable: go build myfile.go This will produce a file called myfile that is executable. After that run the command from the…
Production applications should not be heavily dependent on CDN activities. Applications should use a fallback resource when the CDN is not available. <script src=”https://cdn.dotmaui.com/libs/jquery/3.4.0/jquery.min.js”></script> <script> window.jQuery || document.write(‘<script src=”/js/jquery.min.js”><\/script>’); </script>
List of useful commands for working with ENUM in postgresql. Create an enum: CREATE TYPE languages AS ENUM (‘python’, ‘php’, ‘java’); Adding an element to an enum: ALTER TYPE languages ADD VALUE ‘go’;ALTER TYPE languages…
At dotmaui.com we use a lot Node.js and therefore npm for package management. We keep a list of the commands we use most often and today we want to share it with you. List npm…
With a view to increasing the Javascript and CSS libraries offered for free, we have added two popular libraries: Handlebars.js:Handlebars provides the power necessary to let you buildĀ semantic templateseffectively with no frustration. https://handlebarsjs.com/ https://cdn.dotmaui.com/libs/handlebars.js/ bootstrap-select:The…
C# var my_date = DateTime.Now; var my_culture = System.Globalization.CultureInfo.CreateSpecificCulture(“it-IT”); var my_string = my_date.ToString(“d MMMM”, my_culture); Console.WriteLine(my_string); VB.NET Dim my_date = DateTime.Now Dim my_culture = System.Globalization.CultureInfo.CreateSpecificCulture(“it-IT”) Dim my_string = my_date.ToString(“d MMMM”, my_culture) Console.WriteLine(my_string)
We have just released a new version of the API to minimize CSS. Based on your feedback we have added four new parameters: removeurlquotes: Removes quotes from urls. Default is true.removecomments: Removes all comments. Default…
– Now you can analyze up to 10 pages– Updated the CSS parser– Improved html capture– Minor bug fixes We tested this version with two templates from startbootstrap.com, here are the results:https://vulturecss.dotmaui.com/example1/https://vulturecss.dotmaui.com/example2/