Skip to content

Instantly share code, notes, and snippets.

View beloso's full-sized avatar

Tiago Veloso beloso

View GitHub Profile
@beloso
beloso / auth-basic.conf
Created April 3, 2016 11:28 — forked from Thermionix/auth-basic.conf
nginx reverse proxy for sickbeard, couchpotato etc.
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/htpasswd;
@beloso
beloso / OCLint Jenkins
Created January 7, 2016 10:30 — forked from SergioEstevao/OCLint Jenkins
A script for running OCLint in Jenkins and create PMD reports
#import path
export PATH=${PATH}:/usr/local/bin
#import what we have in bash_profile
source ~/.bash_profile
#check for oclint
hash oclint &> /dev/null
if [ $? -eq 1 ]; then
echo >&2 "oclint not found, analyzing stopped"
exit 1
fi