Skip to content

Instantly share code, notes, and snippets.

View mrmccormack's full-sized avatar

Rob McCormack mrmccormack

View GitHub Profile
@mrmccormack
mrmccormack / index-gutter-blank.html
Last active January 19, 2019 14:39
IM215 Bootstrap Gutter CSS
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous">
@mrmccormack
mrmccormack / README.md
Last active January 7, 2019 15:15
IM215 - First Class - Bootstrap 4 / Font Awesome - CDN version

IM215: Quick Mark #1 - Requirements

Steps:

  1. Create your own index.html (file below) on your computer and view it in Chrome
  2. Open index.html in your favorite editor

Part 1: Sing-a-long with Mr. M.

@mrmccormack
mrmccormack / test.md
Last active December 14, 2018 20:20
IMD Mr. M. check list for assignments... maybe

Quick Mark #1


this is the requirements.

@mrmccormack
mrmccormack / firebase.md
Created October 1, 2018 12:50
Sample Firebase Spec - jamcc
@mrmccormack
mrmccormack / amp-mui-submission.html
Last active September 16, 2018 15:01
amp-mui-submission
<!doctype html>
<html ⚡>
<head>
<meta charset="utf-8">
<title>AMP using MUI example</title>
<link rel="canonical" href="index.html">
<meta name="viewport" content="width=device-width,minimum-scale=1">
<meta name="description" content="MUI css framework and AMP">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
@mrmccormack
mrmccormack / test-json.js
Last active July 25, 2018 18:51
Read write JSON - Tabris.js
const {Button, fs, TextInput, ui} = require('tabris')
const FILE = fs.filesDir + '/' + 'names.json'
const RIGHT_MARGIN = 10
const LEFT_MARGIN = 10
let names = [
{
'firstName': 'Bob',
@mrmccormack
mrmccormack / test-read-write-file.js
Created July 18, 2018 22:06
Tabrisjs - test if file exists
const {fs, Button, TextView, TextInput, ui} = require('tabris')
const FILENAME = 'helloxxppp.txt'
const FILEPATH = fs.filesDir
const FULLFILEPATH = FILEPATH + '/' + FILENAME
console.log('FILENAME: \n ' + FILENAME)
console.log('FILEPATH: \n ' + FILEPATH)
console.log('FULLFILEPATH \n: ' + FULLFILEPATH)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>KaiKi_KiBeta</title>
@mrmccormack
mrmccormack / kaikikibeta.html
Last active May 4, 2018 17:28
Kai-collapse
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>KaiKi_KiBeta</title>
@mrmccormack
mrmccormack / tabs.js
Created May 1, 2018 20:05
Tabrisjs folder tab example for T.
/*
TabFolder, Tab and WebView
@version:2.4
Snippet url:
- http://
References:
- https://tabrisjs.com/documentation/latest/api/TabFolder.html
*/
const {Button, Tab, TextInput, TabFolder, TextView, ImageView, ui} = require('tabris');