Skip to content

Instantly share code, notes, and snippets.

@davidpfahler
davidpfahler / bower_issues.md
Last active December 11, 2015 03:38
My problems with twitter/bower

Note: Correct me if I'm wrong. I'd be happy to be wrong here. I want to document the following problems we have using bower:

horizontal dependency installation

bower/bower#157

bower installs dependencies along side each other which makes multiple versions of the same dependency a problem (if not impossible) and also makes the path of a component unpredictable. I want to explain the latter further: When you split a project into multiple components but the main project is still one repository, you can predict the components in this repository will be in ./components/. But when you use this main repository in another project, the dependencies of main project will be installed next to it, not inside its folder.

usage of repos that have no component.json

bower/bower#107

bower/bower#198

@davidpfahler
davidpfahler / proxy.js
Created April 1, 2014 12:50
Smartlaunch Proxy
var http = require('http'),
httpProxy = require('http-proxy');
process.on('uncaughtException', function(err) {
console.log(err)

Keybase proof

I hereby claim:

  • I am davidpfahler on github.
  • I am davidpfahler (https://keybase.io/davidpfahler) on keybase.
  • I have a public key whose fingerprint is 6651 A02F 0EC4 0FBE 6ADE 20E5 9DDC FC7E 2B13 7A2B

To claim this, I am signing this object:

<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en" id="ng-app"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en" id="ng-app"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="Search based application built using ElasticSearch, elastic.js, and Angular.js">
<meta name="viewport" content="width=device-width">
{
cluster_name: "elasticsearch",
status: "green",
timed_out: false,
number_of_nodes: 1,
number_of_data_nodes: 1,
active_primary_shards: 0,
active_shards: 0,
relocating_shards: 0,
initializing_shards: 0,
Using milestone 1 input plugin 's3'. This plugin should work, but would benefit from use by folks like you. Please let us know if you find bugs or have suggestions on how to improve this plugin. For more information on plugin milestones, see http://logstash.net/docs/1.4.1/plugin-milestones {:level=>:warn}
Registering s3 input {:bucket=>"logs.appbusinesspodcast.com", :region_endpoint=>"us-east-1", :level=>:info}
Grok patterns path {:patterns_dir=>["/Users/djpfahler/localhost/logstash_stats/logstash-1.4.1/lib/logstash/filters/../../../patterns/*"], :level=>:info}
Grok loading patterns from file {:path=>"/Users/djpfahler/localhost/logstash_stats/logstash-1.4.1/lib/logstash/filters/../../../patterns/firewalls", :level=>:info}
Grok loading patterns from file {:path=>"/Users/djpfahler/localhost/logstash_stats/logstash-1.4.1/lib/logstash/filters/../../../patterns/grok-patterns", :level=>:info}
Grok loading patterns from file {:path=>"/Users/djpfahler/localhost/logstash_stats/logstash-1.4.1/lib/logstash/filters/../.
# appbusinesspodcast.com.conf
server {
listen 80;
index index.php index.htm index.html;
server_name 162.243.79.83 appbusinesspodcast.com *.appbusinesspodcast.com;
root /var/www/appbusinesspodcast.com;
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
<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;

.d$b. .d$b. .d$$$$$$b.  .d$$$$$$b. .d$$$$$$b. .d$b..d$$$$$$$$b.
$$$$$..$$$$$.$$$$$$$$$$$b .$$$$$$$$$$$b $$$$$$$$$$b $$$$$$$$$$$$$$$P'
$$$$$$$$$$$$d$$$$$$$$$$$$bd$$$$$$$$$$$$b$$$$$$$$$$$b$$$$$$$$$$$$$$$b.
$$$$$$$$$$$$Q$$$$$$$$$$$$PQ$$$$$$$$$$$$P$$$$$$$$$$$P$$$$$$$$$$$$$$$P'
$$$$$´`$$$$$'$$$$$$$$$$$$''$$$$$$$$$$$$'$$$$$$$$$$P $$$$$$$$$$$$$$$b.
'Q$P' 'Q$P' 'Q$$$$$$P'  'Q$$$$$$P' 'Q$$$$$$$P 'Q$P''Q$$$$$$$$P'

Version: 0.5.2 (node v0.10.26, npm 1.4.3, platform: win32)