Monday, November 14, 2011

http://askubuntu.com/questions/71621/where-is-the-etc-inittab-file-or-how-to-set-the-default-runlevel


# Auto Login for Ubuntu how?
# 1. apt-get install mingetty
# 2. vim /etc/init/tty1.conf

# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
#exec /sbin/getty -8 38400 tty1
exec /sbin/mingetty --autologin <PUTYOUR_USERNAME_HERE> tty1
^
|____ edited only this line, seems to be working 

Wednesday, November 9, 2011

Bash Code Snippits: Infinite Loops

The Bash Code Snippit Doc will be stored at
Google Docs

Snippit of the week:


#!/bin/bash
for (( ; ; ))
do
   echo "Keep going!"
done

Wednesday, October 26, 2011

Import xsl, cvs, flat file into SQL server management studio 2008


Import xsl, cvs, flat file into SQL server management studio 2008

In the object explorer click the (+) beside the "<Server name>" then the (+) beside the "Databases" then right click the "<name of your database>" select "tasks" then select "Import Data". That's how you do it. I also use SQL Server Management Studio 2008.

Wednesday, October 12, 2011

Can't delete network printer : Windows Vista/7/2008(r2)

Horrible problem:

A user sits at his/her desk and realizes the printer that just died is still showing up under "Printers and Devices"

The admin comes over and right clicks, chooses delete printer, enters in extremely long and complex password.

Printer is gone, user goes about his/her day.

A day later...

User comes back and finds the printer has returned.



Admin scratches his head...

To get rid of such a printer a modification in the registry of the local machine is required.



HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers


Delete any printers you don't want and restart. 

In addition to the above entry you may also need to remove printer entries in these locations

For Local Printers:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\ Windows NT x86\ Drivers\Version-2\
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\
If it is a network printer:
HKEY_CURRENT_USER\Printers\Connections\
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Providers\ LanMan Print Services\Servers\\Printers\

Then restart the print spooler services.

Thursday, September 29, 2011

Google Cloud Connect for Microsoft Office

Google Cloud Connect for Microsoft Office:

Google Cloud Connect for Microsoft Office brings collaborative multi-person editing to the familiar Microsoft® Office experience. You can share, backup, and simultaneously edit Microsoft Word, PowerPoint®, and Excel® documents with coworkers.

http://tools.google.com/dlpage/cloudconnect