Saturday, April 30, 2011

Guide:How to connect CentOS to internet (Bridge connection)

This simple guide is for those who cant still connect their CentOS to internet using a router. I'm using "Bridge" connection.

1. Disable first VMware network adapter (right click then click disable).



2.. Right click your Local Area Connection, click properties then tick or enable VMware bridge protocol. click OK



3.Open your Vmware Workstation then change Ethernet to "Bridge".



Click "start this virtual machine".
Login as " root ".

4. (CentOS) Go to System,Administration,Network.
Click DNS tab then check if you have Primary/Secondary DNS & DNS search path filled.


If those are blank then go to you Windows click Start,Run type cmd click ok then on DOS windows type "ipconfig /all"



Save. then try to browse internet. If doesnt work restart CentOS.

Note: If you want to set Centos IP static, the same as the pattern of you windows IP address click Devices then click etho (make sure it is active) then
click edit, click or tick "Statically set IP addresses" then fill in.



Ex. if your Windows ip is 192.168.0.101 then type 192.168.0.102 or (other IP which is not yet assigned by your router to other computer in your network.)
then just copy your Windows Subnet mask and Default gateway.
Click ok then save and try to browse internet, if doesnt work restart CentOS.

Tuesday, February 22, 2011

Using SQLCMD to Execute Multiple SQL Server Scripts

In the root C:\ folder, I create a file called create_db.bat which I use to create the database with all objects 

SQLCMD -E -ddatabasename -ic:\SQL\CMS_Avatar.sql
PAUSE

Double clicking the .bat file, I see that each script processed and that the database created successfully.



Monday, February 14, 2011

Google Talk Hidden Emoticons


 http://mail.google.com/mail/e/350 –
http://mail.google.com/mail/e/351 –
http://mail.google.com/mail/e/352 –
And the list goes on …
Here’s a list of utterly new emoticons/smileys:
Classic
Round
Square
Type this

Cowbell

Cowbell

Cowbell
+/’\

Crab

Crab

Crab
V.v.V

Devil

Devil

Devil
}:-)

Equal sad

Equal sad

Equal sad
=(

Equal slant

Equal slant

Equal slant
=/

Equal tongue

Equal tongue

Equal tongue
=P

Nose sad

Nose sad

Nose sad
:-(

Smile

Smile

Smile
:)

Wince

Wince

Wince
>.<

Nose tongue

Nose tongue

Nose tongue
:-P

Pig
Pig

Pig
:(:)

Broken Heart

Broken Heart

Broken Heart

Kiss

Kiss

Kiss
:-x

Kiss

Kiss

Kiss
:*

Mustache

Mustache

Mustache
:{

Beneath are emoticons from my previous post. For reference I am again displaying them here.

Classic
Round
Square
Type this

Heart/Love

Heart/Love

Heart/Love
<3

It’s a monkey!

It’s a monkey!

It’s a monkey!
:(|)

Rock out.

Rock out.

Rock out.
\m/

Shocked

Shocked

Shocked
:-o

Grin

Grin

Grin
:D

Frown

Frown

Frown
:(

Angry

Angry

Angry
x-(

Cool

Cool

Cool
B-)

Cry

Cry

Cry
:’(

Equal Grin

Equal Grin

Equal Grin
=D

Wink

Wink

Wink
;)

Straight Face

Straight Face

Straight Face
:-|

Equal Smile

Equal Smile

Equal Smile
=)

Nose Grin

Nose Grin

Nose Grin
:-D

Big nose wink

Big nose wink

Big nose wink
;^)

Nose wink

Nose wink

Nose wink
;-)

Nose smile

Nose smile

Nose smile
:-)

Slant

Slant

Slant
:-/

Tongue

Tongue

Tongue
:P