Skip to content

Instantly share code, notes, and snippets.

View mrmccormack's full-sized avatar

Rob McCormack mrmccormack

View GitHub Profile
@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 / 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 / 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 / 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 / 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 / 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 / readme.md
Created November 23, 2017 14:20
Hackathon Modifications UpWork Contractor
@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
Last active February 13, 2018 19:21
Mr. M.'s Chrome Theme on Google Chrome Store
@mrmccormack
mrmccormack / play_youtube-spectre.js
Created April 4, 2018 18:54
tabris.js webview with custom HTML example
const { TextView, WebView, ImageView, ui } = require('tabris')
// Using WebView to play responsive YouTube video and responsive images. Utilizes https://picturepan2.github.io/spectre/
const introText = 'This text from Tabris, WebView below using Spectre.css for responsive images and video.'
const logo = 'https://eclipsesource.com/wp-content/uploads/2015/10/tabris-icon-logo-small.png'
const youtubeURL = 'BzMLA8YIgG0'
const relatedImage = 'https://edge.alluremedia.com.au/m/g/2017/05/SAM_0023-01-1.jpeg'