Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jscheel on github.
  • I am jscheel (https://keybase.io/jscheel) on keybase.
  • I have a public key whose fingerprint is 97C4 7CE2 7888 6D7A AC8A 302A 96A3 C8A6 771D 63F6

To claim this, I am signing this object:

var myCustomData = {
email: 'arthur.dent@example.org',
favoriteNumber: 42,
travelGear: ['towel', 'tea']
};
groove.widget('setCustomer', myCustomData);
email: <string (email_address)>
name: <string>
first_name: <string>
last_name: <string>
about: <string>
title: <string>
company: <string>
phone: <string>
location: <string>
website: <string>
<ul>
<li>Favorite Number: {{favoriteNumber}}</li>
<li>
Travel Gear
<ul>
{% for item in travelGear %}
<li>{{ item[1] }}</li>
{% endfor %}
</ul>
</li>
@jscheel
jscheel / chrome-node-devtools-refresh.sh
Created November 18, 2016 18:35
Temporary hack to refresh the node inspector devtools without having to worry about the constantly-changing uuid. Only works in OSX. Use an iTerm2 trigger to run script automatically.
#!/bin/bash
######################################################################################
# regex for iterm2:
# chrome-devtools\:\/\/devtools\/remote\/serve\_file\/\@[a-f0-9]*\/inspector\.html\?experiments\=true\&v8only\=true\&ws\=localhost\:9229\/[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}
#
# command for iterm2:
# /path/to/script/chrome-devtools-refresh.sh "\0" [-h "example.com"]
######################################################################################
=== npm audit security report ===
# Run npm install npm-shrinkwrap@200.5.1 to resolve 33 vulnerabilities
SEMVER WARNING: Recommended action is a potentially breaking change
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ ReDoS │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ brace-expansion │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ npm-shrinkwrap │