Skip to content

Instantly share code, notes, and snippets.

View jamesmcallister's full-sized avatar
💭
BRB on gitlab

James McAllister jamesmcallister

💭
BRB on gitlab
View GitHub Profile
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@jamesmcallister
jamesmcallister / designer.html
Last active August 29, 2015 14:07
designer
<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="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
@jamesmcallister
jamesmcallister / designer.html
Last active August 29, 2015 14:08
designer
<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="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
@jamesmcallister
jamesmcallister / .babelrc
Last active July 7, 2016 10:37
dot files
{
"presets": [
"es2015",
"react"
],
"sourceMaps": "inline"
}
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>10.0.0.10</host>
<port>3306</port>
<user>kodi</user>
<pass>kodi</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
@jamesmcallister
jamesmcallister / markdown.js
Created July 10, 2016 08:33
webpack markdown
import React, { Component } from 'react';
import fileurl from './readme.md'
class Markdown extends Component {
rawMarkup() {
return { __html: fileurl };
}
render() {
return (
@jamesmcallister
jamesmcallister / npm-install-webpack-plugin
Last active July 10, 2016 09:19
npm-install-webpack-plugin
npm install -DE npm-install-webpack-plugin
// add the following line to the top
var = require('npm-install-webpack-plugin');
// add the following to the plugins object
plugins: [
new NpmInstallPlugin(),
]
// to list extentions
// $ code --list-extensions
EditorConfig.EditorConfig
TimonVS.ReactSnippetsStandard
bialikover.theme-seti
chenxsan.vscode-standard-format
hoovercj.vscode-ghc-mod
justusadam.language-haskell
octref.tachyons
@jamesmcallister
jamesmcallister / aphrodite.js
Last active January 10, 2017 15:47
aphrodte react inline tachyons css
import React, {Component} from 'react'
import logo from './logo.svg'
import {StyleSheet, css} from 'aphrodite'
import t from 'tachyons-js'
class App extends Component {
render() {
const {styles} = App
return (
<div className={css(styles.App)}>
@jamesmcallister
jamesmcallister / gist:9f05325927b951de94e968ffeb9dd93e
Last active December 6, 2018 12:32
Docker - Delete images and containers
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
docker rm $(docker ps -a -q) && docker rmi $(docker images -q)