Skip to content

Instantly share code, notes, and snippets.

View pgherveou's full-sized avatar

PG Herveou pgherveou

View GitHub Profile
@pgherveou
pgherveou / dabblet.css
Created February 26, 2012 20:20
Untitled
body {
/*background-color: blue*/
}
ul {
overflow: hidden;
*zoom: 1;
height: 50px;
background: #333;
color: white;
@pgherveou
pgherveou / dabblet.css
Created February 28, 2012 11:08
Untitled
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
background: #6ACEDC;
height: 500px
width: 900px
}
h1 {
color: white;
text-transform: uppercase;
font-size: 80px;
@pgherveou
pgherveou / dabblet.css
Created February 28, 2012 17:11
Untitled
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
background: #6ACEDC;
height: 500px
width: 900px
}
h1 {
color: white;
text-transform: uppercase;
font-size: 80px;
.row {
border: 1px solid black;
display: table;
width: 100%;
}
.cell {
display: table-cell;
background-color: red;
.trash {
-webkit-appearance: none;
background: none;
border: none;
cursor: pointer;
display: inline-block;
outline: none;
padding: 0;
position: relative;
width: 30px;
.circle {
background: red;
width: 50px;
height: 50px;
border-radius: 50%;
}
@pgherveou
pgherveou / dabblet.css
Created April 22, 2012 09:06
Scrolling shadows by @kizmarh
/* Scrolling shadows by @kizmarh */
html {
background: #FFF;
}
.scrollbox {
position: relative;
z-index: 1;
@pgherveou
pgherveou / dabblet.css
Created April 22, 2012 09:06 — forked from kizu/dabblet.css
Scrolling shadows by @kizmarh
/* Scrolling shadows by @kizmarh */
html {
background: #FFF;
}
.scrollbox {
position: relative;
z-index: 1;
@pgherveou
pgherveou / iptables.rules
Created April 24, 2012 21:01 — forked from logicalparadox/iptables.rules
Getting Node.js process to run on port 80 without sudo
# NAT interface routing
*nat
# Setup
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [2:128]
:OUTPUT ACCEPT [2:120]
:POSTROUTING ACCEPT [2:120]
# Redirect port 80 to port 8080
@pgherveou
pgherveou / script.md
Created April 24, 2012 22:32 — forked from torgeir/install_redis_on_ubuntu.md
Redis 2.4.8 Install on Ubuntu 10.04

Installation commands:

$ wget http://redis.googlecode.com/files/redis-2.4.8.tar.gz
$ tar xvfz redis-2.4.8.tar.gz 
$ cd redis-2.4.8/
$ mkdir -p /opt/redis
$ make PREFIX=/opt/redis install
$ cp redis.conf /opt/redis/redis.conf
$ chown -R redis:redis /opt/redis