I was recently working on setting up http to https redirects for multi domain site. Using Nginx I added the redirect rule as below: rewrite ^ https://$host$request_uri? permanent; But no matter no what I did it would redirect to https…
How To: Count.ly Server Backup Script – Local, Remote, Rotate – Automated Daily via Cron
This is a Linux Backup Script to Backup all the needed Count.ly Settings and Databases of your Count.ly Server It supports both Local and Remote Backups as well as Backup Rotation and can be Automated via Crontab. The Git Repo can…
How To: Linux SSH KEY Password Free Automatic Config Authentication – Backup, SFTP, SCP
This is a guide on how to set up a Password Free SSH Key Automatic Config Authentication between two servers so that the Origin Server can log in to the Destination Server and write the files to the Destination Server Automatically. 1. Create a passphrase-free ssh key…
How to Linux: Get Directory Size in Human Readable – How do I determine the size of a directory?
Linux offers a nice command to check the size of a Directory The size of a directory and its contents can be determined using the “du” command in Linux. It has a variety of options that you can view via…
ADB Xiaomi Mi Pad start Hardware Test app without Dailer – Calibrate Display, Proximity Sensor
I recently had some display and button problems and wanted to calibrate the display and Proximity sensor on my Xiaomi Mi Pad. Xiaomi`s MIUI ships with a great app for testing and calibrating all the hardware on the phone, the…
How To: Xiaomi MIUI V6 – Enable Developer Options and turn on and USB Debugging
This is a Image how to on how to enable Developer Options and turn on USB Debugging on a Xiaomi Device running MIUI V6 1. Open Settings > About Phone (very Bottom) 2. Tap MIUI Version 7 Times in rapid succession until you…
Titanium Alloy iOS Android Modules: Count.ly Analytics, Push Notifications – Events, User Profiles, Messaging – Google Analytics Alternative
Latest Titanium Count.ly Modules with Messaging Support: Alloy iOS Android Modules: Count.ly Analytics, Push Notifications – Events, User Profiles, Messaging – Google Analytics Alternative. Countly is an innovative, real-time, open source mobile analytics application. It collects data from mobile phones, and…
SOLVED: iOS APP Webview Arabic Ligature Font Paragraph Overflow – Kerning Issues
I was recently asked to help find a solution for an iOS App using a Webview to display Arabic Text – the text in the paragraphs where flowing over other elements in the paragraph and even out of the paragraph.…
How to: QR Code – Multi Platform – Apple App Store and Android Google Play Store – redirect PHP
Below is a simple PHP script to detect the users device type and then redirect them to the appropriate Apple iTunes App Store or Google Play store – in my case I actually just give the Android User the APK…
SOLVED: APK download file size not shown – no download percentage – SetEnv – htaccess – PHP Content-Length – Apache Server – CentOS
When trying to host an APK file on my server I was able to get it to download fine – but I was not able to get the file size to show in the download – including showing the download…