Showing posts with label in English. Show all posts
Showing posts with label in English. Show all posts

How to Enable SSH on Mac OS X

. 07 October 2008
2 comments

The Apple Mac OS X operating system has SSH installed by default but the SSH daemon is not enabled. This means you can't login remotely or do remote copies until you enable it.



To enable it, go to 'System Preferences'. Under 'Internet & Networking' there is a 'Sharing' icon. Run that. In the list that appears, check the 'Remote Login' option.



This starts the SSH daemon immediately and you can remotely login using your username. The 'Sharing' window shows at the bottom the name and IP address to use. You can also find this out using 'whoami' and 'ifconfig' from the Terminal application.

Make money for sharing your links

. 06 October 2008
0 comments


Another new advertising system that is causing a bit of a buzz at the moment is LinkBucks.com.

It’s currently in beta (isn’t everything these days?) and has a different model to many others.

From what I can tell - LinkBucks is different because it doesn’t actually require you to place any ads on your site at all. Instead you insert code into your blog that displays ads after readers leave your blog either as an intermission ad (an ad that momentarily shows up before readers get to the new site) or as a banner ad showing at the top of the next site.

LinkBucks.com ads type is a "Top Banner" means that you make money from a banner displayed at the top of the page on the linked site. An "Intermission" pays a lot more and is a page with an ad displyaed before the site linked. "Pop Ups" pays the most with a popup displaying immediately after clicking the link.

Payment isn’t that lucrative either at $1 per 5000 top banner impressions or $1 per 3500 intermission impressions - that’s a pretty low CPM, especially with such an intrusive type of advertising.

Info Syawal 1429 H - Eid Mubarak

. 30 September 2008
1 comments


Dr. Ali B. Panda (MCW member) from Marawi City, Philippines reported: Seen
The Ulama League of the Philippines headed by Aleem Ömar Pasigan concurred by the majority of the Ulama headed by Abu Ali Qadi in Marawi City and Lanao del Sur declared that Eid al-Fitr will be celebrated in the Philippines on Tuesday, September 30, 2008, the first day Shawwal. The declaration is based on the claimes that the moon was sighted in Cotabato¸ Zamboanga¸ Jolo and other places in Mindanao on September 29, 2008. Hower, Sultan a Cabugatan with the call sign of compound base said that moon was sigted in Dalipga, Lumbatan, Lanao del Sur more than seven min before sunset.

M H Zulqarnain from Riyadh, Saudi Arabia reported: Eid is announced
It may be surprising to all, but it has been announced here that moon has been sighted and tomorrow, Tuesday is Eid.

Mrs. Lubna Shawly (MCW member) from Jiddah, Saudi Arabia reported: Eid is announced
The Kingdome of Saudi Arabia Declaired that Eid is tomorrow Tuesday the 30th of September 2008

Niaz Ahmed Khan from UAE reported: Eid is announced
Tuesday is the first day of Eid Al Fitr, the UAE Moon Sighting Committee announced on Monday. The committee, headed by Mohammad Bin Nakhira Al Daheri, Minister of Justice, was quoted by WAM as saying that after a number of legitimate measures, as well as several contacts with neighbouring countries, it was established that Tuesday is the first day of Shawwal and hence the first day of Eid Al Fitr in the UAE.

Rizwan A. Rizvi sent the link which has Shawwal announcement in Lebanon: Official statement by Ayatollah Fazlullah. Here..

Danyal Shoaib from London, UK reported: Eid is announced
This is an official statement for London which has been announced further to my reporting of Regents Park Mosque: "The Coordination Committee of Major Islamic Centres and Mosques of London has agreed that Eid ul-Fitr, will be on Tuesday 30 09 2008." May we have unity in this celebration in the future Ameen. Eid mubarak once again!

Eid Mubarak from Khilafah.com
Announcement about the crescent moon of Shawwal 1429 AH.
After investigating the sightings of the crescent moon of Shawwal and the many reports in some of the Muslim countries. After verifying these reports in accordance to the Shari’ basis, we can announce that these sightings are legitimate according to the great Sunnah and hence Eid will be tomorrow (Tuesday 30th September).

“Berpuasalah kamu karena melihat hilal (bulan sabit) dan berbukalah kamu karena melihat hilal. Jika terhalang maka genapkanlah (istikmal) 30 hari.” (HR Bukhari-Muslim).

Warm IEd Whishes
Selamat Hari Raya Idul Fitri 1 Syawal 1429 H
Mohon Maaf Lahir Batin





Celestial Capture by U.S Navy Observatory:
Apparent disk of Moon for 2008 Sep 30 at 07:00 UT, 16.00 WIT or 15.00 WIB.

Installing RSYNC for Windows XP

. 29 August 2008
2 comments

With thanks to "Brent Norris" for his email and containing files.


