cd /path/to/project
npm install handlebars
Copy html-reporter.js
and html-reporter.hbs
to your project basedir.
#!/bin/bash | |
# | |
# Highligh Nginx config file in Vim | |
# Download syntax highlight | |
mkdir -p ~/.vim/syntax/ | |
wget http://www.vim.org/scripts/download_script.php?src_id=19394 -O ~/.vim/syntax/nginx.vim | |
# Set location of Nginx config file | |
cat > ~/.vim/filetype.vim <<EOF |
# Version key/value should be on his own line | |
PACKAGE_VERSION=$(cat package.json \ | |
| grep version \ | |
| head -1 \ | |
| awk -F: '{ print $2 }' \ | |
| sed 's/[",]//g') | |
echo $PACKAGE_VERSION |
'use strict' | |
var jsonfile = require('jsonfile') | |
var replace = require('replace-in-file') | |
var fs = require('fs') | |
fs.readdir('dist', function(err, files) { | |
var htmlFiles = [] | |
files.forEach(function(x) { | |
if (/\.html$/.test(x)) { htmlFiles.push('dist/' + x) } | |
}) |
[color] | |
ui = true | |
[core] | |
editor = vim | |
excludesfile = ~/.gitignore_global | |
[alias] | |
cm = commit -m | |
co = checkout | |
st = status | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit |
##shortcuts | |
alias s='git status' | |
# Easy Navigation | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias p="cd ~/practices" | |
alias w="cd ~/workspace" | |
# Tools |
3d-game.com #dtdns.com | |
4irc.com #dtdns.com | |
b0ne.com #dtdns.com | |
bbsindex.com #dtdns.com | |
chatnook.com #dtdns.com | |
darktech.org #dtdns.com | |
deaftone.com #dtdns.com | |
dtdns.net #dtdns.com | |
effers.com #dtdns.com | |
etowns.net #dtdns.com |
There's an issue with cairo 14.x that results in the axis fonts on the graphs being HUUUUUGE. Downgrading to 12.6 helps:
A Pen by Grégory Copin on CodePen.