Monday, February 29, 2016

Deprecated and restricted API


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

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

JFrame

New - Other - WindowBuilder - JFrame

WB_v1.7.0_UpdateSite_for_Eclipse4.3

WB_v1.7.0_UpdateSite_for_Eclipse4.3.zip

Tuesday, February 23, 2016

cloudera enterprise

sudo
/home/cloudera/cloudera-manager
--enterprise
--force

Monday, February 22, 2016

Return-Path

Return-Path

Sunday, February 21, 2016

Java vs Scala

Java vs Scala

skype

SkypeSetupFull_7.18.0.112

Friday, February 19, 2016

putty

http://www.putty.org/

TightVNC

http://www.tightvnc.com/download.php

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

vnc

http://www.realvnc.com/download/viewer/

Tuesday, February 16, 2016

Warty Warthog

Warty Warthog 4.10

16.04 LTS

16.04 LTS

tour.ubuntu

http://tour.ubuntu.com/en/#

Computer Architecture

Computer Organization And Embedded Systems

Hamacher_ Vranesic_ Zaky_ Manjikian_ 6Ed_ Mgh_ 2012

Windows 95

24 Aug 1995

Windows 1.0

20 Nov 1985

Win


Monday, February 15, 2016

url

https://kzhendev.wordpress.com/2013/08/28/getting-started-with-the-hortonworks-sandbox/ 

spring


7_after-boot


6_adapter-2


5_adapter-1


4_after-import


3_host-only-adapter-dhcp


2_host-only-adapter-details


1_preferences-network


StreamInsight

Installation StreamInsight 

https://technet.microsoft.com/en-us/library/ee378749(v=sql.111).aspx?tduid=(6e13418d93a2a01bb13e78de93d43537)(256380)(2459594)(TnL5HPStwNw-.YxXo.p777O.T424N4PCMA)()

sandbox ip

sandbox address is in your /etc/hosts on your host machine

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

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}

ipconfig vs netstat

ipconfig displays TCP/IP related information
netstat shows TCP/IP network status

Tuesday, February 9, 2016

jdbc


swing


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

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.".

213

213

sqljdbc_4.0.2206.100

sqljdbc_4.0.2206.100_enu.tar.gz

sqljdbc_6.0.6629.101

sqljdbc_6.0.6629.101_enu.tar.gz

NetBeans

NetBeans IDE 8.1

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);
       }

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)

Monday, February 1, 2016

202