Skip to content

Instantly share code, notes, and snippets.

View transcendr's full-sized avatar
💭
Working Hard

Bryan Price-McConnahea transcendr

💭
Working Hard
View GitHub Profile
new SWPrecacheWebpackPlugin({
cacheId: 'transcendr-app',
filename: 'service-worker.js',
staticFileGlobs: ['dist/**/*.{js,html,css,eot,woff,woff2,ttf}'],
minify: true,
stripPrefix: 'dist/'
}),
@transcendr
transcendr / vue-cli-help
Created March 6, 2018 13:14
OMC - PWA Setup
$ vue
Usage: vue <command> [options]
Options:
-V, --version output the version number
-h, --help output usage information
@transcendr
transcendr / p5-color.json
Created April 13, 2018 19:41
p5 color fn output
// p5.color(255)
{
"mode":"rgb",
"maxes":{
"rgb":[
255,
255,
255,
255
],
@transcendr
transcendr / #readme.md
Last active August 16, 2018 11:29
Web Standards Development

Web Standards Development

HTTP Server Setup

Install server

$ npm install simplehttpserver -g

From VS Code internal terminal, inside project dir, port based on VS debug port

@transcendr
transcendr / ReadMe.md
Last active December 8, 2021 01:18
Operator Mono Free Version - VS Code

Operator Mono Free Version - VS Code


This explains how to get what basically amounts to the "Operator Mono" font feel and look in VS Code, for free.

First you need to install "Custom CSS and JS Loader" extension and then add the settings (below) and setup the style sheet and put the path to the stylesheet.

To apply the changes, follow the instructions carefully in the Custom Css and JS Loader readme.

https://marketplace.visualstudio.com/items?itemName=be5invis.vscode-custom-css

@transcendr
transcendr / serve-h.bash
Created August 17, 2018 21:15
Polymer CLI
$ polymer serve -h
polymer serve
Runs the polyserve development server
Command Options
--version Print version info.
--root string The root directory of your project. Defaults to the current working
@transcendr
transcendr / settings.json
Created August 17, 2018 23:05
VS Code Config
{
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"git.enableSmartCommit": true,
"workbench.startupEditor": "welcomePage",
"gitlens.advanced.messages": {
"suppressShowKeyBindingsNotice": true
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
@transcendr
transcendr / template.php
Last active August 21, 2018 09:02
Snax Plugin List Content Shortcode Fix
//Located at: /includes/posts/template.php (line 33)
/**
* Return snax content
*
* @return string
*/
function snax_content_shortcode() {
$content = '';
@transcendr
transcendr / launch.json
Created August 23, 2018 12:56
vscode launch debug config
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [{
"type": "chrome",
"request": "launch",
"name": "Chrome Canary",
"url": "http://localhost:3100",
@transcendr
transcendr / article.txt
Created November 28, 2018 20:08
article
It is easy to look at the Middle East today and think that it is a powder keg ready to explode. It is almost impossible to turn on the news at any time if the day and not see the media playing out a crisis in the middle east in vivid detail. There is Isis taking part in unthinkable acts of violence, a young women who was shot while on the school bus, and many other cruel acts that are brought forth by the media to portray what monsters people who follow Islam must be.
However; that is not the reality. Although there is a war taking place in the middle east and violence on the Gaza strip, that does not mean that all people who choose to follow the Islamic faith are one in the same. Interestingly enough, many of our cults who also partook in unthinkable acts of violence, had simple beginnings as religious groups. Although the amount of terror that the cults brought forth is not the same as, what Isis is doing for example, that does not mean that violence has not taken place in the idea of Christianity
However