My Thoughts On …

August 11, 2009

Abbott and Costell buying a computer

Filed under: Misc., joke — admin @ 8:53 am

COSTELLO CALLS TO BUY A COMPUTER FROM ABBOTT

ABBOTT: Super Duper computer store. Can I help you?

COSTELLO : Thanks. I’m setting up an office in my den and I’m thinking about
buying a computer.

ABBOTT : Mac?

COSTELLO : No, the name’s Lou .

ABBOTT : Your computer?

COSTELLO : I don’t own a computer. I want to buy one.

ABBOTT : Mac?

COSTELLO: I told you, my name’s Lou .

ABBOTT : What about Windows?

COSTELLO : Why? Will it get stuffy in here?

ABBOTT : Do you want a computer with Windows?

COSTELLO : I don’t know. What will I see when I look at the
windows?

ABBOTT : Wallpaper.

COSTELLO : Never mind the windows. I need a computer and software.

ABBOTT : Software for Windows?

COSTELLO : No. On the computer! I need something I can use to
write proposals, track expenses and run my business. What do you have?

ABBOTT : Office.

COSTELLO: Yeah, for my office. Can you recommend anything?

ABBOTT : I just did.

COSTELLO : You just did what?

ABBOTT : Recommend something.

COSTELLO : You recommended something ?

ABBOTT : Yes.

COSTELLO : For my office?

ABBOTT : Yes.

COSTELLO : OK, what did you recommend for my office?

ABBOTT : Office.

COSTELLO : Yes, for my office!

ABBOTT : I recommend Office with Windows.

COSTELLO : I already have an office with windows! OK, let’s just say I’m
sitting at my computer and I want to type a proposal. What do I need?

ABBOTT : Word.

COSTELLO : What word?

ABBOTT : Word in Office..

COSTELLO : The only word in office is office.

ABBOTT : The Word in Office for Windows.

COSTELLO : Which word in office for windows?

ABBOTT :
The Word you get when you click the blue ‘W’.

COSTELLO : I’m going to click your blue ‘w’ if you don’t start with some
straight answers. What about financial bookkeeping? You have anything I can
track my money with?

ABBOTT: Money.

COSTELLO : That’s right. What do you have?

ABBOTT : Money.

COSTELLO : I need money to track my money?

ABBOTT : It comes bundled with your computer.

COSTELLO : What’s bundled with my computer?

ABBOTT : Money.

COSTELLO : Money comes with my computer?

ABBOTT : Yes. No extra charge.

COSTELLO : I get a bundle of money with my computer? How much?

ABBOTT : One copy.

COSTELLO : Isn’t it illegal to copy money?

ABBOTT : Microsoft gave us a license to copy Money.

COSTELLO : They can give you a license to copy
money?

ABBOTT : Why not? THEY OWN IT!

(A few days later)

ABBOTT : Super Duper computer store. Can I help you?

COSTELLO : How do I turn my computer off?

February 29, 2008

Oracle support for with Red Hat PHP rpms

Filed under: Linux, Tips & Tricks — admin @ 3:04 pm

For this you will need to get the Oracle instant client and the OCi8 pecl package.

Install Apache, PHP, the Oracle instant client, MySQL support if you want it and packages to build from source code.

yum install httpd php php-mysql php-pear php-develyum groupinstall “Development Tools”

Add the library config for php

echo extension=oci8.so > /etc/php.d/oci8.ini

Add the Oracle instant client to dynamic linker

echo /usr/include/oracle/VERSION/client > /etc/ld.so.conf.d/oracle_client.conf
ldconfig -v

Untar the PECL package and prepare it for compiling

tar -xzvf oci-VERSION.tgz
cd oci-VERSION
phpize

Configure the PECL package as a shared object using the instant client and specifing were the Oracle client libraries are. Then build and install it.

./configure –with-oci8=shared,instantclient,/usr/lib/oracle/VERSION/client/lib
make
make install

Start Apache

service httpd start

Create a php info page and checked to see if oci8 is there

echo <? phpinfo(); ?> > /var/www/html/phpinfo.php

February 20, 2008

How to SFPT w/ Filezilla

Filed under: Misc., Tips & Tricks — admin @ 1:50 pm

Using SFTP via Quick connect

 

  1. Open up Filezilla
  2. In the Address: box enter sftp://NAMEOFSITE
  3. In the User: box enter USERNAME
  4. In the Password: box enter PASSWORD
  5. In the Port: box enter 22
  6. Click on the Quickconnect button.

Adding a new site with SFTP

  • Open Filezilla
  • Click the File drop down menu and then select site manager or push ctl+s

  • Click the “New Site” button at the bottom

 

  1. Name the entrie
  2. Set the Host: with the URL
  3. Set the Port: to 22
  4. Set the Servertype: to SFTP using SSH2
  5. Set Logontype to Normal
  6. Put your username/password in
  7. click Save and Exit

  • To connect to the server click on the down arrow on the site manager icon and select your site from the choices

My essential Firefox extensions

Filed under: Misc., Tips & Tricks — admin @ 1:35 pm

These are the Firefox extensions that I can not live without:

Adblock Plus
Great for blocking unwanted ads.

BugMeNot
Get access to sites that require registration

Delicious Bookmarks
Online bookmarking site. Great if you do work on more than one computer.

Delicious Complete
More options for del.icio.us

Download Status Bar
Puts download status at the bottom of your browser; IE no annoying pop-up panel

Foxcast
Weather for your area

Foxy Proxy
Allows you to proxy based on regular expressions.

Gmail Notifier
Notifies you when you have new email.

Gmail Space(GSpace)
Allows you to use your Gmail account as an ftp site.

Meebo
Integrates Meebo with your browser.

Show IP
Shows IP address of the current page in the status bar. Great for trouble shooting sites that could be on multiple servers.

Stumble Upon
The first known time machine. What do I mean? For some reason once you click the button, four hours of your life will disapear!!

Tamper Data
If you have to trouble shoot web sites, this is a great tool. It allows you to view and modify HTTP/HTTPS headers. It also tracks and times requests.

December 21, 2007

SSH key pair setup

Filed under: Automation, Linux — Tags: — admin @ 12:20 am

Generate the key
To generate the key run the following command as the user you want the public/private key pair to work for
/usr/bin/ssh-keygen

This will ask you three questions:
Enter file in which to save the key (/home/USER/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:

For the first question just hit enter so the private key will be saved in the users home directory. The second and third question will determine if anything will need to be entered at login. If this is for a “role” account that will run commands via ssh you should just hit enter for both questions. If you want to type a pass phrase each time you login, type it in at this time. Once you have answered all three question a public/private key pair will produced and put in the directory of the first question. When you look in this directory you will see two files, id_rsa and id_rsa.pub. The file with the .pub is the public key; never distribute the private key.

Distribution of the public key
As the user the key pair will be used for and from the server where the private key is located, copy the public key with scp:
/usr/bin/scp /home/USER/.ssh/id_rsa.pub remote.server:~/.

Once the public has been copied over, login in to the server. Check for the /home/USER/.ssh directory and make sure the perms are set to 700 or drwx——. If the directory does not exist create it with this command
/bin/mkdir -m 700 /home/USER/.ssh

Now we need to get the public key information into /home/USER/.ssh/authorized_keys with this command
/bin/cat /home/USER/id_rsa.pub >> /home/USER/.ssh/authorized_keys

If the authorized_keys file was there already make sure the perms for the file are set to 644 or -rw-r–r–. Now logout of the server and then relogin. If everything has been setup correctly you should get in with out typing anything, if you left the pass phrase section blank, or by typing in your passphrase.

Powered by WordPress