Skip to content

Instantly share code, notes, and snippets.

@soheilpro
soheilpro / example.sh
Last active August 3, 2022 18:42
Easy IIS log file format specification for goaccess.
View example.sh
goaccess -f u_ex150629.log --log-format "$(cat u_ex150629.log | ./goiisformat.sh)" --date-format '%Y-%m-%d' --time-format '%H:%M:%S'
@soheilpro
soheilpro / csvparser.js
Last active August 29, 2015 14:22
CSV Parser in JS
View csvparser.js
function ValueToken(value) {
this.value = value;
}
function CommaToken() {
}
function NewLineToken() {
}