If you want to use the latest available version of Squid, you can Build a Squid anonymous proxy from source code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -x | |
git checkout master | |
git fetch | |
git pull | |
git branch -r --merged | grep origin | grep -v '>' | grep -v master | xargs -L1 | cut -d"/" -f2- | xargs git push origin --delete | |
git branch --merged | grep -v master | xargs git branch -d | |
git fetch -p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Create a crontab with this script to joke your friend. | |
#Change __IMG__PATH__ to path with your image, download image and save in a hide directory. | |
/1 * * * * curl -o /tmp/joker.jpg DOWNLOAD_IMG_URL; osascript -e 'tell application "System Events" to set picture of every desktop to ("/tmp/joker.jpg" as POSIX file as alias)' killall Dock; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew tap homebrew/dupes | |
brew install apple-gcc42 | |
export CC=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2 | |
export CXX=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/g++-4.2 | |
export CPP=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/cpp-4.2 | |
brew uninstall v8 | |
gem uninstall libv8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream _name_ { | |
server ip_1:port; | |
server ip_2:port; | |
server ip_3:port; | |
server ip_4:port; | |
... | |
} | |
server { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
white-space: pre; | |
color: white; | |
font-size: 14px; | |
font-family: Helvetica; | |
background: black; | |
} | |
.property { | |
color: orange; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Foco sidebar | |
** CTRL + 0 | |
* Mostrar ou esconder barra | |
** CMD + K + B || CTRL + ALT + CMD +D | |
* Full screen | |
** CMD + CTRL + F | |
* Distraction free |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style> | |
ol { counter-reset: item } | |
li { display: block } | |
li:before { content: counters(item, ".") " "; counter-increment: item } | |
</style> | |
</head> | |
<body> |