Serving HTTP images in a HTTPS site
If you’re looking for a solution to load images over HTTPS then the free cache & proxy service at cdn.dotmaui.com/ip/ is exactly what you are looking for. Silmply to use, .Maui Proxy will cache the…
If you’re looking for a solution to load images over HTTPS then the free cache & proxy service at cdn.dotmaui.com/ip/ is exactly what you are looking for. Silmply to use, .Maui Proxy will cache the…
How to get difference between two date in hh:MM format with vb.net. Dim dt As DateTime = DateTime.Now Dim dt1 As DateTime = scadenza_pin Dim duration As TimeSpan = dt1 – dt Dim durationTicks As…
Journalctl is a utility for querying and displaying logs from journald, systemd’s logging service. Journal logs can take considerable amount of disk space. Here are some useful steps to free up space on ubuntu and…
To capitalize only the first character of a string you can create an extension, like this: Public Module MyModule Public Function UppercaseFirst(my_string As String) As String If String.IsNullOrWhiteSpace(my_string ) OrElse my_string .Length < 2 Then...
First you need to install the go-sqlite3 library downloadable from Github, github.com/mattn/go-sqlite3 Then copy and adapt the code below to your database. package main import ( “fmt” “database/sql” _ “github.com/mattn/go-sqlite3” ) func main() { db,…
We continue our series on the Go programming language. Today we propose a very useful function to generate random numbers, in this case integers. package main import ( “fmt” “math/rand” “strconv” “time” ) func random(min,…
In this example, let’s see how to connect to Sql Server, select and view the database version using Go programming language. package main import ( _ “github.com/denisenkom/go-mssqldb” “database/sql” “context” “log” “fmt” ) // Replace with…
The second post in this series on Go shows how to resize an image using this language and the API offered by dotmaui.com. Please note: To make a GET request to our API you must…
With today’s post we return to regularly post on our blog. The first series of posts will be dedicated to the Go programming language. It is a language we highly appreciate and we used it…
As in any Linux based distribution you need this command: rm -rf ~/.local/share/Trash/*