Skip to content

Instantly share code, notes, and snippets.

Chuck Houpt chuckhoupt

Block or report user

Report or block chuckhoupt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@logosity
logosity / tail.sh
Created May 9, 2012
Tail Recursion in bash
View tail.sh
#!/bin/bash
# warning you need to build in something to stop the loop
# in practice, I used a kill file check before invoking the script again
echo 'tail recursive bash ftw'
sleep 10
$0 &
# if you didn't listen and ran this as-is, try:
# killall tail.sh
View ocr-shot.sh
#!/bin/bash
set -e
CONTENTS=$(tesseract -c language_model_penalty_non_dict_word=0.8 --tessdata-dir /usr/local/share/ "$1" stdout -l eng | xml esc)
hex=$((cat <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
@Jiab77
Jiab77 / goaccess.md
Last active Aug 14, 2019
Using GoAccess with PHP
View goaccess.md

Using GoAccess with PHP

This file will contain instructions to run goaccess from a PHP instance.

For more details on GoAccess check these links:

Installation

For this project, I'm using a compiled version of GoAccess with enabled options to reduce the memory usage.

You can’t perform that action at this time.