Skip to content

Instantly share code, notes, and snippets.

View jrodl3r's full-sized avatar

John Rodler jrodl3r

View GitHub Profile
⚡ nr build:ssr
> [email protected] build:ssr /app
> npm run build:bundles && npm run compile:server
> [email protected] build:bundles /app
> ng build --prod && ng run ng-fire-universal:server:production --bundleDependencies all
ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'call' of undefined
TypeError: Cannot read property 'call' of undefined
at __webpack_require__ (/app/dist/server.js:142715:30)
at Function.requireEnsure [as e] (/app/dist/server.js:142734:25)
at ɵ1 (/app/dist/server.js:142985:38)
at RouterConfigLoader.loadModuleFactory (/app/dist/server.js:152511:39)
at RouterConfigLoader.load (/app/dist/server.js:152496:35)
at MergeMapSubscriber.project (/app/dist/server.js:151499:47)
at MergeMapSubscriber._tryNext (/app/dist/server.js:41981:27)
at MergeMapSubscriber._next (/app/dist/server.js:41971:18)
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// window opacity
opacity: 0.95,
// choose either `'stable'` for receiving highly polished,
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Sexy Solarized Bash Prompt, inspired by "Extravagant Zsh Prompt"
# Customized for the Solarized color scheme by Sean O'Neil
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then TERM=gnome-256color; fi
if tput setaf 1 &> /dev/null; then
tput sgr0
if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then
BASE03=$(tput setaf 234)
BASE02=$(tput setaf 235)
BASE01=$(tput setaf 240)
@jrodl3r
jrodl3r / gist:fafcce4c9cfe6a9e4311375469f6f9da
Created July 1, 2016 19:37
webpack / postcss-browser-reporter
[
require('postcss-import')({
path: path.join(__dirname, '..', 'app', 'css'),
addDependencyTo: webpack
}),
require('postcss-cssnext')({
browsers: ['> 1%', 'last 2 versions']
}),
require('postcss-browser-reporter'),
require('postcss-reporter')({ clearMessages: true })
@jrodl3r
jrodl3r / gist:c6576cfcb1d3862ecedd
Last active August 29, 2015 14:03
sample gist

H5BPCodeKit

H5BPCodeKit is a collection of tools and libraries that work in unison to form a simple starting point for building Apps & Websites (without the Command Line). H5BPCodeKit uses CodeKit for Sass-CSS pre-compiling, JavaScript minification, and more.

Features

@jrodl3r
jrodl3r / gist:6571398
Created September 15, 2013 14:48
github.php
<?php `git pull`; ?>
<h1>Github Pull Command Sent.</h1>
@jrodl3r
jrodl3r / gist:5918680
Created July 3, 2013 14:46
Basic OSX .gitignore
# OSX
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# SASS
@jrodl3r
jrodl3r / gist:4447397
Created January 3, 2013 21:20
Floating Scroll Title Menu
<script type="text/javascript">
$(document).ready(function () {
// Fixed-Scroll H2 Control Menu
var menuYloc = parseInt($('h2.floating-title').css('top'));
var menuOffset = 0;
$(window).scroll(function () {
// Fixed-Scroll H2 Control Menu (Logic)