I have created this page to help others who wish to use Rsync to backup M$ Windows based machines to Linux/Unix Servers or to other Windows Workstations/Servers. I hope you find this example useful. It is tried and tested for my case to backup my data from M$ Windows based to Mac OS X cross to the network at my office (PPTI BPID Kaltim).

This document will have you that you want to install rsync as daemon on M$ Windows based machines without installing the entire cygwin suite.

You will need the following files:

From Cygwin:


  • cygpopt-0.dll

  • cygwin1.dll

  • rsync.exe


These are available from http://www.cygwin.com or you can download from here.

From the Windows NT or 2000 Resource Kit.

  • instsrv.exe

  • srvany.exe


For simplicity I have zipped and upload them up and made them available here.

OK.. Please be careful where you place the server as any one who can see it can read from this service.

  1. Place rsync where you want to run it from.
    (I usually use C:\program files\rsync)

  2. Put the two dll's anywhere in the path, usually C:\winnt\system32 or c:\windows\system32.

  3. From a shell running in the directory containing instsrv and srvany type:
    (Replace C:\Rsync\ as appropriate)



  4. You should now have a new service called Rsync and you can verify by looking in
    Start->Control Panel->Services
    (you can also open services.msc from a run command on Windows XP or newer)
    PLEASE, DON'T START IT YET!



  5. If you want to run rsync in daemon mode you will need a configuration file. Here is the one I use, call it
    rsyncd.conf
    and place it in the same directory as rsync
    (C:\Program files\rsync\rsyncd.conf)

    use chroot = false
    strict modes = false
    hosts allow = *
    log file = c:/rsyncd.log

    [downloads]
    path = C:/Downloads/
    read only = yes

    [directory_d]
    path = D:/
    read only = yes

    (The command line to connect would look something like "rsync -vr server::dowloads", where server is the name of the server running the rsync daemon.)
    The first two lines are important for rsync to work on Windows.
    use chroot = false
    This command captured from my iMac PC.



  6. You are going to need to hack some keys in the registry to make it work. Don't do this unless you are comfortable with the changes! Run regedit32 and add the following keys and values (quotation marks ARE IMPORTANT):

    HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->Services->Rsync
    Edit->Add Key-> Key Name: Parameters
    Edit->Add Value-> Value Name: AppDirectory Value: "C:\Program Files\rsync"
    Edit->Add Value-> Value Name: Application Value: "C:\Program Files\rsync\rsync.exe"
    Edit->Add Value-> Value Name: AppParameters Value: --config="C:\Program Files\rsync\rsyncd.conf" --daemon --no-detach

    If you would like to add these keys automatically, there is a .reg file in the rsync.zip file hosted at the top. Just double click on rsync-param.reg

    Remember, unless you trust me implicitly, read the reg file and make sure you understand what it's doing before you run it.

  7. You will probably have to open up the services control panel and double click on the Rsync service. Open the Log On tab and either change it to logon using the Local System account or edit the account information to a valid login account.

  8. That's it, you should be able to start and stop the rsync service at will using the Services Control Panel. When running with the above configuration you should be able to test by attempting to telnet to port 873 from a remote machine. telnet rsync.server.com 873 (replacing rsync.server.com with your own server's address) You should get a connection to the rsync daemon running on your server.

    Here is capture firewall activity monitoring from my COMODO Firewall, and make sure that you hade add ports 873 into your firewall configuration to enable rsync services.



I hope to hear anyone who has any success with these page, and I always welcome comments and feedback.

Capture a Screenshot with Mac OS X

. 28 August 2008
0 comments


The Macintosh operating system has always made it easy to capture a screen shot (an image of your computer desktop or an active window). Here's a summary of all the methods you can use to capture your screen using Mac OS X.

1. To capture the entire desktop, press Command-Shift-3. The screen shot will be automatically saved as a file on your desktop.

2. To copy the entire desktop, press Command-Control-Shift-3. The screen shot will be placed on your clipboard for you to paste into another program.

3. To capture a portion of the desktop, press Command-Shift-4. A cross-hair cursor will appear and you can click and drag to select the area you wish to capture. When you release the mouse button, the screen shot will be automatically saved as a PNG file on your desktop. (The file is saved as PDF in Mac OS 10.3 and earlier.)

4. To capture a specific application window, press Command-Shift-4, then press the Spacebar. The cursor will change to a camera, and you can move it around the screen. As you move the cursor over an application window, the window will be highlighted. The entire window does not need to be visible for you to capture it. When you have the cursor over a window you want to capture, just click the mouse button and the screen shot will be saved as a PNG file on your desktop. (The file is saved as PDF in Mac OS 10.3 and earlier.)

5. Add Control to the two shortcuts above to place the screen shot on the clipboard instead of saving it to the desktop.

