alert("Admin Says Hi!!");
so that u will see box appear says “Admin Says Hi” with OK button.
GPS or Global Positioning System is space-based global navigation satellite system (GNSS). GNSS is used for satellite navigation system with global coverage. GPS provides location and time information in all weather, anywhere on Earh (where there is an obstructed line to four or more GPS satellite). GPS is maintained by United States goverment and available to anyone with GPS receiver.
Other satellite positioning systems available are GLONASS from Rusia, Compass
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.
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
Nmap is really useful network scanner that help us identify live hosts in the internet.
become root user
make install clean[/php]
Run nmap program
nmap -sS -v okedot.com
To add user on ubuntu we can use useradd command, which has some options. For example we want to create new user named “cooluser” with password “usercool”, and we want to make the home directory in /home/cooluser
[php]useradd cooluser -p usercool -m [/php]
this command will create new directory in /home/cooluser
to delete user use this command
to observe other option just use man command
For your each of your wordpress web you have your own themes. Each theme has its own setting. For example, originally my themes didnt create “Read More” for each article in home page. Manually i can set it up in my new post. Simply by clicking more icon in the middle or after some words in article. The result will be home page with list of my posts, but now it has read more section that will drive the user to single post format.
If you want to do it automatically u can choose or use the_excerpt() function instead the_content() function.
You can do this to you home page by doing these steps :
1. Open Your dashboard
2. Go to Appereance ===> Editor
3. Choose index.php to be modified
4. Find string the_content()
5. Replace it with the_excerpt()
6. Update/Save this modification
Now you will have automatically created read more section for all your posts displayed on your homepage
Sometimes we need to determine what version of our OS. Mostly for all unix, linux os we can do it with ‘uname’ command. for FreeBSD it works well and we can see directly what version our FreeBSD is, but for ubuntu and centos we can get it straight what we need because instead of display OS version its just will display the kernel version.
then i find out that we can use this command
1. cat /etc/issue
3. cat /etc/apt/sources.list (by seeing repository)
On debian u can use this command (in order)
1. cd /etc
2. ls | grep version
1. uname -a
To list hardware on ubuntu u can simply use lshw command. However on ubuntu fresh installation sometimes we find that this is not installed.
1. install lshw
apt-get install lshw
2. list your hardware
3. to display certain hardware u can add option -C class
lshw -C disk
lshw -C network
4. to see more compact view class
u can use sysctl and dmesg to list all your hardware on freebsd
# sysctl -a
then use grep and egrep to choose what hardware you like to display
# sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'
# sysctl -a | grep mem
or for good display u can see this page
# egrep 'ad[0-9]|cd[0-9]' /var/run/dmesg.boot