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.*; | |
public class WordGenerator { | |
// Filename constants | |
static final String ONSETS_FILE = "onsets.txt"; | |
static final String VOWELS_FILE = "vowels.txt"; | |
// Program entry point |
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
;;;; derpybot.lisp - main program file | |
(in-package #:derpybot) | |
;;; TOP-LEVEL DEFINITIONS | |
;;; *irc-host* - hostname of IRC server to connect to | |
(defparameter *irc-host* (string "irc.rizon.net")) | |
;;; *irc-port* - port number of IRC server to connect to | |
(defparameter *irc-port* 6660) | |
;;; *irc-nick* - nick for the bot to connect with | |
(defparameter *irc-nick* (string "DerpyBot")) |
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
//HELLOW JOB | |
//* The IEBGENER program copies data | |
//S1 EXEC PGM=IEBGENER | |
//* Data to be copied | |
//SYSUT1 DD * | |
Hello, world! | |
//* Tells IEBGENER to copy data to the system output | |
//SYSUT2 DD SYSOUT=A | |
//SYSPRINT DD SYSOUT=A | |
//SYSIN DD DUMMY |
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
// Name: Matthew Longley | |
// Due: 2012/04/18 | |
// Course: COMP 3715-001 | |
// Asg: Game project | |
public class PickNextMoveMatthewLongley implements PickNextMove | |
{ | |
// Nested class - ChoiceTree | |
// Description: Represents a search tree for the game | |
// Members: |
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
ORG 0 | |
START RWD . Read input | |
STA START . Some men just want to watch the world burn | |
LDA ZERO . Init ACC to 0 | |
LDX START,2 | |
SQRE LDX START,1 . START = number to square | |
MULT ADD START . Add START to itself START times | |
TDX MULT,1 . errbody in the club gettin' tipsy | |
RSUM TDX CSUM,2 . Decrement ir2. When ir2 == 0, gratz. | |
WWD . DELICIOUS I/O OM NOM NOM |
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
(C)<Year>, <Author(s)> [of <Organization>] | |
All lefts, rights, ups and downs reversed. | |
This code may be modified and/or redistributed, as long as the conditions of | |
the UnSX License for Software v2 are met: | |
1. Redistributed packages must retain this LICENSE file and any | |
documentation that was included in the original. This is also true for | |
precompiled binary distributions. | |
2. In the event of a redistribution of code or a binary package, the |
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
#include <stdio.h> | |
int main(void) | |
{ | |
int i; | |
for (i = 0; i < 10; ++i) { | |
puts("Hello, world!"); | |
} |
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
;;;; Script Name: epractivity.el | |
;;;; By: MWL | |
;;;; Date: 07 October 2012 | |
;;;; Purpose: Generate Programmer Activity Status Report using emacs | |
;; Open the file 'programmer' into a buffer. | |
;; Set that buffer as the current buffer. | |
(set-buffer (find-file "programmer")) | |
;; Convert the buffer into a string, then split that string | |
;; into a list containing each line as a separate string |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2.0.18 (GNU/Linux) | |
mQENBFDDvB0BCADI/gZCM+I1g/X1EOiGxgyq9KAIaSADmYh0uyZpjatRsHUBNHHp | |
jf//E9hiYoETih/QrSpjV4SETgCGg52Wkp4cnlTf81tan8F42i6eCyiUH4kcDLTf | |
eldbBm9CfMtFV2pYkT02611s5Dy+b3Q1wvkIaQaGTFMAKLPTHjw4o5FkoGJmPV/t | |
U7xEHJZx+sloTKh6y9HC+F/A3TyUT+zY74+J//5X83Mc9K1zzwdu4p8s273a8qcz | |
PWrjl5j6JekZcqIKQ00+UZQJzaytc/lvr7lIszmAxHFwo7kLg0tvuQMu7NkYlJiy | |
a/Cs/0svU0ou6cuPXK4XqAJg7gLN1RPiclxZABEBAAG0VU1hdHRoZXcgV2FkZSBM | |
b25nbGV5IChEZXZlbG9wZXIsIENTIFN0dWRlbnQgYXQgVS4gTWVtcGhpcykgPHJh |
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
#!/usr/bin/python | |
# Name: Matthew Longley | |
# Date: 2012/09/25 | |
# Course: COMP 3825-001 | |
# Project #1 - Mail Client | |
# NOTE: This program uses Python 3 | |
import base64, getpass, socket, ssl, sys |