How to Stream Spotify Desktop with Rocki

Just received MyRocki, hot from the oven and I am proud of backing this project on Kickstarter. Was wondering how to stream the music from Spotify Desktop on Mac, didn’t realize that you can select Output from sound setting.

Hold the “Option” key on your Mac and click on the “Speaker” icon on top on the windows.

rocki.stream.speaker.icon

If the “Speaker” icon is not available on top of the windows, you can find it at “System Preferences”

system.preference.sound.02

system.preference.sound.01

I think I don’t have to mention how to stream it via iOS device like iPhone and iPad. Once Rocki is setup you will be able to see the stream options for selection.

How to Disallow or Rate Limit Web Server Mail in Exim

Recently one of the apache webserver’s vhost was compromise and allow spammer to use the script to perform massive outgoing email spam. As usual, due to un-patch WordPress’s engine from a user on the web server. Ended up the “hacker” been using the PHP’s mail() function sending a massive 100k++ outgoing email to email provider such as yahoo mail and gmail. Read the rest of this entry »

What is mdworker Working On Right Now

I just did a clean install of OSX Mavericks, after migrated important via Migration Assistant, the mdworker on OSX Mavericks is busy indexing stuff.

You will see a bunch of mdworker(s) doing their work in Activity Monitor

Screen Shot 2014-03-20 at 12.29.30 AM

If you want to find out what are mdworker(s) working on, can try this command in the terminal


$ sudo fs_usage -w -f filesys mdworker

If you found out there are folders you don’t want Spotlight to index, can add it into Privacy tab on Spotlight’s preference.

Enjoy!

How to Install Android ADB in Mac OSX

Wanted to root your Android phone and flash it with custom ROM?

Before flashing your Android phone with custom ROM, you need custom Recovery ROM such as

  • ClockworkMod Recovery (CWM)
  • Team Win Recovery Project (TWRP)

The default “Recovery ROM’ comes with your phone does not allow to flash/install custom ROM. Hence, before flashing your phone with custom ROM, custom “Recovery” is needed. Before flashing custom “recovery ROM”, you need tools to do that.

adb & fastboot are the tools which will use to flash Android’s “recovery” ROM. Let’s see how to install ADB & FASTBOOT in Mac OSX.

Read the rest of this entry »

Symfony lib-icu 4.4 Error on CentOS

Having problem to install symfony on CentOS due to the lib-icu 4.4 error. When running “php composer.phar install”, the error below pops up.


# php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it.
    - symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it.
    - Installation request for symfony/icu v1.2.0 -> satisfiable by symfony/icu[v1.2.0].

There is some configuration on “composer.json” need to be changed on “required” tree.


"symfony/icu": "1.0.0",
"symfony/symfony": "2.3.5",
 

After that run the command again “php composer.phar install”. The details of the ticket error can be found on Symfony’s github site (scroll to the last line)