Skip to content

Instantly share code, notes, and snippets.

View jmorgan74's full-sized avatar

Jon Morgan jmorgan74

View GitHub Profile
sudo apt-get install git
sudo apt-get install subversion
@jmorgan74
jmorgan74 / OOP
Created September 23, 2016 13:47
public class Person {
private String _name;
public Person(String name) {
_name = name;
}
10 print "Quinn is a dick 'ead"
20 goto 10
{
AgentCode: "94d36e83-0093-486b-97d2-0c5a6b86bdc9"
FirstName: "Sam"
LastName: "Knight"
AllowDesktop: true
AllowMobile: true
AllowVideoChat: true
AllowTextChat: true
ConcurrentVideoConnections: 10
ConcurrentTextConnections: 10
{
"ShowRemainInChatPrompt":true,
"PromptPreChatSurvey":true,
"PromptPostChatSurvey":true,
"PromptUserOnChatExit":true,
"OfferPostTextChatTranscript":true,
"ChatUnavailableRequestCallBack":false,
"ChatUnansweredRequestCallBack":false,
"OpeningTimes":[
{
{
"OpeningTimes": [
{
"Day": "Sunday",
"Open": { "h": 8, "m": 0, "s": 0 },
"Closed": { "h": 18, "m": 0, "s": 0 }
},
{
"Day": "Monday",
"Open": { "h": 8, "m": 0, "s": 0 },
@jmorgan74
jmorgan74 / gist:7907762
Last active December 31, 2015 00:29
Controller Abstraction
abstract class BaseController {
/**
* @var Creator
*/
protected $creator;
/**
* @var Destroyer
*/