How to search google image by size : google advance image search

The new layout of google search result makes us not able to filter the image directly. While in past layout we can choose and filter image by size, now we couldn’t find any option to filter the image. If you want to filter the image based on some criteria, you can do this by accessing

http://www.google.com/advanced_image_search

it will give you form to filter and find image more relevanty.

google advance image search

google advance image search

Javascript introduction

[php]<script type="text/javascript" src="script.js"></script>[/php]

the line above is one of some ways to include javascript to your web page. it will make sure you have separated script file to include, rather than writing scripts directly to the same html page with the content.

second way to include javascript is by writing or embed the script directly on our html page. for example in this page i wrote

[php]<script type="text/javascript">
alert("Admin Says Hi!!");
</script>[/php]

so that u will see box appear says “Admin Says Hi” with OK button.

further use of javascript provides u amazing ways to make your html page more beautiful. for example in news flash, picture gallery, slider, dll.

javascript in act: Continue reading

Joomla : Change Forgotten Administrator Password

sometimes we easily forget our password when its never used.
in this case i forgot my joomla administrator password.
i found this post in joomla documentation and re-blog it to make me remember it more.

joomla

joomla logo

1. Go to your phpmyadmin page
2. Open your joomla database
3. Find jos_users table, (in your database the prefix jos… according to your setting, sometimes named josroot_users or any other name)
4. Click that table and choose browse on the top mysql menu.
5. Edit (on name coloum) administrator entry.
6. On password option insert your new password in md5 code.
(u can generate it in this page)
7. Click Go

Adding Facebook Like to WordPress Page / Post

Above is the example
To Add this like button u can simply add this line

[php]
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<?php echo get_permalink(); ?>" show_faces="true" width="450"></fb:like>
[/php]

or this line

[php]
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<fb:like></fb:like>
[/php]

to your single post options in wordpress themes editor.
here is the step by step :

1. Open Appereance – Editor
2. Open Single.php
3. Paste the line after or before

[php]<?php the_content(); ?>[/php]

4. Save, and Try your first post with facebook like

Snorby Installation on Ubuntu 11.04

snorby is a ruby ​​application that is used to display / report the results of detection of intrusion detection software such as Snort, Sagan, and suricata. Snorby has an attractive appearance and layout, it is neat and easy to use, making snorby become one great option, beside anval, base, and the standard snortreport as snort reporting sotware to user. if you want to install snort, on a previous post i have written about the basic installation of Snort, which is one of the standard and widely IDS used.

Snorby is a ruby ​​application, because of that its installation process us a little bit new for me. Snorby installation tutorials have been written and published on the internet. It is also displayed on the main page of http://snorby.org, but the installation tutorials is not comprehensive enough. so if you are looking for the comprehensive one, you can go to snorby.org wiki pages. There is snorby installation in ubuntu without the use of RVM. The installation tutorial is complete enough to be followed if we want to install snorby on ubuntu machine.

snorby installation:

1. install dependencies
[php]

sudo apt-get install gcc g++ build-essential libssl-dev libreadline5-dev zlib1g-dev linux-headers-generic libsqlite3-dev libxslt-dev libxml2-dev imagemagick libmysqlclient-dev libmagick9-dev git-core mysql-server wkhtmltopdf[/php] Continue reading

How To Enable Site and Module Apache2 (Ubuntu)

Apache2 on ubuntu comes up with different configuration. you can find all configuration files on /etc/apache2.
There are some folder/file that we need to understand if we want to enable virtual hosting and enable non-default module on apache2. Here they are:

1. Folder / Directory
sites-available
this is the folder where you store you site configuration. by name based vitual hosting means you can have different domain for your ip address. example caleudum.com and cool.com, so you will have two different file configuration inside this folder. No rule to name each configuration file. You can view sample from “default” files.

sites-enable
this is the folder that stores symlink (symbolic link) from configuration files. any site whose configuration file is stored here as symlink is enabled, means you can browse the site. Continue reading

Enable Facebook Timeline

Facebook timeline is the newest facebook feature that will display “timeline” on our profil page. This timeline is also accompanied with new facebook “cover” it is your image that will be put like a header page on websites. Facebook timeline divide our profil page into two coloums. These coloums are separated by vertical line right in the middle, this vertical line points to specific events, or wall, or your activities in newest to older order. Facebook timeline also put small timeline menu in the upper right of our profil page, we can go to any specific time in the past to see our older facebook activies. Facebook timeline will soon be realease for all, but by the time this article is posted it is only available for developer.

facebook timeline

facebook timeline

here is the post from facebook about facebook timeline :

http://www.facebook.com/about/timeline

and for you who don’t patient enough to wait you can enable facebook timeline by following intructions on this link, enjoy.

http://techcrunch.com/2011/09/22/how-to-enable-facebook-timeline/

delete / remove ?wpmp_switcher=desktop

After i use wordpress plugin for mobile web application “WordPress Mobile Pack”  i found that it caused duplicate meta description. Each of my link/permalink will be appended “?wpmp_switcher=desktop”, which indicates that instead of using the web mode display, we will use desktop mode display.

since it created miss configuration to meta description tag, i prefer to remove the plugin. but the affected links seem still the same. trying to understand this thing, i did these 2 things.

1. Clear the dns cache and browser history just to make sure these aren’t the thing that causes the problem.

2. Deleting completely any “WordPress Mobile Pack” in folder wp-include>>themes.

It seems working on my website, u can try to do it with yours too. hope this helpful for you.

 

 

Jcow Installation

Jcow is facebook like application, it has been used by some community to create their own “facebook” page. Jcow available in Free and Paid license. The Free license have limited feature though. Below, is the instruction to install Jcow on your hosting.

jcow

1. Download Jcow application installer here or in http://www.jcow.net/
2. Create new directory for your Jcow
3. Upload the file to your hosting place it in folder Jcow, extract it here.
4. Create new database and database user, give all privileges to the user to access database.
5. In you Jcow directory find install.php change permission to execute file
chmod 775 install.php
6. Open your install.php on your browser according to your jcow directory. example : http://caleudum.com/jcow/install.php
7. Insert information required.
8. Delete install.php then try to browse your Jcow folder. example http://demo.jcow.net/

here is the example
http://demo.jcow.net/