Archive for November, 2011

Shiva Tandava Stotram – An android app


Available in Android Market

#gallery-1 { margin: auto; } #gallery-1 .gallery-item { float: left; margin-top: 10px; text-align: center; width: 25%; } #gallery-1 img { border: 2px solid #cfcfcf; } #gallery-1 .gallery-caption { margin-left: 0; } /* see gallery_shortcode() in wp-includes/media.php */

, , ,

No Comments

Neproid – Nepali FM android app


Available in Android Market

#gallery-2 { margin: auto; } #gallery-2 .gallery-item { float: left; margin-top: 10px; text-align: center; width: 33%; } #gallery-2 img { border: 2px solid #cfcfcf; } #gallery-2 .gallery-caption { margin-left: 0; } /* see gallery_shortcode() in wp-includes/media.php */

, , , ,

No Comments

Splash screen for Android

<pre>public class MyClass extends Activity {
	String TAG ="on Splash Screen";
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
		setContentView(R.layout.splash_screen);
		/** set time to splash out */
		final int welcomeScreenDisplay = 
Read more

No Comments

Firewall in Linux (IPTABLES)

cat > /etc/rc.firewall

#!/bin/sh

# Variables
FW="/sbin/iptables"
IF1="eth0"
IF1_IP=`/sbin/ifconfig ${IF1}|grep -w inet|awk -F: '{print $2}'|awk '{print $1}'`
IF1_MASK=`/sbin/ifconfig ${IF1}|grep -w inet|awk '{print $4}'|awk -F: '{print $2}'`
IF1_NET="${IF1_IP}/${IF1_MASK}"

# Temporarily Change the Default Policy to Accept
${FW} -P INPUT ACCEPT
Read more

, ,

No Comments