Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Jehonathan Thomas justcoding121

🏠
Working from home
View GitHub Profile
View gist:4650377
Dim Name, Password as String
Dim Command as OracleCommand
Dim Reader as OracleDataReader
Name = Me.TextBox_username.Text
Command.SelectText = “Select password FROM usernames_table WHERE username =:parameter1”
Command.Parameters.AddWithValue(
"parameter1", Name)
Reader = Command.ExecuteReader
View gist:3943981
;;; ----=========== General Information ===========-----
;;;
;;; Artificial Intelligence, Spring 2012
;;; Project 2 - Computer Assistant Expert System
;;; Authors: Nikolai,
;;; Titanium
;;;
;;; ----=========== System's Description ===========-----
;;;
;;; This expert system is designed to assist customers
View gist:3944030
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Text.RegularExpressions
Imports System.Windows.Forms
Imports Extensibility
Imports EnvDTE
Imports EnvDTE80
Imports System.Runtime.InteropServices
View gist:3943954
A1 2 B1 A2
A2 3 A1 B2 A4
A4 3 A2 B5 A5
A5 2 A4 C5
B1 3 A1 D1 B2
B2 4 C2 C3 A2 B1
B3 1 B4
B4 3 B3 B5 C4
B5 3 A4 C5 B4
C2 3 D2 B2 C3
View gist:3943933
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package aiproject;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.io.IOException;
View gist:3943902
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package aiproject;
import java.awt.Point;
//Node Object blueprint
public class Node {
View gist:3943904
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package aiproject;
import java.awt.Point;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
View gist:3943970
A5 30 573
A4 30 483
A2 30 178
A1 30 48
B1 207 48
B2 207 161
B3 144 339
B4 129 443
B5 127 479
C2 258 162
View gist:3943897
*/
package aiproject;
import java.io.IOException;
public class AIproject {
/**
* @param args the command line arguments
View gist:3943921
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package aiproject;
import java.awt.Point;
import java.util.*;