Skip to content

Instantly share code, notes, and snippets.

boppyer

Block or report user

Report or block boppyer

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
@errkk
errkk / gist:7006532
Created Oct 16, 2013
Pusher Parrot
View gist:7006532
#include <SPI.h>
#include <Ethernet.h>
#include <PusherClient.h>
byte mac[] = {
0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
PusherClient client;
IPAddress ip(192,168,1,101);
const int parrot = 3;
@fennb
fennb / gist:1283573
Created Oct 13, 2011
nginx microcaching config example
View gist:1283573
# Set cache dir
proxy_cache_path /var/cache/nginx levels=1:2
keys_zone=microcache:5m max_size=1000m;
# Virtualhost/server configuration
server {
listen 80;
server_name yourhost.domain.com;
# Define cached location (may not be whole site)
You can’t perform that action at this time.