Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Somewhere on the call stack

Jamie Taylor GaProgMan

💭
Somewhere on the call stack
View GitHub Profile
@GaProgMan
GaProgMan / JavaScriptPlayground
Last active Aug 29, 2015
A scratch-pad (playground) for javascript stuff, as I learn it.
View JavaScriptPlayground
/* Invoking functions via parameters to other functions */
var work = function() {
console.log("this is being invoked");
};
var doWork = function(f) {
console.log("invoking work");
try {
f();
} catch (ex) {
@GaProgMan
GaProgMan / Form1.cs
Last active Dec 11, 2015
A VERY basic random quote generator in C#, windows Windows Forms and reflection
View Form1.cs
/*
* Project Name: Random Quote Generator
* Solution Name: Random Quote Generator
* Original creation date: 18/06/2006
* Edit date: 18/01/2013
* Programmer name: Jamie Taylor (aka "GaProgMan")
* File name: Form1.cs
*
* Purpose of the project:
*
@GaProgMan
GaProgMan / ProblemSixEdit.c
Created Jan 18, 2013
One possible solution for problem 6 on the Project Euler website
View ProblemSixEdit.c
/*
* Project Name: Problem Six Edit
* Solution Name: Problem Six Edit
* Original creation date: 11/07/2011
* Edit date: 18/01/2013
* Programmer name: Jamie Taylor (aka "GaProgMan")
* File name: ProblemSixEdit.c
*
* Purpose of the project:
* This code is my solution for "Problem Six" listed
@GaProgMan
GaProgMan / SumLargestSmallest.cs
Created Jan 20, 2013
An un-optimized algorithm for searching through a list of integers to find the sum of the largest and smallest values.
View SumLargestSmallest.cs
int n, smallest, biggest, sum, difference = 0;
for ( int i = 0; i ++; i < listOfNumbers.Count ) {
n = lisOfNumbers[i];
if ( n > biggest ) {
biggest = n;
}
else if ( n < smallest ) {
smallest = n;
}
@GaProgMan
GaProgMan / ProblemSix.c
Created Jan 20, 2013
One possible solution for problem 6 on the Project Euler website
View ProblemSix.c
/*
* Project Name: Problem Six
* Solution Name: Problem Six
* Original creation date: 06/07/2011
* Edit date: 18/01/2013
* Programmer name: Jamie Taylor (aka "GaProgMan")
* File name: ProblemSix.c
*
* Purpose of this project:
* Problem Six, from Project Euler.
@GaProgMan
GaProgMan / ProblemTwo.cpp
Created Jan 20, 2013
One possible solution for problem 2 on the Project Euler website
View ProblemTwo.cpp
/*
* Project Name: Problem Two
* Solution Name: Problem Two
* Original creation date: 03/07/2011
* Edit date: 18/01/2013
* Programmer name: Jamie Taylor (aka "GaProgMan")
* File name: ProblemTwo.cpp
*
* Purpose of the project:
* This code is my solution for "Problem Two" listed
@GaProgMan
GaProgMan / FizzBuzz.cpp
Created Jan 20, 2013
One possible solution for the famous "Fizz Buzz" problem
View FizzBuzz.cpp
/*
* Project Name: FizzBuzz
* Solution Name: FizzBuzz
* Original creation date: 18/04/2011
* Edit date: 18/01/2013
* Programmer name: Jamie Taylor (aka "GaProgMan")
* File name: FizzBuzz.cpp
*
* Purpose of the project:
* This code is my solution for a common programmer
@GaProgMan
GaProgMan / ProblemFive.cpp
Created Jan 20, 2013
One possible solution for problem 5 on the Project Euler website
View ProblemFive.cpp
/*
* Project Name: Problem Five
* Solution Name: Problem Five
* Original creation date: 09/07/2011
* Edit date: 18/01/2013
* Programmer name: Jamie Taylor (aka "GaProgMan")
* File name: ProblemFive.cpp
*
* Purpose of the project:
* This code is my solution for "Problem Five" listed on
@GaProgMan
GaProgMan / ProblemOne.cpp
Created Jan 20, 2013
One possible solution for problem 1 on the Project Euler website
View ProblemOne.cpp
/*
* Project Name: Problem One
* Solution Name: Problem One
* Original creation date: 03/07/2011
* Edit date: 18/01/2013
* Programmer name: Jamie Taylor (aka "GaProgMan")
* File name: ProblemOne.cpp
*
* Purpose of the project:
* This code is my solution for "Problem One" listed on
@GaProgMan
GaProgMan / CollisonDetection.cpp
Created Jan 20, 2013
A very basic implementation of 2D collision detection
View CollisonDetection.cpp
/*
* Project Name: CollisionDetection
* Solution Name: MandelbrotCalc
* Original creation date: 25/03/2011
* Edit date: 19/01/2013
* Programmer name: Jamie Taylor (aka "GaProgMan")
* File name: CollisionDetection.cpp
*
* Purpose of the project:
* To re-write the psuedo-code found in a previous
You can’t perform that action at this time.