I might be a defeated soldier, but I was trained to win.
🍑 It’s June already. Time flies. Here’s the highlights of what happen in my life in the past six months.
Yet, a scary thought crossed my mind. I felt like I was ripping everyone off this time. I didn’t really do such a great job, but the atmosphere was really like that….
So, before others take notice, I need to quickly raise my standard. I have to work hard and change these bubbles into solid soap.
A beautiful WordPress theme inspired by file explorer. I create this theme in 48 hours (well, actually 12.5 hours).
So, a few days ago Sami Keijonen create a challenge to build a WordPress Theme in 48 hours. He mention that he need several months to build a WordPress Theme.
Well, for myself, the challenge is not really hard. I usually build a theme in 2-4 days for simple custom theme. As long as the client already have a design (PSD/design inspiration/example) I can build it in less than a week.
I only charge $300 – $500 for a very simple theme. So, I need to work fast
You’ll eventually get caught no matter how careful you are. The key is to become a person who doesn’t need to be careful.
Around a month ago, I decided to buy a cheap Windows tablet from eBay, HP Stream 7. This model is not available here in Indonesia. Here are several things I wish I knew about this tablet before buying it.
How much it really cost?
Well, if you are in America, you can buy it for $80 at Microsoft Store. But they can’t ship it here so I purchased it from eBay:
$100 – Normal price
$30 – Shipping (it took around 1 month to get here using USPS)
$10 – Tax, administration, etc
So in total around $140 (almost twice the price)
I also bought 32 GB MicroSD Card ($15), so I spent around $155 for this device.
Is it sucks?
Yes, kinda. But is it worth the money? (probably not)
WordPress is a Global CMS, with very minimum requirement to install:
PHP: version 5.2.4
MySQL: version 5.0
I’m sure most of us have better server configuration than the minimum. I think most hosting have at least PHP 5.4 installed. but as a freelancer, sometimes we get a client with older version of PHP in their server. And for whatever reason they cannot/do not want to upgrade to better hosting.
If you don’t have multiple PHP version in your server, you can always install multiple PHP version in your server and pollute your server with outdated script.
Or you can spent $10 and have a separate server where you can test your code for whole year.
$10 / year, that’s only $ 0.83 / month
Today I updated my plugin f(x) Favicon, and I would like to share in how I sanitize image URL in the plugin uploader.
And this is to make sure our plugin/theme working correctly. We also need to do this check before loading the file.
<link rel="shortcut icon" href="http://siteurl.com/path/favicon.png"/>
<link rel="shortcut icon" href="http://siteurl.com/path/some-random-file.doc"/>
Yesterday I wrote a WordPress Login Notification Plugin. And I use Anonymous Function (introduced in PHP 5.3) in the settings. It work well in my server but when I install it in my client site, the settings page is truncated even though my client use PHP 5.3.
O God! sometimes I wish that there had never been a religion, because that which should unite mankind into one common brotherhood has been through all the ages a cause of strife, of discord, and of bloodshed. Members of the same family have persecuted one another because of the different manner in which they worshipped one and the same God. Those who ought to have been bound together by the tenderest love have turned with hatred from one another. Differences of Church, albeit in each the same word, God, is spoken, have built a dividing wall between two throbbing hearts. I often ask myself uneasily: is religion indeed a blessing to mankind? Religion, which is meant to save us from our sins, how many sins are committed in thy name?
— Raden Adjeng Kartini (Letters of a Javanese Princess)
WordPress Visual Editor only have text color option. But sometimes we need to highlight the text by changing the text background color. TinyMCE (the editor script) actually have this feature, but WordPress hide it to make the visual editor simpler. But if you need this feature, you can activate this feature using very simple code.