3 days agoMember-onlySending a photo to a Telegram channel the easy wayToday we’ll see by practical examples how to send a picture to a Telegram channel. In order to be able to do so, you will have first to: Create a Telegram public channel Create a Telegram BOT via BotFather Set the bot as administrator in your channel Provided that you…Telegram5 min readTelegram5 min read
Apr 6, 2022Member-onlyUsing your SSL Certificate with µTorrent ServerHere’s how I managed to secure my µTorrent Server installation with my domain’s SSL certificate. First of all we have to say that µTorrent Server runs on a self generated SSL certificate which is stored along with its private key in a file called servercert.dat …Linux2 min readLinux2 min read
Dec 2, 2021Member-onlyHow I managed to install a working IntelliJ Idea CE on an ARM ChromebookDespite official Linux support in ChromeOS, ARM based Chromebook owners are still being orphans of dedicated builds for most tools. Nowadays you can easily download and install Visual Studio Code but ARM based Chromebook still lack official support from Android Studio (and we’re still a long way to it, if…Chrome OS2 min readChrome OS2 min read
Apr 16, 2021Member-onlyCreating attributed text from an HTML stringEvery now and then you might have found yourself in the need to showing attributed text in your iOS app (e.g. in a UILabel) and considered how easy it is in HTML compared to an NSAttributedString. Suppose you wanted to have a label with some underlined text, in HTML you…I OS1 min readI OS1 min read
Aug 26, 2020Member-onlyLet your Android app navigate on a WiFi w/o internet access when mobile data is onLet your Android app navigate on a WiFi w/o internet access when mobile data is on Recently a client contacted me because their mobile app could not connect to a webpage served from a WebServer located inside a WiFi network without internet access. It seemed that they could connect to…Android1 min readAndroid1 min read
Jul 27, 2020Member-onlyAndroid EditText: avoid showing software keyboard on focusHave you ever needed an EditText to not showing the software keyboard when it gets tapped? May it be because you have a custom input method for that field or whatever reason you have, you can easily achieve it by calling the setShowSoftInputOnFocus method on an EditText or if you…Android1 min readAndroid1 min read
Apr 2, 2020Member-onlyRetrieving cookies from a cURL call response in PHPMany people despise PHP because they don’t believe it to being a sufficiently structured language and they think the programmer is left free to make the worst spaghetti coding. Anyway I believe bad programming comes from a bad programmer, though some languages may enforce correctness and type safety above others. …PHP3 min readPHP3 min read
Jan 10, 2020Member-onlyRemotely debugging Android WebView contentRecently a client told me he was having trouble with some webapages displayed inside an app we made for him but he couldn’t manage to get over it, so he would have liked to be able to debugging web content displayed inside the webview. It is actually possible to debug…Android2 min readAndroid2 min read
Nov 18, 2019Member-onlyFixing Let’s Encrypt Certificates renewal in .NET CoreRecently I faced some trouble with Let’s Encrypt Certificates renewal in a .NET Core web api published on a hosting with Plesk. Usually Plesk should renew SSL certificates 30 days before their expiration. In order to do so, Let’s Encrypt must be able to acces the url https://www.example.com/.well-known/acme-challenge/[token file name] …Ssl2 min readSsl2 min read
Oct 22, 2019Member-onlyReading/Writing Non-NDEF NFC Tags in AndroidReading/Writing Non-NDEF NFC Tags in Android A few months ago I was requested to make an app to read/write from/to Non-NDEF NFC Tags. While, according to the official Android reference, for the standard NDEF Tags you can read NdefMessage objects from intent extras and write to an NDEF tag by…Android3 min readAndroid3 min read