Photography

May 18, 2009

F8 -  wide open for apeture( good for potrait picture)

apeture close down to hight number (makin

kecil) example 64
F1.7 (besar bukaan lence) good for taking

picture inside a house – but not good for

dept of field out of focus shutter speed
Length of time the shutter remians open, exposing the sensor
fast shutter speed u let in less light

for basic set it to TV

how long light let in

Aperture

size of open the lence that let light in

how much light let in

DOF how to control

1 – smaller Apertures have a greate DOF
2 – more distance from subject = greater DOF
3 – the wider angle lenses u have greater DOF

bogen manfrontto tripod

Bestphotolesson.com
Uv filter to protect the lense


Slide note

April 17, 2009

<object enableJSURL=”false” enableHREF=”false” saveEmbedTags=”true” allowScriptAccess=”never” allownetworking=”internal” type=”application/x-shockwave-flash” data=”http://www.authorstream.com/Presentation/azhari30-176554-5-ArchitecturalDesign-Architectural-Design-Objectives-Topics-covered-Software-architecture-Education-ppt-powerpoint/” height=”300″ width=”400″ align=”middle”>
<param name=”movie” value=”http://www.authorstream.com/Presentation/azhari30-176554-5-ArchitecturalDesign-Architectural-Design-Objectives-Topics-covered-Software-architecture-Education-ppt-powerpoint/” />
<param name=”allownetworking” value=”internal” />
<param name=”allowScriptAccess” value=”never” />
<param name=”enableJSURL” value=”false” />
<param name=”enableHREF” value=”false” />
<param name=”saveEmbedTags” value=”true” />
</object> <BR>


Vi command

May 12, 2008

http://www.ss64.com/bashsyntax/vi.html

Switch to Text or Insert mode:

Open line above cursor
O
Insert text at beginning of line
I
Insert text at cursor
i
Insert text after cursor
a
Append text at line end
A
Open line below cursor
o

Switch to Command mode:

Switch to command mode
<ESC>

Cursor Movement (command mode):

Scroll Backward 1 screen
<ctrl>b
Scroll Up 1/2 screen
<ctrl>u
Go to beginning of line
0
Go to line n
nG
Go to end of line
$
Scroll Down 1/2 screen
<ctrl>d
Go to line number ##
:##
Scroll Forward 1 screen
<ctrl>f
Go to last line
G
Scroll by sentence f/b ( )
Scroll by word f/b w b Move left, down, up, right h j k l
Left 6 chars
6h
Directional Movement Arrow Keys
Go to line #6
6G

Deleting text (command mode):

Change word
cw
Replace one character
r
Delete word
dw
Delete text at cursor
x
Delete entire line (to buffer)
dd
Delete current to end of line
D
Delete 5 lines (to buffer)
5dd
Delete lines 5-10
:5,10d

Editing (command mode):

Copy line
yy
Copy n lines
nyy
Copy lines 1-2/paste after 3
:1,2t 3
Paste above current line
P
Paste below current line
p
Move lines 4-5/paste after 6
:4,5m 6
Join previous line
J
Search backward for string
?string
Search forward for string
/string Find next string occurrence n
% (entire file) s (search and replace) /old text with new/ c (confirm) g (global – all)
:%s/oldstring/newstring/cg
Ignore case during search
:set ic
Repeat last command
.
Undo previous command
u
Undo all changes to line
U

Save and Quit (command mode):

Save changes to buffer
:w
Save changes and quit vi
:wq
Save file to new file
:w file
Quit without saving
:q!
Save lines to new file
:10,15w file

The address list could not be displaye

May 7, 2008

SYMPTOMS

loadTOCNode(1, ‘symptoms’);

If you attempt to address a new message from your Contacts, you may receive the following error message:

The address list could not be displayed. The Contacts folder associated with this address list could not be opened; it may have been moved or deleted, or you do not have permissions. For information on how to remove this folder from the Outlook Address Book, see Microsoft Outlook Help.

Back to the top

CAUSE

