Posts marked with "Posts" in posts

How to add Subins Like button to blogger/blogspot

You might have know The Subins Project created by me. It is hosted by AppFog. If you want to add Subins Like button to your blog, then follow these steps.

Go to Blogger
Place this code where you want to add the Subins Like Button.


BLOG URL‘>

If you want to add like button on post footer then follow the steps mentioned below.
Go to Blogger -> Template -> Edit HTML
Click Expand Widget Templates.
Search for the line post-footer’ (within the quote).
Add this code after the first line you just founded.

... [READ MORE]

Free Palestine

Israel again bombed Palestine. Why are they doing this ? We all are equal irrespective of religion. We all got an education. 
Grow up people. Muslims, Jews…. everyone are same. Don’t look people by religion. Why they want to start a World War 3 ??? Why can’t they no we can all just get along ??? 
You can’t kill people in the name name of religion. How can the Israelis live with these much blood on their hands. They not only killed adults but children too. So sad to see this. Even GOD won’t forgive the people who killed the Palestini people. 
Israel must end this war now. Don’t kill more people. We all can get along. Please don’t kill any more people. You don’t want more blood on your hands……
Support Palestine by visiting Avaaz and Google+.

... [READ MORE]

SQL Query in another SQL Query = SQL Subquery

You might have wanted to do a SQL query inside an another SQL query. You can do this using SQL Subquery. It’s simple as ABC. Here’s an example :

SELECT * FROM `fdposts` WHERE user IN (SELECT friend FROM `fdfriends` WHERE user=’subins2000′)

The above code will select rows in table fdposts where user is the value of friend row in the table fdfriends.
As you can see it’s very simple. Here’s another example :

SELECT * FROM `posts` WHERE user IN (SELECT name FROM `members` WHERE user=’subins2000′)

... [READ MORE]

How to increase your apt cache limit

Increase value APT::Cache-Limit

When the time I try to install backtrack unfortunately i got message error in the terminal :
Reading package lists… Error!
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing riece (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_universe_binary-i386_Packages
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.

and solution to fix it is just increase the value APT::Cache-Limit at the /etc/apt/apt.conf.d/70debconf

sudo gedit /etc/apt/apt.conf.d/70debconf

... [READ MORE]

Creating a custom 404 Not Found page in Apache Server.

DEMO
You might have seen a 404 page on different sites such as Google,Yahoo etc… You can make this on your website too if you are using Apache Server. The default 404 page will be like this :

It’s just simple plain HTML 404 page and it’s ugly. To Change the default 404 page Do as below.
Go to your site’s folder.
Create a file named .htaccess (just .htaccess no name only file extension).
Open the file and add the line.

ErrorDocument 404 /pathtofile

... [READ MORE]

Follow/Subscribe

Telegram 

Mastodon  Twitter

GitHub GitLab

Subdomains

Demos  Lab

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab