This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Jamie Parsons' Sentence Counter Program*/ | |
import java.awt.*; // Imports advance windows toolkit | |
import java.awt.event.*; // Imports package needed for ActionListener | |
import javax.swing.*; // Imports SWING package | |
import java.util.*; // Imports package for Arraylist | |
public class SentenceProject implements ActionListener // Class definition | |
{ | |
JLabel infoLbl = new JLabel("Please enter your sentence below:"); // Creates a Label that gives instructions for the User |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Class that contains methods for Database manipulation | |
import java.awt.*; | |
//import javax.swing.*; | |
import java.awt.event.*; | |
import java.util.*; | |
import java.io.*; | |
public class FullDataBaseGenerator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, os | |
import math | |
import random | |
def nextTime(mean): | |
from random import choice | |
# Giving x a random number from 0 to 1 | |
x = random.random() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
yes = 0 | |
no = 0 | |
choice = list(["yes", "no"]) | |
accuracy = 1 | |
print "------------------------------" | |
print " Jamie's Decision Maker" | |
print "------------------------------" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#RIVER CROSSING- PACMAN STYLE | |
#######DEPENDANCIES################################################################################ | |
import os, sys # imports the standard python modules | |
import pygame # imports the pygame package along with any modules belonging to pygame | |
import Tkinter # imports Tkinter module | |
import tkMessageBox # Imports Tkinter textbox modules | |
pygame.init() # invokes pygame module | |
pygame.mixer.init() # invokes mixer module (for music playback) | |
pygame.mixer.music.load('pmandubstep.ogg') # load background music |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.util.*; | |
class MeasureTime | |
{ | |
public static void main (String[] args) | |
{ | |
for (int i=1;i<100;i++) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import RPi.GPIO as GPIO | |
from time inport sleep | |
GPIO.setmode (GPIO.BOARD) | |
GPIO.Setup (7, GPIO.IN) | |
GPIO.Setup (11, GPIO.OUT) | |
while 1: | |
if GPIO.input(7): | |
GPIO.output(11, False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM -m (recursive), -d (decrypt), -b (use cached password), -f(fast mode), -z(encrypt), -t(destroy cached password) | |
start cmd.exe /k | |
"echo #######################################&& | |
echo JSRP Secret Chrome Encryption Terminal&& | |
echo #######################################&& | |
echo Secret Google Chrome Portable Decrypting&& | |
cd %ProgramFiles%\Axantum\Axcrypt&& |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM JSRP GOOGLE CHROME PORTABLE WITH AXCRYPT ENCRYPTION SETUP SCRIPT | |
REM USER INSTALL PATHS (CHANGE IF CUSTOM INSTALL) | |
set axcryptInstallPath=Axcrypt | |
set chromePortablePath=GoogleChromePortable | |
IF EXIST %chromePortablePath%/GoogleChromePortable.exe echo NOTE: THIS SCRIPT WILL NOT WORK AGAIN AFTER BEING RUN ONCE | |
IF EXIST %chromePortablePath%/GoogleChromePortable.exe echo AS SUCH PLEASE DO NOT ALTER THE CHECK BOXES WHEN ENTERING YOUR PASSWORD | |
IF EXIST %chromePortablePath%/GoogleChromePortable.exe echo AND ENSURE THE PASSWORD IS CORRECT | |
IF EXIST %chromePortablePath%/GoogleChromePortable.exe echo ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
::JSRP ENCRYPTEDCHROME (GOOGLE CHROME PORTABLE WITH AXCRYPT ENCRYPTION) SCRIPT | |
::AXCRYPT ARGUMENTS (REFERENCE) | |
::-m (recursive), -d (decrypt), -b (use batch id), -f(fast mode), -z(encrypt), -t(destroy cached password) | |
::EDITVAR ARGUMENTS (REFERENCE) | |
::-p (pass), -m (mask input), -b (direct input to start of var), -o (set input to overwrite) | |
::USER INSTALL PATHS (CHANGE IF FOLDER NAMES CHANGE) |