Category Archives: Uncategorized

Download Old Sent Emails on POP Account with Thunderbird

POP mail accounts can only access and download inbox messages. However you can use a smart workaround to download also old sent messages, in short what you can do is create a new IMAP mail account, download the sent emails there, then select all sent emails, copy them to the POP mail account’s sent folder, […]

Artillery Sidewinder X1 3D Printer

I was looking for a good 3D printer in terms of quality and price and I found this Artillery Sidewinder X1 3D Printer. Looks like to be new (year 2020) and very popular among 3D printer geeks, so here is an image of the printer: You will need also these items: Creality 3D® PLA Filament […]

Share Buttons for Facebook, Twitter and LinkedIn

I was looking for PNG images of Facebook, Twitter and LinkedIn share buttons to use with A HREF links (I didn’t want to use Javascript or third-parties code). Here you can find PNG images for Facebook, Twitter, LinkedIn share buttons. To download them just right-click on the image and select “Save Image As…” Feel free […]

User-Agent Strings of Perl, Wget, cURL, Python, Java

User-agent strings of Perl, Wget, cURL, Python, Java: Apache-HttpClient/4.5.9 (Java/1.8.0_222) Wget/1.15 (linux-gnu) Python-urllib/2.7 curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.44 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 libwww-perl/5.76Apache-HttpClient/4.5.9 (Java/1.8.0_222) Wget/1.15 (linux-gnu) Python-urllib/2.7 curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.44 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 libwww-perl/5.76

3 Cards in a Row with Bootstrap 4.4

Example of 3 cards in a row with Bootstrap 4.4: <div class="row py-3"> <div class="col-sm-4 py-3"> <div class="card"> <div class="card-body"> <h5 class="card-title">Example Title 1</h5> <p class="card-text">With supporting text below as a natural lead-in to additional content.</p> <a href="#" class="btn btn-primary">Go somewhere</a> </div> </div> </div> <div class="col-sm-4 py-3"> <div class="card"> <div class="card-body"> <h5 class="card-title">Example Title 2</h5> […]

Passing a boolean through HTTP GET request

All GET parameters are strings in PHP. You can use filter_var() with FILTER_VALIDATE_BOOLEAN: $myVar = filter_var($_GET[‘myVar’], FILTER_VALIDATE_BOOLEAN);$myVar = filter_var($_GET[‘myVar’], FILTER_VALIDATE_BOOLEAN); Here is description for FILTER_VALIDATE_BOOLEAN: Returns TRUE for "1", "true", "on" and "yes". Returns FALSE otherwise.   If FILTER_NULL_ON_FAILURE is set, FALSE is returned only for "0", "false", "off", "no", and "", and NULL is […]

PHP Convert Boolean to String

You can convert a PHP boolean (true/false) into a string: $test_bool = var_export(filter_var($_GET[‘test_bool’], FILTER_VALIDATE_BOOLEAN), true);$test_bool = var_export(filter_var($_GET[‘test_bool’], FILTER_VALIDATE_BOOLEAN), true);

Certbot renew error: Missing webroot

If you get this error messsage while trying to renew the certs: – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Processing /etc/letsencrypt/renewal/ – […]

PHP Curl slow with HTTPS SSL requests

A possible solution is to force IPv4 resolving: curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 ); And also disable SSL verifications: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); If the error persists, Curl is not the problem. Probably there is a network issue.

Download OpenVPN 2.4.7 and TAP-Windows

From here you can download latest OpenVPN version: And from here you can download all latest stable versions: It includes also TAP-Windows versions.