Posts marked with "Posts" in posts

Updating site in App Fog on Linux / Uploading site files to App Fog Server

You might have know what is App Fog in my previous post. In this tutorial I am going to tell you how to upload your site files to their servers. For that first install Ruby by using this command : sudo apt-get install ruby Then install Ruby Gem : sudo apt-get install gem AppFog uses a gem named AF. Install the AF gem by using the command : sudo gem install af Wait some time.... [READ MORE]

Subins Project Online – Thanks to App Fog

You might have know the project I have been working on. The Subins Project. I have spent a year on this project. My wish was to host this on a site. But I couldn’t afford the hosting charges cause I’m 12 and my dad won’t lend me money. I took a leave because of fever. On that day I was browsing the internet and out of nowhere I saw a post about a site named AppFog.... [READ MORE]

How to alert user that he is the ___th visitor of blogger/blogspot blog?

If you ever visited my blog on the day it’s reaching a big view (24000 , 25000) you will get a javascript alert saying you are the 24000th visitor like this : The above image shows that the blog alerted when the user was the 23000 visitor. It will also change the background to this. Want to have this feature on your blog ??? You are in the right place. Requirements One Stats Widget (Only one).... [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.... [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′) The above code will select rows in table posts where user is the value of the row name in the table members.... [READ MORE]

How to run/execute SQL Code

If you have installed phpMyAdmin do as below. Go to localhost/phpmyadmin/server_sql.php. Paste the SQL Code in the text box shown in the page and press GO button at the bottom right of the page. If you want to run code in PHP file do as below. Open your PHP file. Add these lines in the file. mysql_query("sql code here"); NOTE – Replace the red line with the SQL code.... [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.... [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.... [READ MORE]

Selecting a particular parent in Jquery

If you want to select a particular parent div. Then you should use parents() function. If you use parent() function It won’t work. For Example: index.html          This is the a tag!!     If you want to get the id of the main parent which is .main then you should use Jquery code like this: $("#click").live(‘click’, function(){ alert($(this).parents(".main").attr(‘id’)); }); The code above will alert the id of the main parent. Try it out yourself.... [READ MORE]

How to remove an item from GRUB boot menu 2nd Way.

There is another way to remove items from GRUB menu. By deleting the files in /boot. To remove the item in the GRUB do as shown below. Open Terminal (ALT + CTRL + T) Enter the Command. gedit /boot/grub/grub.cfg Now search for ### BEGIN /etc/grub.d/10_linux ###. After that line you will see the items of your GRUB menu. Select which is the item you want to remove. Suppose we want to remove Ubuntu, with Linux 2.... [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