My Blog

iOS 6 - How to get turn-by-turn navigation for older iPhone (3G, 4)

iOS 6 - How to get Siri and turn-by-turn navigation for older iPhone (3G, 4):

  1. Sell your old iPhone through any of these websites:
    1. http://www.gazelle.com/iphone
    2. http://iphonetraderexpress.com/
    3. http://www.selltronix.com/product_listing/sell-iphone-trade
  2. Get an Android (even older Android 2.2 phones have free turn-by-turn navigation out of the box).
  3. Congratulations! You're no longer forced to upgrade by a bully corporation and no longer bound by Apple's scheme of planned obsolescence.
 Read More

Bitrig - copycat of OpenBSD

Another day and yet another open source project got forked. Bitrig has decided to copycat OpenBSD and fork it. Do people really need yet another OS? Why not contribute back to OpenBSD? Think about the time that can be saved by open source developers if they team up and build a strong base. This is just silly. Reinventing the wheel is purely a waste of time.

I really dislike this trend in the Open Source community. There's always a new Linux/BSD distro every month and yet another derivative. There is no respect at all and this is nothing but a form of legalized plagiarism.

 Read More

Mobile Vendor Trend - 2012

What Google Trends is telling you:

Google Mobile Phone Vendor Trends 2012
 Read More

GMail - Temporary Error (500) - Numeric Code 93

At the mercy of Google when all my data (Google Apps) is in the cloud:

Gmail Error 500 Code 93
It has been down for the last 3 hours and I can't do any work. Furthermore, when trying to report a problem:
Google Groups - Error #463
Edit - update: confirmed:
Google Apps down (April 17, 2012)

 Read More

Drive Genius 3 - Defrag Failed

I'm one of the folks who bought MacUpdate Spring 2012 Bundle, which includes Drive Genius 3. I've just upgraded my Mac with 750Gb Seagate Momentus XT2 (ST750LX003) and wanted to try defragging a hard-drive on OS X (just because).

So here's the result and a picture worth a thousand words:

Drive Genius 3 - Defrag Failed


Thank goodness it was still an empty drive with no data.
 Read More

Netflix has been down for several hours (November 27, 2011)

I believe Netflix is currently down ... it has been down since 5pm. At first, I thought I forgot my password, then when I clicked the "Forgot password" link, it sent me an e-mail with a link that took me back to this page again. I called the hotline +1 (877) 499-4427 and they said they are currently experiencing "problems with website and video streaming". Oh well.

Netflix Down
 Read More

How to install CentOS 6 from a USB drive with UNetbootin

I believe I'm one of the poor souls who tried to install CentOS 6 64-bit on a laptop with no DVD drive with UNetbootin. I need a full Linux test environment as I'm testing the directory server and a few control panel software and its integration with my Baby Gekko CMS. I tried putting the 4Gb ISO onto a flash drive along with the 4GB image that was created. Then as I was going to mount it, I couldn't go to tty2 since Anaconda installer hasn't given me a prompt yet. I got this error:
The installer has tried to mount image #1, but cannot find it on the hard drive. Please copy this image to the drive and click Retry. Click Exit to abort the installation.
So I finally used the CentOS-6.0-x86_64-netinstall.iso with UNetbootin, then extracted the 4GB ISO disc 1 and 2 into a newly created directory in my local EasyPHP development server. I tried again and things are finally looking good, I finally got the graphical installer to show up. It was saying

Then I got this cripting error
Unable to read package metadata. This may be due to a missing repodata directory ... and there was this file ffb0e227e2cdd8a2b3609b65d7f38f6c1e756b437405b2918d6d36ebe59a0cb4 that was in the repodata dirtectory that couldn't be read or something like that.
I was in disbelief, so I tried going to the FTP site and looked up went to /pub/centos/6.0/os/x86_64/repodata and apparently the files were different than the one in the ISO. Then I deleted all of those from the repodata directory and replaced it with this one. Voila - my CentOS 6 is finally installed on my Dell Vostro V131!



 Read More

Funniest Race Start Fail Ever!

This is definitely the funniest race start fail ever! LOL

 

 Read More

Simple Bash Script to use OS X 10.4 as a firewall

There was an unused Apple desktop machine running OS X 10.4 sitting around, so I decided to use it as a storage for our company's firewall log. The current log is then rotated and saved in /private/var/log/archived. Here's the script:

#!/bin/bash
echo Stopping Syslog...
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist
sleep 1

echo ""
printf %s "Rotating log files:"
cd /var/log
for i in edmonton.log; do
    if [ -f "${i}" ]; then
        printf %s " ${i}"
        if [ -x /usr/bin/gzip ]; then gzext=".gz"; else gzext=""; fi
        if [ -f "${i}.6${gzext}" ]; then mv -f "${i}.6${gzext}" "${i}.7${gzext}"; fi
        if [ -f "${i}.5${gzext}" ]; then mv -f "${i}.5${gzext}" "${i}.6${gzext}"; fi
        if [ -f "${i}.4${gzext}" ]; then mv -f "${i}.4${gzext}" "${i}.5${gzext}"; fi
        if [ -f "${i}.3${gzext}" ]; then mv -f "${i}.3${gzext}" "${i}.4${gzext}"; fi
        if [ -f "${i}.2${gzext}" ]; then mv -f "${i}.2${gzext}" "${i}.3${gzext}"; fi
        if [ -f "${i}.1${gzext}" ]; then mv -f "${i}.1${gzext}" "${i}.2${gzext}"; fi
        if [ -f "${i}.0${gzext}" ]; then mv -f "${i}.0${gzext}" "${i}.1${gzext}"; fi
        if [ -f "${i}" ]; then
              touch "${i}.$$" && chmod 640 "${i}.$$" && chown root:admin "${i}.$$"
              mv -f "${i}" "${i}.0" && mv "${i}.$$" "${i}" && if [ -x /usr/bin/gzip ]; then
                gzip -9 "${i}.0"; fi
        fi
    fi
done
if [ -f /var/run/syslog.pid ]; then kill -HUP $(cat /var/run/syslog.pid | head -1); fi
echo ""

cp -f /var/log/edmonton.log.1.gz /var/log/archived/edmonton_log-`/bin/date +%Y-%m-%d`.gz

sudo rm -f /var/log/edmonton.log
sudo touch /var/log/edmonton.log
sudo chgrp -v admin /var/log/edmonton.log
sudo chmod -v go+w /var/log/edmonton.log


for i in toronto.log; do
    if [ -f "${i}" ]; then
        printf %s " ${i}"
        if [ -x /usr/bin/gzip ]; then gzext=".gz"; else gzext=""; fi
        if [ -f "${i}.6${gzext}" ]; then mv -f "${i}.6${gzext}" "${i}.7${gzext}"; fi
        if [ -f "${i}.5${gzext}" ]; then mv -f "${i}.5${gzext}" "${i}.6${gzext}"; fi
        if [ -f "${i}.4${gzext}" ]; then mv -f "${i}.4${gzext}" "${i}.5${gzext}"; fi
        if [ -f "${i}.3${gzext}" ]; then mv -f "${i}.3${gzext}" "${i}.4${gzext}"; fi
        if [ -f "${i}.2${gzext}" ]; then mv -f "${i}.2${gzext}" "${i}.3${gzext}"; fi
        if [ -f "${i}.1${gzext}" ]; then mv -f "${i}.1${gzext}" "${i}.2${gzext}"; fi
        if [ -f "${i}.0${gzext}" ]; then mv -f "${i}.0${gzext}" "${i}.1${gzext}"; fi
        if [ -f "${i}" ]; then
              touch "${i}.$$" && chmod 640 "${i}.$$" && chown root:admin "${i}.$$"
              mv -f "${i}" "${i}.0" && mv "${i}.$$" "${i}" && if [ -x /usr/bin/gzip ]; then
                gzip -9 "${i}.0"; fi
        fi
    fi
done
if [ -f /var/run/syslog.pid ]; then kill -HUP $(cat /var/run/syslog.pid | head -1); fi
echo ""

cp -f /var/log/toronto.log.1.gz /var/log/archived/toronto_log-`/bin/date +%Y-%m-%d`.gz

sudo rm -f /var/log/toronto.log
sudo touch /var/log/toronto.log
sudo chgrp -v admin /var/log/toronto.log
sudo chmod -v go+w /var/log/toronto.log

