Archive for the ‘OpenSource’ Category

Sample ruby program

1
2
3
puts "What is your name????"
myname = gets.chomp
puts "Your name is #{myname }!"

Let us save this code in a text file first. Preferred extension is .rb but no issues even if no extension provided.
Now on command prompt use this command to execute.

ruby test.rb

This should ask you your name and display your name again if ruby-on-rails installed. [...]

Leave a Comment

Microsoft SQL Server JDBC Driver 2.0 CTP

Download the SQL Server JDBC Driver 2.0 CTP, a Type 4 JDBC driver that provides database connectivity through the standard JDBC application program interfaces (APIs) available in Java Platform, Enterprise Edition 5.
The Microsoft SQL Server 2005 JDBC Driver is a Java Database Connectivity (JDBC) 3.0 compliant driver that provides robust data access to Microsoft SQL [...]

Leave a Comment

Connect to Microsoft SQL Server from Java

Here is the way you can connect to your Microsoft SQL Server 2005 from your java application via JDBC.
First you need to download the Microsoft SQL Server 2005 JDBC Driver.
You will get sqljdbc.jar which is all you needed. As a java programmer, you know how to use this, right?
You will get a user [...]

Leave a Comment

My first JSP program

I installed Apache Tomcat and put a file with the following code in its root foler

< %
int a = 10;
int b = 10;
int c = a + b;
out.println("Sum = " + c);
%>

Got result “Sum = 20 ” without any error …

So my FIRST JSP PROGRAM worked fine!!!
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Hello World - Python application for Windows with Tk.

from Tkinter import *
root = Tk()
w=Button(root,text=”Pooooooi!”)
w.pack()
root.mainloop()

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

OpenSource and DOTNET???

Yes… Here is some Open Source Content Management Systems (CMS) in C#
ndCMS
DocLib
Go.Kryo
Amplefile
nkCMS
Rainbow
Kodai CMS
umbraco
Cuyahoga
mojoPortal
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment