Skip to content

Instantly share code, notes, and snippets.

@vlio20
vlio20 / index.html
Created April 1, 2016 09:48 — forked from johnlindquist/index.html
Dynamically Add a Component
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>RxJSCraft</title>
<script src="https://npmcdn.com/angular2/bundles/angular2-polyfills.js"></script>
<script src="https://npmcdn.com/systemjs@0.19.24/dist/system.js"></script>
<script src="https://npmcdn.com/typescript@1.8.9/lib/typescript.js"></script>
</head>
<body>
@vlio20
vlio20 / README.md
Created March 22, 2016 05:22 — forked from johnlindquist/README.md
Angular 2 Time Machine Subjects

Angular 2 Time Machine

@ngrx/store example

Demonstrates the basics of @ngrx/store.

Edited last year by Lewis
PHPStorm debugging is amazing
I recently installed Homestead for my development environment and discovered Xdebug needed some additional settings before it would work. Here's a step-by-step process that I used to get PHPStorm + Homestead + Xdebug working in harmony.
I'm going to assume you have installed PHPStorm and Homestead.
Configure Xdebug
Navigate to Tools>Vagrat>Up
Navigate to Tools>Start SSH Session and choose your vagrant host (PHPStorm automatically adds this)
svn st | grep '^?' | awk '{print $2}' | xargs rm -rf
git commit -m "your comment"
git subtree push --prefix dist origin gh-pages
@vlio20
vlio20 / toolbar-scroll-shadow.js
Last active September 25, 2015 12:10
angular directive for toolbar scrolling shadow effect
'use strict';
(function (angular) {
angular.module('directives')
.directive('toolbarScrollShadow', Directive);
/** @ngInject */
function Directive() {
var directive = {
restrict: 'A',
@vlio20
vlio20 / terminal-help-commands.sh
Last active September 23, 2015 19:03
Useful commands
#who using port
lsof -i tcp:3000