Skip to content

Instantly share code, notes, and snippets.

View travisperson's full-sized avatar
🏠
Working from home

Travis Person travisperson

🏠
Working from home
View GitHub Profile
~/t/error $ npm isntall -g babel-cli
npm WARN optional dep failed, continuing fsevents@1.0.2
/home/travis/local/bin/babel -> /home/travis/local/lib/node_modules/babel-cli/bin/babel.js
/home/travis/local/bin/babel-node -> /home/travis/local/lib/node_modules/babel-cli/bin/babel-node.js
/home/travis/local/bin/babel-external-helpers -> /home/travis/local/lib/node_modules/babel-cli/bin/babel-external-helpers.js
babel-cli@6.0.15 /home/travis/local/lib/node_modules/babel-cli
├── slash@1.0.0
├── path-is-absolute@1.0.0
├── path-exists@1.0.0
├── fs-readdir-recursive@0.1.2
var response;
before(function (done) {
server.inject(options, function (res) {
response = res;
done();
});
});
it('should fail with a descriptive error', function() {
/# Valid absolute URI having a non-empty, valid DNS host.
^
(?P<scheme>[A-Za-z][A-Za-z0-9+\-.]*):\/\/
(?P<authority>
(?:(?P<userinfo>(?:[A-Za-z0-9\-._~!$&\'()*+,;=:]|%[0-9A-Fa-f]{2})*)@)?
(?P<host>
(?P<IP_literal>
\[
(?:
(?P<IPV6address>
"AAA"
"BBB"
"DDD"
@travisperson
travisperson / gist:6a9a591924a0d2d8c4a0
Created August 24, 2015 18:24
Pages required to compile i3status bar
libxcb-devel
xcb-util-*-devel
pango-devel
yajl-devel
lib-devel
console.log(process.version)
@travisperson
travisperson / Install_Sublime_Text_3_64.sh
Last active August 29, 2015 14:27 — forked from dkd903/Install_Sublime_Text_3_64.sh
Install Sublime Text 3 editor on Fedora Linux & Red Hat Linux - 64 Bit Edition. More at: http://digitizor.com/?p=15885
#!/bin/sh
SHORTCUT="[Desktop Entry]
Name=Sublime Text 3
Comment=Edit text files
Exec=/usr/local/sublime-text-3/sublime_text
Icon=/usr/local/sublime-text-3/Icon/128x128/sublime_text.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Utility;TextEditor;"
5c5
< if type -q $cmd
---
> if type $cmd > /dev/null