loadTOCNode(1, ’cause’);

This behavior can occur if the Microsoft Outlook Address Book is damaged.

Back to the top

RESOLUTION

loadTOCNode(1, ‘resolution’); To resolve this issue, remove and reinstall the Outlook Address Book. To do this:

1. Start Outlook.
2. On the Tools menu, click E-mail Accounts.
3. Click View or change existing directories or address books, and then click Next.
4. Click Outlook Address Book, and then click Remove.
5. Click Yes when you receive the prompt to confirm the removal.
6. Click Add.
7. Click Additional Address Books, and then click Next.
8. Click Outlook Address Book, and then click Next.
9. Click OK when you receive the message to restart Outlook.
10. Click Finish.
11. Click Exit on the File menu to quit Outlook.
12. Restart Outlook.
13. In the Folder list, right-click the folder that you want to use with the Address Book (for example, right-click Contacts), and then click Properties.
14. Click the Outlook Address Book tab.
15. Click to select the Show this folder as an e-mail Address Book check box (if it is not already selected), and then click OK.

How to install LAMP (Apache, PHP and MySQL in Linux) using Yum

April 22, 2008

http://www.techiecorner.com/125/how-to-install-lamp-apache-php-and-mysql-in-linux-using-yum/


LiNUX CMD

April 22, 2008

install vnc — yum install vnc/vncserver

checking vnc — rpm -q vnc vnc-server

change vncserver config — vi /etc/sysconfig/vncservers


How to change IP Address on Linux Redhat

April 22, 2008

http://www.linglom.com/2008/04/20/how-to-change-ip-address-on-linux-redhat/


Rename Linux hostname

April 22, 2008

Change the hostname on a running system

