Skip to content

Instantly share code, notes, and snippets.

View mikeumus's full-sized avatar
🪐
ARTEMIS

Michael Duane Mooring mikeumus

🪐
ARTEMIS
View GitHub Profile
@mikeumus
mikeumus / githubRepoSetup
Created April 2, 2014 04:49
Setup your GitHub Repo
Download git-bash from git-scm:
http://www.git-scm.com/
In git bash use the 'cd' command to navigate you your project's root folder.
Use the 'ls' command to list the files in the current directory to help you navigate.
`git init`
`git remote add origin https://github.com/username/project.git`
var canv = document.getElementById('canvas'),
c = canv.getContext('2d');
var context = c
var rowSize = 200
var columnSize = 200
var canvasWidth = $("canvas").width()
var canvasHeight = $("canvas").height()
canv.height = canvasHeight
canv.width = canvasWidth
var radius = canvasWidth/(2*columnSize)
@mikeumus
mikeumus / web-dev-crash-courses.md
Last active August 29, 2015 13:58
Crash Course - Web Dev

Take these courses to get web dev savy, in order:

All of these courses result in badges or symbols of course completion. Specifically the CodeSchool courses have OpenBadges awarded for example here's my CodeSchool "Report Card" page: https://www.codeschool.com/users/705399

@mikeumus
mikeumus / 391b62346ab74dc8ca2c
Last active August 29, 2015 14:03
391b62346ab74dc8ca2c
We couldn’t find that file to show.
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-input/paper-input.html">
@mikeumus
mikeumus / gist:70e47dae4f3c005d47fe
Created August 8, 2014 01:08
ember-cli RefferenceError: window is not defined
(trusty)mikeumus@localhost:~/Downloads/RentalGeek/Development/portola$ ember s

/home/mikeumus/Downloads/RentalGeek/Development/portola/node_modules/ember-cli/node_modules/leek/node_modules/configstore/node_modules/js-yaml/lib/js-yaml/type/js/function.js:17
  if (window) { esprima = window.esprima; }
      ^
ReferenceError: window is not defined
    at Object.<anonymous> (/home/mikeumus/Downloads/RentalGeek/Development/portola/node_modules/ember-cli/node_modules/leek/node_modules/configstore/node_modules/js-yaml/lib/js-yaml/type/js/function.js:17:7)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
(trusty)mikeumus@localhost:~/Downloads/RentalGeek/Development/fonda$ gem install pg
Building native extensions.  This could take a while...
Successfully installed pg-0.17.1
invalid options: -f fivefish
(invalid options are ignored)
Parsing documentation for pg-0.17.1
Installing ri documentation for pg-0.17.1
Done installing documentation for pg after 2 seconds
1 gem installed