Large Storage VPS for Android Mirror

Been trying to build my own Android build server only to find insufficient resource to do so like here. After some digging around, I found the perfect deal for this to happen. I found Reliable Hosting Services while reading through some blog posts here. The specs I went for is below: 2 CPU Cores 1 GB RAM 200 GB Disk 1000 GB Bandwidth Price: US$ 5/month Got it for cheap using a coupon code available at the blog post link I posted above. ...

July 29, 2013 · Batista Harahap

Fetching Android CyanogenMod sources on a 512 MB VM

Last night, I synced CyanogenMod’s Android source code into my laptop. It took ~12 hours to complete. The Internet connection I have is 6 Mbps and to download ~9 GB of source code shouldn’t take that long. So I created a 512 MB VM on my Digital Ocean account. I opted for the US$ 5/month VM which is a 1 Core, 512 MB RAM and 20 GB SSD. The VM DOES NOT have any swap space. ...

July 28, 2013 · Batista Harahap

Compiling nginx 1.4.0 With SPDY on CentOS 6

Just a few days ago, the latest version of nginx at 1.4.0 was released to the public. The version bump adds a lot of new capabilities for your web stack. The most interesting for me was support for SPDY 2 protocol. Excerpts from Chromium SPDY’s page reads below: As part of the "Let's make the web faster" initiative, we are experimenting with alternative protocols to help reduce the latency of web pages. One of these experiments is SPDY (pronounced "SPeeDY"), an application-layer protocol for transporting content over the web, designed specifically for minimal latency.  In addition to a specification of the protocol, we have developed a SPDY-enabled Google Chrome browser and open-source web server. In lab tests, we have compared the performance of these applications over HTTP and SPDY, and have observed up to 64% reductions in page load times in SPDY. We hope to engage the open source community to contribute ideas, feedback, code, and test results, to make SPDY the next-generation application protocol for a faster web. In order for SPDY to work, one will need an SSL certificate and OpenSSL 1.0.1c at least to compile and run a website successfully with nginx. SPDY needs NPN enabled with OpenSSL and CentOS only provides 1.0.0. According to a blog post here, we can just add a repo to get OpenSSL to work nicely. Here are the steps needed to compile nginx with SPDY support: $ rpm -ivh --nosignature http://rpm.axivo.com/redhat/axivo-release-6-1.noarch.rpm $ yum --enablerepo=axivo update openssl $ cd /opt/src $ wget http://nginx.org/download/nginx-1.4.0.tar.gz $ tar xfz nginx-1.4.0.tar.gz $ cd nginx-1.4.0 $ ./configure --with-pcre --with-http_ssl_module --with-http_spdy_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_stub_status_module --prefix=/usr/local/nginx $ make -j4 $ make install ...

May 6, 2013 · Batista Harahap

Building Android Gingerbread CyanogenMod 7.1 for Nexian Journey - Mac OS X Lion

Owkay, this is my first shot at compiling and building CyanogenMod 7.1 for Nexian Journey. Been trying to do so for the last 8 hours with only now I’m seeing some light on how to do it properly with Mac OS X Lion. Before starting, you should check out these resources to gain some grasp about the whole process: Google's official documentation CyanogenMod official instructions for Commtiva Z71 Marko Gargenta's fabulous screencast part 1 and part 2 Modaco's tips & trick compiling CyanogenMod in OS X Lion here The Nexian Journey MUST already be rooted, steps are located here Coffee and about 3+ hours to spend when building the first time From here on, the road will be bumpy and I warn you, your Internet bandwidth is gonna play a big part in finishing up all the necessary steps. You're gonna be downloading around 7 Gigs of source codes so make sure you're up for this. Credits are all reserved for the guys at Google and CyanogenMod for all the steps written below. I'm merely compiling all the information into a single blog post to save time. Before you start anything, READ this lifesaving blog post here from rootzwiki to hack a bit of Darwin's C libraries to cope with Android's needs. FYI: I’m compiling on a Macbook Pro Early 2011 Core i5 with Mac OS X Lion 10.7.2 and Xcode 4.2 ...

October 22, 2011 · Batista Harahap

Sphinx - Fulltext Search Engine - Part 1

It has been a few weeks after my first encounter with this Egyptian named gem called Sphinx. At first glance, it’s complicated when looking at an already made sphinx.conf. However, after careful redesigning and re-tinkering, it turns out to be one of the most flexible and yet light fulltext search engine available today. There are others but nothing as light, fast and sleek as Sphinx. The cold truth is that Sphinx is supporting SQL based databases as far as I know. Since Urbanesia is already using MySQL as our backend, we’re lucky. ...

November 24, 2010 · Batista Harahap