Monday, February 29, 2016
Errors/Warnings
Windows -> Preferences -> Java -> Compiler -> Errors/Warnings
(Project) Properties -> Java Compiler -> Errors/Warnings
-Deprecated and restricted API - Deprecated API - Forbidden reference (access rules)
Locate the "Forbidden reference (access rules)" option under "Deprecated and restricted API" section in the dialog box. This option decides how to handle access rules defined inside Eclipse.
By default it is set to "Error" which causes Eclipse to complain about references to any restricted classes. Choosing any other option (Warning or Ignore) will remove these error messages
(Project) Properties -> Java Compiler -> Errors/Warnings
-Deprecated and restricted API - Deprecated API - Forbidden reference (access rules)
Locate the "Forbidden reference (access rules)" option under "Deprecated and restricted API" section in the dialog box. This option decides how to handle access rules defined inside Eclipse.
By default it is set to "Error" which causes Eclipse to complain about references to any restricted classes. Choosing any other option (Warning or Ignore) will remove these error messages
Access restriction
Access restriction: Class is not accessible due to restriction on required library
Access restriction
Access restriction: Is not accessible due to restriction on required library ..\jre\lib\rt.jar
Tuesday, February 23, 2016
Monday, February 22, 2016
Sunday, February 21, 2016
Friday, February 19, 2016
vnc4server
hduser@ubuntu-VirtualBox:~$ vnc4server -list
New 'ubuntu-VirtualBox:1 (hduser)' desktop is ubuntu-VirtualBox:1
Starting applications specified in /home/hduser/.vnc/xstartup
Log file is /home/hduser/.vnc/ubuntu-VirtualBox:1.log
New 'ubuntu-VirtualBox:1 (hduser)' desktop is ubuntu-VirtualBox:1
Starting applications specified in /home/hduser/.vnc/xstartup
Log file is /home/hduser/.vnc/ubuntu-VirtualBox:1.log
Tuesday, February 16, 2016
Computer Architecture
Computer Organization And Embedded Systems
Hamacher_ Vranesic_ Zaky_ Manjikian_ 6Ed_ Mgh_ 2012
Hamacher_ Vranesic_ Zaky_ Manjikian_ 6Ed_ Mgh_ 2012
Monday, February 15, 2016
StreamInsight
Installation StreamInsight
https://technet.microsoft.com/en-us/library/ee378749(v=sql.111).aspx?tduid=(6e13418d93a2a01bb13e78de93d43537)(256380)(2459594)(TnL5HPStwNw-.YxXo.p777O.T424N4PCMA)()
ug
Algorithm
Artificial Intelligence
Compiler and Automata Theory
Computer Architecture
Data Structure
Database
Digital Logic Design
Discrete Mathematics
Information System Design
Microprocessors and Microcontrollers
Network and Communication Engineering
Object Oriented Programming
Operating System
Software Engineering
Structure Programming Language
Artificial Intelligence
Compiler and Automata Theory
Computer Architecture
Data Structure
Database
Digital Logic Design
Discrete Mathematics
Information System Design
Microprocessors and Microcontrollers
Network and Communication Engineering
Object Oriented Programming
Operating System
Software Engineering
Structure Programming Language
Friday, February 12, 2016
MiKTeX 2.9
\documentclass[12pt]{article}
\begin{document}
\title{A sample Latex article by 5 minutes of Latex}
\maketitle
\section{Introduction}
This is a sample introduction section
This is a second line in the introduction section
\section{Motivation}
The motivation behind this tutorial is to share the the knowledge for the benefits of everyone
\end{document}
\begin{document}
\title{A sample Latex article by 5 minutes of Latex}
\maketitle
\section{Introduction}
This is a sample introduction section
This is a second line in the introduction section
\section{Motivation}
The motivation behind this tutorial is to share the the knowledge for the benefits of everyone
\end{document}
ipconfig vs netstat
ipconfig displays TCP/IP related information
netstat shows TCP/IP network status
netstat shows TCP/IP network status
Tuesday, February 9, 2016
1433
Open the Sql Server Configuration Manager (Start -> Programs -> Microsoft SQL Server 2008 -> Configuration Tools)
Expand SQL Server Network Configuration -> [Your Server Instance]
Double click TCP/IP
Under Protocol:
Ensure Enabled is Yes
Under IP Addresses:
Scroll to the bottom and set the TCP Port under IPAll, (1433 by default)
Find the IP address you want to connect to and set Enabled and Active to Yes
Restart
Expand SQL Server Network Configuration -> [Your Server Instance]
Double click TCP/IP
Under Protocol:
Ensure Enabled is Yes
Under IP Addresses:
Scroll to the bottom and set the TCP Port under IPAll, (1433 by default)
Find the IP address you want to connect to and set Enabled and Active to Yes
Restart
SQL Exception:
SQL Exception: com.microsoft.sqlserver.jdbc.SQLServerException: The
TCP/IP connection to the host localhost, port 1433 has failed. Error:
"Connection refused: connect. Verify the connection properties. Make
sure that an instance of SQL Server is running on the host and
accepting TCP/IP connections at the port. Make sure that TCP
connections to the port are not blocked by a firewall.".
SQLServerDriver
import java.sql.*;
try
{
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
System.out.println("Driver is loaded");
Connection c = DriverManager.getConnection("jdbc:sqlserver://localhost:1433;databaseName=***;user=***;password=***");
System.out.println("Connection created");
Statement s = c.createStatement();
ResultSet rs = s.executeQuery("select * from data");
System.out.println("ID\tName\tCity\tAge");
while(rs.next()) // Retrieve data from ResultSet
{
System.out.println(rs.getString(1)+"\t"+rs.getString(2)+"\t"+rs.getString(3)+"\t"+rs.getString(4));
}
}
catch(Exception e)
{
System.out.println("Exception : " +e);
}
try
{
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
System.out.println("Driver is loaded");
Connection c = DriverManager.getConnection("jdbc:sqlserver://localhost:1433;databaseName=***;user=***;password=***");
System.out.println("Connection created");
Statement s = c.createStatement();
ResultSet rs = s.executeQuery("select * from data");
System.out.println("ID\tName\tCity\tAge");
while(rs.next()) // Retrieve data from ResultSet
{
System.out.println(rs.getString(1)+"\t"+rs.getString(2)+"\t"+rs.getString(3)+"\t"+rs.getString(4));
}
}
catch(Exception e)
{
System.out.println("Exception : " +e);
}
Saturday, February 6, 2016
Introduction to Languages and the Theory of Computation
Introduction to Languages and the Theory of Computation 4th Edition
by John Martin (Author)
by John Martin (Author)
Monday, February 1, 2016
Subscribe to:
Posts (Atom)