Skip to content

Instantly share code, notes, and snippets.

View edysegura's full-sized avatar
👽
Always learning!

Edy Segura edysegura

👽
Always learning!
View GitHub Profile
@edysegura
edysegura / index.html
Last active September 16, 2015 23:14
A Pen by Edy Segura.
<label>
<input type="checkbox" />
<span>Learn front-end</span>
</label>
@edysegura
edysegura / redirect.jsp
Created March 19, 2014 12:17
URL Redirection
<%
response.setStatus(301);
response.setHeader("Location", "http://www.your-new-address-here.com/");
response.setHeader("Connection", "close");
%>
@edysegura
edysegura / redirect.php
Last active August 29, 2015 13:57
URL Redirection
<?
Header('HTTP/1.1 301 Moved Permanently');
Header('Location: http://www.your-new-address-here.com');
?>
@edysegura
edysegura / .htaccess
Last active August 29, 2015 13:57
URL Redirection
RewriteEngine On
RewriteRule ^(.*)$ http://www.newaddress.com/$1 [L,R=301]
@edysegura
edysegura / box-model.css
Last active August 29, 2015 13:56
[CSS] A basic CSS Reset with box-sizing
*, *::before, *::after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}