Skip to content

Instantly share code, notes, and snippets.

View mrmccormack's full-sized avatar

Rob McCormack mrmccormack

View GitHub Profile
@mrmccormack
mrmccormack / color.php
Last active December 15, 2017 20:24
IM315 color.php for test
<?php
$favcolor = "red";
switch ($favcolor)
{
case "red":
echo "Your favorite color is red!";
break;
case "blue":
echo "Your favorite color is blue!";
@mrmccormack
mrmccormack / readme.md
Created November 23, 2017 14:20
Hackathon Modifications UpWork Contractor
@mrmccormack
mrmccormack / user.js
Created November 14, 2017 21:12
Expressjs / Nodejs Error: Can't set headers after they are sent.
/**
* POST /signup
* Create a new local account.
*/
// TODO: if you try existing email and exist. username, this will trigger an errors
// Error: Can't set headers after they are sent.
// not sure why this happens, it works sometimes
@mrmccormack
mrmccormack / landing-page-fa.html
Created October 28, 2017 00:22
MUICSS Template with Font Awesome / Animate.js
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>UNTITLED</title>
<script src="https://cdn.muicss.com/mui-0.9.27/extra/mui-combined.min.js"></script>
@mrmccormack
mrmccormack / landing-page.html
Last active October 15, 2017 13:07
landing-page.html: validation MUI is a lightweight CSS framework that follows Google's Material Design guidelines.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>UNTITLED</title>
<script src="https://cdn.muicss.com/mui-0.9.27/extra/mui-combined.min.js"></script>
<style>
@mrmccormack
mrmccormack / meeting-agenda.txt
Last active October 2, 2017 14:59
TEMPLATE: Text-based Agenda for a meeting
AGENDA MEETING TEMPLATE
- Oct 2, 2017 posted:
- https://gist.github.com/mrmccormack/993464340efc0ae1db2238d0d9aece57
NOTES:
- These is a text-based agenda for meetings
- Designed for email / mobile use - simple, fast and minimal
- agenda items are pre-fixed with the Meeting No.
- for example Meeting No. 3, will have 3.1, 3.2,3.3
- number items in this manner is useful, for example,
@mrmccormack
mrmccormack / mintues-of-meeting.txt
Created October 2, 2017 14:57
TEMPLATE: Text-based minutes of meeting
MINUTES OF MEETING TEMPLATE
NOTES:
- These are text-based minutes for meetings
- Designed for email / mobile use - simple, fast and minimal
- minute items are pre-fixed with the Meeting No.
- for example Meeting No. 3, will have 3.1, 3.2,3.3
- number items in this manner is useful, for example,
in Meeting No. 7, an item was unresolved from Meeting No.1,
would appear as 1.2, yet the rest of the items would be
@mrmccormack
mrmccormack / mdbootstrap-template-cdn.html
Last active August 28, 2023 14:47
MDBootsrap CDN Starter Template
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>UNTITLED</title>
<!-- Font Awesome -->
<!-- Bootstrap core CSS -->
@mrmccormack
mrmccormack / balls-gravity-for-portfolio-course.markdown
Last active July 7, 2018 15:55
BALLS&GRAVITY for Portfolio Course
@mrmccormack
mrmccormack / IM516.txt
Last active June 6, 2017 12:43
IM516 Calendar Description Update by Rob.
IM516 Physical Computing
Physical computing combines the use of both hardware and software to sense and control the interactions with the users and the environment. Students will learn just enough in this class to connect a variety of sensors and actuators to a micro-controller and Android devices to realize the creative things that are possible. This isn’t primarily an electronics course nor a programming course nor a design course. This course is a broad overview of techniques used in physical interaction design.