for i in montreal.log; do
    if [ -f "${i}" ]; then
        printf %s " ${i}"
        if [ -x /usr/bin/gzip ]; then gzext=".gz"; else gzext=""; fi
        if [ -f "${i}.6${gzext}" ]; then mv -f "${i}.6${gzext}" "${i}.7${gzext}"; fi
        if [ -f "${i}.5${gzext}" ]; then mv -f "${i}.5${gzext}" "${i}.6${gzext}"; fi
        if [ -f "${i}.4${gzext}" ]; then mv -f "${i}.4${gzext}" "${i}.5${gzext}"; fi
        if [ -f "${i}.3${gzext}" ]; then mv -f "${i}.3${gzext}" "${i}.4${gzext}"; fi
        if [ -f "${i}.2${gzext}" ]; then mv -f "${i}.2${gzext}" "${i}.3${gzext}"; fi
        if [ -f "${i}.1${gzext}" ]; then mv -f "${i}.1${gzext}" "${i}.2${gzext}"; fi
        if [ -f "${i}.0${gzext}" ]; then mv -f "${i}.0${gzext}" "${i}.1${gzext}"; fi
        if [ -f "${i}" ]; then
              touch "${i}.$$" && chmod 640 "${i}.$$" && chown root:admin "${i}.$$"
              mv -f "${i}" "${i}.0" && mv "${i}.$$" "${i}" && if [ -x /usr/bin/gzip ]; then
                gzip -9 "${i}.0"; fi
        fi
    fi
done
if [ -f /var/run/syslog.pid ]; then kill -HUP $(cat /var/run/syslog.pid | head -1); fi
echo ""

cp -f /var/log/montreal.log.1.gz /var/log/archived/montreal_log-`/bin/date +%Y-%m-%d`.gz

sudo rm -f /var/log/montreal.log
sudo touch /var/log/montreal.log
sudo chgrp -v admin /var/log/montreal.log
sudo chmod -v go+w /var/log/montreal.log


sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist

Then, I also added the following to /etc/syslog.conf

local4.*                        /var/log/montreal.log
local6.*                        /var/log/edmonton.log
local0.*                        /var/log/toronto.log

That's it!

 Read More

I'm Back!

I'm back! It has been a while since I updated this blog, so I'm going to continue writing whatever comes to mind. I've submitted my resignation from the company that I currently work for. It's sad to leave a great company with great people to work with, but I have an upcoming project that has already been paid for in advance. I'm going to continue as a freelance web developer and also develop babygekko's CMS. We'll see where things will develop from here.

 Read More

Latest

Tik Tok algorithm is interesting

17.Apr.2024
I don't know how Tik Tok does it and honestly I don't know how its algorithm works. It can't be alg...

How to upgrade Gitlab safely with zero downtime

30.Mar.2024
GitLab is a complex piece of software. If you are planning on upgrading your self-hosted GitLab mac...

How to reduce Proxmox VE guest machine backup size

30.Mar.2024
To reduce a guest machine before you perform a backup, first set the discard flag on the guest mach...

Proxmox and CSF - LAN vmbr2 not working

29.Mar.2024
If somehow you have Proxmox & CSF for blocking outside traffic vmbr0 (WAN), and have a vmbr2 LA...

Scam text message from +1 (604) 339-2192

24.Jun.2017
Today I got a scam text message from +1 (604) 339-2192, telling me to deposit email money transfer ...

Disable free SSL from CPanel

26.Jan.2017
Recently, CPanel has been providing domain validated SSL certificate for free. However, it is quite...

Windows 2012 Server RC Evaluation ISO direct link

2.Aug.2012
I've been wanting to download the latest version of Windows 2012 but for some reasons I keep gettin...

Scam from TextWon.com/Ziinga (claiming to be BestBuy) sent by (917) 690-6874

3.Jul.2012
This morning I received a scam spam message from (917) 690-6874. Becareful because this is not a le...

Oracle VM Server on Lenovo W520 with i7-2860QM and 32GB RAM, 1.5TB RAID

2.Jul.2012
I've been curious about Oracle VM Server and wanted to try it for my own home lab. I've had the VMW...

Ubuntu 12.04 on Lenovo W520 with Intel RAID - don't waste your time

24.Jun.2012
I think Ubuntu 12.04 is a big failure. It's unstable and buggy to the point where I think it just d...

iOS 6 - How to get turn-by-turn navigation for older iPhone (3G, 4)

13.Jun.2012
iOS 6 - How to get Siri and turn-by-turn navigation for older iPhone (3G, 4): Sell your old iPhone...

Bitrig - copycat of OpenBSD

13.Jun.2012
Another day and yet another open source project got forked. Bitrig has decided to copycat OpenBSD&n...

Mobile Vendor Trend - 2012

11.Jun.2012
What Google Trends is telling you:...

GMail - Temporary Error (500) - Numeric Code 93

17.Apr.2012
At the mercy of Google when all my data (Google Apps) is in the cloud:It has been down for the last...

Drive Genius 3 - Defrag Failed

28.Mar.2012
I'm one of the folks who bought MacUpdate Spring 2012 Bundle, which includes Drive Genius 3. I've j...