Skip to content

Instantly share code, notes, and snippets.

View chellimiller's full-sized avatar

Michelle Miller chellimiller

View GitHub Profile
@chellimiller
chellimiller / basic_server.js
Created July 19, 2018 02:21
Simple development server for a single page app
const http = require('http');
const url = require('url');
const fs = require('fs');
console.log('Server Started');
http.createServer(function(req, res){
fs.readFile('./index.html', (error, data) => {
if (error) {
res.writeHead(404, {'Content-type':'text/plain'});
@chellimiller
chellimiller / html5-template.html
Created July 19, 2018 01:40
Playing around with the HTML5 Template tag
<!doctype html>
<html>
<title>PAGE</title>
<meta charset="utf-8">
<body onload="inform()">
<template id="chelli-link">
<style>
a {
color: red;
@chellimiller
chellimiller / baby-router.html
Created July 19, 2018 00:54
Super tiny router for a single page app
<!doctype html>
<html>
<title></title>
<meta charset="utf-8">
<style>
page {
display: none;
}
</style>
<body onload="inform()">
@chellimiller
chellimiller / modules.css
Created November 27, 2017 08:12
OrgSync Module CSS Styling
/* Staring Sheet for Changing OrgSync Module Styles
This stylesheet contains each module id */
/* Defaults */
.pod {
}
/* Calendar Module */
#module_calendar {}
@chellimiller
chellimiller / dir.conf
Last active November 22, 2017 06:05
Setup LAMP Stack
<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
@chellimiller
chellimiller / index.html
Last active February 23, 2018 18:45
Basic HTML5 Page and MeyerWeb Reset
<!doctype html>
<html>
<title></title>
<meta charset="utf-8">
<link rel="stylesheet" href="reset.css" />
<link rel="stylesheet" href="style.css" />
<body>
<header>
<nav></nav>