Skip to content

Instantly share code, notes, and snippets.

View murphman300's full-sized avatar

jlmurphy murphman300

View GitHub Profile
//
// SingleLineFunctionCondition.swift
// TabBarMain
//
// Created by Jean-Louis Murphy on 2017-09-04.
//
// Copyright © 2017 Jean-Louis Murphy. All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
/*
A class to create, manage and host a socket server which translates all incoming packets into JSON automatically. A feature not present in
popular socket frameworks such as Socket.io.
Benefits :
-Manages sockets (adds, removes, recycles socket cache automatically).
-Handles incoming packets to unlinked events.
-Takes advantage of promises and async/await for error handling.
import UIKit
/*
You can add many different kinds of delegate methods here.
*/
protocol PopUpAlertControllerDelegate {
func popUp(controller: PopUpAlertController, didDismiss withInfo: Any?)
func popUp(controller: PopUpAlertController, selected item : [String:Any]?)
}
//
// MultiVar.swift
//
//
// Created by Jean-Louis Murphy a.k.a Murphman300(github.com, stackoverflow.com, twitter.com) on 2017-02-19.
// Copyright © 2017 Jean-Louis Murphy. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
@murphman300
murphman300 / packages.json
Last active March 7, 2017 21:30
This is my file which manages stripe functions.
{
"name": "spotitbackendnode",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"apn": "^2.1.3",
"authy": "^1.2.0",