Author Archives: ronaldpringadi

Delete All Symlink in The Current Directory

find . -maxdepth 1 -type l -exec rm -f {} \;

Posted in Linux, Operating System | Leave a comment

Ad Blocker for Android Browser

If you’re anoyed with ads in your android browser, you should try Ad Block: https://market.android.com/details?id=de.ub0r.android.adBlock&hl=en With ad block your browser will make a request through a proxy server, which is the Ad Block itself. The Ad Block usually setup to … Continue reading

Posted in Android | Leave a comment

Benchmark How Long a Program Runs In Linux Using Bash

The following bash code might come handy for those of you who want to benchmark how long does a program runs. In the following example the assumption is that you want to pass along two parameters for your program to … Continue reading

Posted in Linux, Operating System, Ubuntu | Leave a comment

Auto Login Using SSH Public and Private Keys

Assume that your main server (the one you use the most) is ServerA. And from ServerA, you want to automatically login to ServerB. For illustration purpose, ServerB can be a repo server and you don’t want to keep being asked … Continue reading

Posted in Linux, Operating System, Ubuntu | Leave a comment

Linux Soft Symlink Folder or Directory

$ ln -s /home/rpringad/somefolder /home/rpringad/newfolder #or if your current directory is already /home/rpringad: $ ln -s /home/rpringad/somefolder /home/rpringad/newfolder $ ln -s existingSourceFolder newLinkedFolder

Posted in Linux, Operating System, Ubuntu | Leave a comment

How To Know Which Linux Distribution You Are Using?

There are three commands that you can use, pick one of them: 12345cat /etc/issue cat /proc/version dmesg | head -1

Posted in Linux, Operating System, Ubuntu | Leave a comment

How to Set up an FTP Server in Ubuntu Linux

Login to your Linux shell menu as root 12[root@locahost]# apt-get install vsftpd [root@locahost]# vim /etc/vsftpd.conf At VIM, 1st comment out anonymous_enable by adding a # sign at the beginning of the line # anonymous_enable=YES 2nd remove comment at local enable … Continue reading

Posted in Linux, Operating System, Ubuntu | Leave a comment

Adding color to your tail

Tail is a very useful tool for monitoring error stream. Sometime the output from tail can have too much information and its black and white monotone output can be hard to follow with the eyes. The basic: Linux terminal has … Continue reading

Posted in Linux, Operating System, Ubuntu | Leave a comment

JSON Jumpstart

1234567891011121314151617181920212223242526272829303132333435363738394041424344/**  * In JSON curly braket is a sign of a new object ({ or })  * Any variable inside the object, also known as object’s attribute, is accessible using a period sign (.) object.attribute  * or you can also … Continue reading

Posted in javascript, Web Development | Leave a comment

Vodafone Group, AT&T, and Verizon are The Biggest Yielding Companies In November 2011

Vodafone Group, the telecom giant known for its land line and wireless services around the U.S and U.K, together with two other U.S based telecom giants AT&T and Verizon are one of the best yielding companies in Nov 2011. As … Continue reading

Posted in Investment, Stock Market | Leave a comment