6. Another method for capturing screen shots in Mac OS X is by using the bundled Apple utility, Grab, located in the Applications > Utilities folder. Grab is useful if you need to include a cursor or a menu in your screen shot, or if you want to save your screen shot to TIFF format. To include a cursor, first go to Grab Preferences and select the cursor icon you wish to have in your screen shot. To capture the screen with Grab, run Grab, then choose of the capture modes from the "Capture" menu: Selection, Window, Screen, Timed Screen.



7. When you choose the Selection mode in Grab, you can capture a specific region of the screen by dragging around it. Grab will display a tooltip showing the size of the region you have selected and the screen shot will open in a window when you release the mouse button. The cursor will not be included.

8. When you choose the Window mode in Grab, an instruction window will appear asking you to select the window you wish to capture, then click the "Choose Window" button. When you click the button, the instructions will disappear and the window you click ill be captured, including the mouse cursor at the position where you click (if a cursor was selected in Preferences).

9. When you choose the Screen mode in Grab, an instruction window will appear asking you to click the screen when you are ready to capture. The mouse cursor will be included in your screen shot at the position where you click (if a cursor was selected in Preferences).

10. When you choose the Timed Screen mode in Grab, an instruction window will appear, allowing you to prepare your screen for capture. When you are ready, press the "Start Timer" button and you will have ten seconds before the screen is captured. This allows you to open menus and sub-menus, if necessary. After ten seconds the entire screen will be captured. The mouse cursor will be included in your screen shot if a cursor was selected in Preferences.

Insert Meta tags on Blogger

.
0 comments

Its simple.. Just Log-in to your Blogger account, and once you are on the Dashboard of your Blog, click on layout, then on Edit html then you can insert your meta tags just below the tag as shown below, then once you are finished don’t forget to save the modifications you have made to your template.

[id:
Mudah saja.. Silahkan Log-in ke akun Blogger Anda, pada bagian Dashboard klik Layout lalu edit tag HTML pada template blog seperti tampilan di bawah ini. Jika sudah selesai jangan lupa untuk menyimpan modifikasi yang Anda buat pada template.
id]



XHTML tags have to be in lower case alphabets. See the last sentence at Common HTML Validation Problems. Also, HTML tags normally comes in pairs, opening and closing tags. A few tags like the HTML for displaying images (img) and (meta) doesn't need a closing tag.

[id:
Tag XHTML sebaiknya dalam aphabet kecil. Silahkan mengacu ke Common HTML Validation jika masih bingung. Jangan lupa menyertakan tanda pembuka dan penutup tag HTML. Beberapa tag HTML semisal untuk menampilkan gambar kadang tidak memerlukan tag penutup.
id]

This was a post by Peter Chen on Blogger Tips and Tricks, please check it out, it gives very interseting details on the forms and positions of meta tags, and how to insert them in Blogger.

Minimize KDE Installation to My Gentoo

. 05 September 2006
0 comments

If you're interested in installing KDE (or KDE support), you will have to make sure that your USE variable contains the kde and qt flags. Qt is the graphical widget library that KDE uses.

You should also add hal to your USE variable now if you want to add support for mounting devices automatically as explained below in Setup KDE to Mount Devices.

If you do not want to use aRts for your all-around multimedia, disable the arts USE flag (it is active by default).

The KDE project releases new versions of its desktop environment as a set of about 16 big packages, each containing many applications (thus they are called "monolithic"), so you need to decide which of these packages you want to install.

If you want to see what it looks like to have all these packages installed, just check yourself:

# emerge -pv kde | less

If you don't have X11 X-window server yet, you have to install it first:

# emerge xorg-x11 (Install it)
# env-update (Update the system variables)
# source /etc/profile
# Xorg -configure (Configure it)
# nano -w /root/xorg.conf.new (Edit the configuration file)
# X -config /root/xorg.conf.new (Test it)
# mv /root/xorg.conf.new /etc/X11/xorg.conf (Move it to the standard location)
# startx (Test it)

When you shaw X cursor working well, now we can intall our desktop environment. We can start it now:

# emerge kdebase-startkde (Install the base KDE components)
# emerge kicker kmenuedit (Install the taskbar)
# emerge kate kcontrol knetattach konqueror konsole kpdf (Install additional)
# env-update; source /etc/profile (Update the system variables)
# su (Test it as non-root user)
$ echo "exec startkde" > ~/.xinitrc (Configure X startup)
$ source /etc/profile (Update the system variables)
$ startx (Start KDE)
$ exit (Back to root)
# ls /etc/X11/Sessions (Look for KDE version)
# nano -w /etc/rc.conf (Modify XSESSION and DISPLAYMANAGER)
# rc-update add xdm default (Set graphical session at boot)

Now, we try to start xdm:

# /etc/init.d/xdm start

If you see kdm or xdm login manager.. that's it.. we have done. Type an username to login into
linux system.

Find more information at: