Skip to content

Instantly share code, notes, and snippets.

View gist-loraxx753's full-sized avatar

gist-loraxx753

View GitHub Profile
@gist-loraxx753
gist-loraxx753 / html5_template.html
Created March 8, 2012 03:12 — forked from nathansmith/html5_template.html
HTML - html5 template
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>untitled</title>
<link rel="stylesheet" href="" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0/jquery.min.js"></script>
<script src=""></script>
</head>
<body>
@gist-loraxx753
gist-loraxx753 / xhtml_strict.html
Created April 27, 2012 13:48
HTML : XHTML Strict Template
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link rel="stylesheet" href="" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script src=""></script>
</head>
<body>
@gist-loraxx753
gist-loraxx753 / string to date and back
Created October 2, 2012 00:07
string to date and back
<?php
//September 15,2013
$date = "2013-09-15";
$utc = strtotime($date);