Skip to content

Instantly share code, notes, and snippets.

View pcbulai's full-sized avatar
👨‍💻
Coding

Paul Bulai pcbulai

👨‍💻
Coding
View GitHub Profile
/**
* The default JSHint output is somewhat wasteful, and very bland, making it hard for a human to
* parse. The following does IMO a better job and colours the output for you. This requires the
* `colors` package, available via npm. If you don't want the dependency, just remove the color
* commands from strings.
*
* Usage: When invoking jshint from the command line, point it to this file with the --reporter
* flag. e.g.
*
* jshint someFile.js --config /path/to/config.cfg --reporter /path/to/jshintReporter.js
@pcbulai
pcbulai / sublime-text.sh
Created October 17, 2013 13:01
Sublime Text 3 installer on Fedora 19
## Install Sublime Text 3 on Fedora 19 ##
# Download Sublime Text 3 from http://www.sublimetext.com/3 . Make sure you download it as a tar.bz and that it has the right architecture
# Place this script in the same folder as your archive for ease of use, and cd there
# run this file with sudo chmod +x sublime-text.sh
#!/bin/sh
SCRIPT="#!/bin/sh
if [ \${1} == \"--help\" ]; then
@pcbulai
pcbulai / .bashrc
Last active November 11, 2021 09:44
.bashrc file with some useful aliases and functions
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
### autocorrects cd misspellings, 'cd /sur/src/linus' >> 'cd /usr/src/linux' ###