Skip to content

Instantly share code, notes, and snippets.

View misterzik's full-sized avatar
:octocat:
On the hub!

Nick misterzik

:octocat:
On the hub!
  • Nomad, somewhere called earth ...
View GitHub Profile
@jdevalk
jdevalk / .htaccess
Last active January 7, 2025 07:26
These three files together form an affiliate link redirect script.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index\.php$ - [L]
RewriteRule (.*) ./index.php?id=$1 [L]
</IfModule>
@NapoleonWils0n
NapoleonWils0n / squidman proxy set up.txt
Created November 11, 2012 01:13
macosx: squidman set up
/*----------------------------------------------------------------------------------------*/
/* squidman proxy set up */
/*----------------------------------------------------------------------------------------*/
install squidman
leave the port set to 8080
@ScottPhillips
ScottPhillips / .htaccess
Created February 2, 2012 04:30
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
@JeffreyWay
JeffreyWay / grid.css
Created December 15, 2011 16:34
Simple CSS Grid in Stylus
full_width = 80
columns = 12
gutter = 1
.container
width unit(full_width, '%')
margin auto
overflow hidden
div[class^="grid_"]