How to Make Your Xiaomi Phone as USB Modem on PC

Everything bad could happen during your run to your deadline, including your internet connection. I was in that situation couple weeks ago, just few hours before I should send the document, the connection suddenly went down, and all my data are in the PC no WiFi module available. The first thing I remember was to use my Xiaomi phone to work as Internet Modem. Continue reading “How to Make Your Xiaomi Phone as USB Modem on PC”

Another View Inside
 
Hardware, How To, Windows, , Leave a comment

How to Solve PPTP VPN on Mac OS Sierra

I didn’t realize it at first, but when I need it, I realize it gone.

For security reason, PPTP VPN connection eliminated on the latest Mac OS Sierra. There is no way apple will bring it back, but fortunately there’s an App for that. I recently evaluating a VPN client for Mac that support PPTP and other methods as well. It’s Shimo VPNContinue reading “How to Solve PPTP VPN on Mac OS Sierra”

Another View Inside
 
Mac OS, Software, , , , Leave a comment

Adjust WordPress JPEG Resize Quality

Got your latest images pixelated after uploading it to WordPress? Yes that could be irritating especially on Photography sites.  WordPress has a function to adjust the level of the image quality, as described on Developer Code Refference.

Simply put this small code to your functions.php

Adjust return number to set the level of compression.

100 = No Compression applied. Change it moderate compression about 80. Anything below 80 will make your images looks pixelated, but produced minimum of file size.

snippet, Wordpress, , Leave a comment

Add Custom Size Image to Media Popup in WordPress

In WordPres 4.5, my old function to add custom size to media uploader seem not working anymore. But I found that new way to add custom size image is lot simpler using image_size_names_choose filter.

Basically when you create your own image sizes using the add_image_size function:

you can just add the new sizes to image_size_names_choose:

Screen Shot 2016-06-06 at 4.36.51 PM

PHP, snippet, Wordpress, , Leave a comment