Skip to main content

Posts

Creating a new SQL Server instance in SQL 2005 Express

This may apply to other SQL Server 2005 products but since I haven't not tried them myself, I can't definitely say that this is the case. Anyway, on default SQL Server 2005 Express install it will create one sql server instance named "SQLEXPRESS." For most occasions this should do just fine but in some cases a named/new instance is necessary to partition/compartmentalize the development of an application. Creating a new sql server instance is actually very easy. To create a new instance, do the following: a) Secure a copy of SQL 2005 Express installation media. b) Run setup.exe. c) Accept license agreement. After accepting the agreement, the installation program will perform various other checks like disk space available... etc. d) "Welcome to the Microsoft SQL Server Installation Wizard" just lazily hit on "Next" button. e) In System Configuration Check screen, if the reports are okay then proceed, hit on "Next" button again. f)

Send email via GMAIL using Python

Send email via GMAIL using Python. Note: Need to disable CAPTCHA and enable access for less secure apps https://www.google.com/settings/security https://accounts.google.com/DisplayUnlockCaptcha References: www.mkyong.com/python/how-do-send-email-in-python-via-smtplib/ http://joequery.me/guides/python-smtp-authenticationerror/

Updating packages on OpenSUSE via console

Zypper is the functionally equivalent to apt-get or aptitude for OpenSUSE. Man page should give you more information how to use it, you can also visit  http://en.opensuse.org/SDB:Zypper_usage_1  for additional information. For example, to update your current system with the latest packages open konsole and do: $: su #: zypper refresh #: zypper update To install plain old rpm do: $: su #: zypper install google-chrome-stable_current_i386.rpm This should install the downloaded stable version of Google Chrome. Of course you can substitute suitable rpm as necessary. To search for a package like libpng , do: $: zypper search libpng ~ts