(http://www.ducea.com/2006/08/07/how-to-change-the-hostname-of-a-linux-system/)

On any Linux system you can change its hostname with the command ‘hostname‘ (surprised?)… Here are some quick usages of the command line hostname:

hostname

without any parameter it will output the current hostname of the system.

hostname --fqd

it will output the fully qualified domain name (or FQDN) of the system.

hostname NEW_NAME

will set the hostname of the system to NEW_NAME. This is active right away and will remain like that until the system will be rebooted (because at system boot it will set this from some particular file configurations – see bellow how to set this permanently). You will most probably need to exit the current shell in order to see the change in your shell prompt.

Or

  1. Open file /etc/sysconfig/network
  2. change hostname with your preferred hostname
  3. save the file and try to reboot to check if your hostname changed was sucessfull

Step-by-step enable remote desktop on linux using vnc

(http://www.linglom.com/2008/02/11/enable-remote-desktop-on-linux-using-vnc/)

In this section, I’ll show how to configure VNC server on Redhat server and using VNC Viewer connect the server remotely from Windows XP.

  1. On Redhat server, login with your username that you want to enable remote access. In this example, I will use ‘admin’ user.
    Redhat Gnome's desktop
  2. Open Terminal, type ‘vncpasswd’. Type your password and verify password again. This command will use to set you password for remote access for the current user.
    Set VNC password
  3. Before next step, you need to logged on as root by type ’su root’.
    Log as root using su
  4. Edit the file /etc/sysconfig/vncservers by type ‘ vi /etc/sysconfig/vncservers’.
    Note: If you are new to Linux, vi is an editor tool in command line mode on Linux.
    Edit /etc/sysconfig/vncservers
  5. You’ll see text file as in the figure below. Next, I’ll edit on the highlight line.
    /etc/sysconfig/vncservers
  6. Uncomment on the highlight line. If you have more than one usernames that want to enable remote acces, you can change VNCSERVERS value in this format, “1:username1 2:username2 3:username3 ….”. In this example, I have only one user which is root so this line of mine is ‘VNCSERVERS = “1:admin”‘.
    Edit /etc/sysconfig/vncservers
  7. Now save the file and exit. To save file, hold ESC + ‘:’ and type ‘wq’ to write and quit file.
    Write and quit file in vi editor
  8. Next, log off the user if you are not user ‘root’ and log in as root. Enable VNC service by type ‘chkconfig vncserver on’. Then, start the VNC service by type ’service vncserver start’.
    Set up VNC server as service and start
  9. If you have firewall enable on Redhat, be sure that your firewall configuration won’t block connection from remote computer by open port TCP 5901 for remote access. Open Applications -> System Settings -> Security Level. Add ‘5901:tcp’ on Other ports.
    Note: VNC uses TCP protocol on port 5901.
    Open TCP port 5901 for remote access
  10. Now you can connect Redhat server from remote computer. On my Windows XP computer, open VNC Viewer on Windows XP, type IP Address of Redhat server with number as a username specify in step 6. In this example, I want to remote to Redhat server as ‘admin’ user which I assign as number 1 in step 6 (1:admin) and my Redhat server is 10.110.141.220. So I type ‘10.110.141.220:1′.
    Note: You can download VNC Viewer for free at realvnc.com
    Test connect to Redhat server from remote computer
  11. Type your password for ‘admin’ user which has been assign in step 2.
    Specify password
  12. Now you have connect to Redhat server remotely. But you’ll see that the interface looks different. You have to do a little thing more.
    Remote screen
  13. On Redhat server, open terminal and type ‘vi /home/username/.vnc/xstartup’. In this example, I type ‘vi /home/admin/.vnc/xstartup’.
    Note: If you going to enable remote access for user ‘root’, the file would be at ‘/root/.vnc/xstartup’.
    Edit /home/admin/.vnc/xstartup
  14. Uncomment these two lines and save the file.
    Note: If you want to force to load Gnome or KDE Desktop on remote access, edit the last line from ‘twm &’ to ’startx &’ for Gnome and ’startkde &’ for KDE Desktop.
    Edit xstartup
  15. Type ’service vncserver restart’ to apply changes.
    Restart VNCServer service
  16. Reconnect using VNC viewer on remote computer again. Now you will see the desktop as you were log in at the server but now you’re remotely :) .
    Connect to Redhat server remotely

 

Sharing Desktops Using VNC

 

Virtual Network Computing (VNC) consists of server and client software that enables

you to assume remote control of a full desktop display from one computer on another. In Fedora,

RHEL, and similar systems, you need the vnc package to access a remote desktop on

 

Chapter 13: Doing Remote System Administration

your display (client) and vnc-server to share a desktop from your computer (server).

To install those packages, type either (or both) of the following:

# yum install vnc

# yum install vnc-server

VNC clients and servers are available for, and interoperable with, many different operating

systems. VNC servers are available on Linux, Windows (32-bit), Mac OS X, and

Unix systems. VNC clients are offered on those, and many other types of systems

(including OS/2, PalmOS, and even as a Java application running in a web browser).

 

Setting Up the VNC Server

 

From your Linux desktop, we’ll assume you are using the default display (DISPLAY=:0)

as your local desktop. So we’ll set out to create independent displays accessible via

VNC. To start, open the vncservers file on the Linux system acting as your VNC

server (as root user) using any text editor:

 

# vi /etc/sysconfig/vncservers

 

In that file, create a display:user pair to identify a VNC desktop. These user accounts

must be valid user names for your system. Here are two different examples:

 

VNCSERVERS=”1:francois”

VNCSERVERS=”1:francois 2:chris”

 

Then as each user, run the vncpasswd command to create the password each of those

users will need to connect to their own desktops on the VNC server. In our example,

we run the following as the user francois:

 

$ vncpasswd

Password: *******

Verify: *******

 

Finally, you can start the VNC service (vncserver) as you would any other service in

Fedora and similar systems. Type the following as root user:

 

# chkconfig vncserver on

# service vncserver start

 

If you are using the iptables firewall built into your system, make sure you open the

port(s) for VNC. Each display runs on its own port. Display number N is accessed on

TCP port 5900+N. For example, display 1 is accessible on port 5901. Refer to Chapter 14

for more details on iptables.

 

Starting Up the VNC Client

 

With the VNC server running, you can connect to a desktop on that server from any

of the client systems mentioned earlier (Windows, Linux, Mac OSX, UNIX, and so

 

Chapter 13: Doing Remote System Administration

 

on). For example, assuming your VNC server is on a system named myserver, you

could type the following command to start that remote desktop from another Linux system:

 

$ vncviewer myserver:1 Connect as francois on display 1

$ vncviewer myserver:2 Connect as chris on display 2

 

You can also use tsclient to connect; for this example, you would just specify

myserver:1 as the computer and VNC as the protocol. By default, once you connect

via VNC, all you get is a very basic window manager (twm) and a terminal. To get the

full Fedora desktop next time the user logs in, you should edit your VNC xstartup file

on the VNC server. For example, log in as the user (in this example, francois or chris)

and type the following:

 

$ vi ~/.vnc/xstartup

 

When editing that file, remove the comment characters from two lines so they appear

as follows:

unset SESSION_MANAGER

exec /etc/X11/xinit/xinitrc

 

On older versions of the VNC software, the file may not exist. So create it and add the

two lines above. After creating the file, set its permissions as follows:

 

# chmod 755 ~/.vnc/xstartup

 

Then, for the changes to take effect, you need to restart the VNC server. As root

user, type:

 

# service vncserver restart

 

 


    Eb00k LiNK ::.

    April 17, 2008

    http://www.ccebook.cn/

    http://www.ebooksbay.org/

    http://www.freebooksource.com/

    http://knowfree.net/

    Linux

    http://www.h4cky0u.org/

    Networking ebook

    http://www.ebooknetworking.com/

    MS Outlook
    -          http://spaces.msn.com/bhandler/Blog/cns!1pt1v0Q4vD8jSvNS4lqdAuug!271.entry
    -          http://www.slipstick.com/outlook/faq.htm
     
    Network
     
    Ping                  : http://searchnetworking.techtarget.com/sDefinition/0,290660,sid7_gci214297,00.html
    Tracert              : http://www.windowsnetworking.com/articles_tutorials/Using-Tracert.html
    Network            : http://www.pcnineoneone.com/howto/tsnw3.html?


    You must accept the Office End User License Agreement every time that you start an Office program

    April 17, 2008

    RESOLUTION

    To resolve this behavior, follow these steps:
    1. Log on to the computer by using a user account that has administrative credentials.
    2. Start an Office program, such as Word. The End User License Agreement dialog box appears.Note For Windows Vista, click Start, click All Programs, click Microsoft Office, right-click an Office program, click Run as administrator, and then click Continue.
    3. Click I Accept.
    4. Exit the Office program that you just started.
    5. Repeat step 2 to step 4 for the other Office programs that still prompt you with the EULA.

     To work around this behavior, follow these steps:

    1. Log on to the computer by using an Administrator user account.
    2. If you are using Microsoft Windows XP, click Start, click Run, type regedit, and then click OK. If you are using Microsoft Windows 2000 Server, type regedt32.Note In Windows Vista, you may receive a User Account Control (UAC) dialog box. You must click Continue to open Registry Editor.
    3. Locate and then right-click the following registry subkey as appropriate.

    For the 2007 Microsoft Office suites:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Office\12.0
    For Microsoft Office 2003:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Office\11.0
    For Microsoft Office 2002:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Office\10.0
    For Microsoft Office 2000:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Office\9.0
    4. Click Permissions.
    5. Click Users (Computer_name\Users), and then click to select the Allow check box for the Full Control permission.
    6. Click OK, and then quit Registry Editor.
    7. Start an Office program, and then accept the End User License Agreement.
    8. Repeat steps 2 through 4, and then remove the Full Control permission that you gave to Users (Computer_name\Users) in step 5. To do this, locate Users (Computer_name\Users), and then click to clear the Allow check box for the Full Control permission.
    9. Click OK, and then exit Registry Editor.

     

     


    Follow

    Get every new post delivered to your Inbox.