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 / 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' {} \;
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
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">
:host {
kylecordes / gist:1070745
Created Jul 7, 2011
Verizon Samsung 3G 3-bar ping results
View gist:1070745
--- 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
PING ( 56 data bytes
Request timeout for icmp_seq 0
64 bytes from icmp_seq=0 ttl=43 time=1061.573 ms
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
64 bytes from icmp_seq=1 ttl=43 time=3399.928 ms
You can’t perform that action at this time.