Skip to content

Instantly share code, notes, and snippets.

Kyle Cordes kylecordes

Block or report user

Report or block kylecordes

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kylecordes
kylecordes / gist:e62a2e95065d61b4abc0f193106bc539
Created May 9, 2016
Replace angular2/ with @angular, on OSX, for many files
View gist:e62a2e95065d61b4abc0f193106bc539
find . -name *.ts -not -path '*jspm*' -not -path '*node*' -not -name '*.d.ts' -exec sed -i '' 's/angular2\//@angular\//g' {} \;
View install-my-node-modules-global.sh
#!/bin/bash
set -e
# -g = global, these are my global packages
# -d = debug, so I can see where it gets stuck
npm install -d -g npm
npm install -d -g npm-check-updates
npm install -d -g bower
@kylecordes
kylecordes / gist:1070745
Created Jul 7, 2011
Verizon Samsung 3G 3-bar ping results
View gist:1070745
--- google.com ping statistics ---
63 packets transmitted, 33 packets received, 47.6% packet loss
round-trip min/avg/max/stddev = 303.390/696.738/2263.274/485.687 ms
Kyle-Cordess-MacBook-Pro:~ kcordes$ ping -c 100 google.com
PING google.com (74.125.235.16): 56 data bytes
Request timeout for icmp_seq 0
64 bytes from 74.125.235.16: icmp_seq=0 ttl=43 time=1061.573 ms
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
64 bytes from 74.125.235.16: icmp_seq=1 ttl=43 time=3399.928 ms
View designer.html
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
You can’t perform that action at this time.