This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Thomas Patrick Levy</title> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<!-- STYLESHEETS --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! | |
%html{ :lang => 'en'} | |
%head | |
%title= @title | |
%meta{ :charset => 'utf-8' } | |
%meta{ :content => '', :name => 'description' } | |
%meta{ :content => '', :name => 'author' } | |
%link{ :rel => 'stylesheet', :href => '/css/style.css' } | |
%script{ :src => 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! normalize.css 2011-11-04T15:38 UTC - http://github.com/necolas/normalize.css */article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}[hidden]{display:none}html{font-size:100%;overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}body,button,input,select,textarea{font-family:sans-serif}a{color:#00e}a:focus{outline:thin dotted}a:hover,a:active{outline:0}h1{font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}mark{background:#ff0;color:#000}pre,code,kbd,samp{font-family:monospace,serif;_font-family:'courier new',monospace;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:before,q:after{content:'';content:none}small{font-size:75%}sub,sup{font-size:75%;line-height:0;position:relative;vertical- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.gradient(@args){ | |
background-image: -webkit-linear-gradient(@args); | |
background-image: -moz-linear-gradient(@args); | |
background-image: -ms-linear-gradient(@args); | |
background-image: -o-linear-gradient(@args); | |
background-image: linear-gradient(@args); | |
} | |
.border-radius(@args){ | |
-webkit-border-radius: @args; | |
-moz-border-radius: @args; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$result = mysql_query("SELECT * FROM $table"); | |
if(!$result) { die("SOMETHING BROKE!"); } | |
while($row = mysql_fetch_array($result)) { | |
echo ' | |
'.$row['row'].' | |
'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CSS BOOKMARK WITH SHADOW BISH */ | |
.bookmark { | |
position: absolute; | |
top: 50px; | |
left: 150px; | |
background: rgba(15,135,85,.5); | |
width: 140px; | |
height: 350px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>CSS SEXY INPUTS · CodePen</title> | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* css3 slash images | |
*/ | |
div { | |
position: relative; | |
margin: 25px; | |
} | |
div:before { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- HTML5 --> | |
<meta name="description" content="{{DESCRIPTION}}"> | |
<meta name="author" content="{{AUTHOR}}"> | |
<!-- FACEBOOK --> | |
<meta property="og:image" content="{{IMG URL}}"> | |
<meta property="og:title" content="{{PAGE TITLE}}"> | |
<meta property="og:url" content="{{CANONICAL URL}}"> | |
<meta property="og:site_name" content="{{SITE NAME}}"> | |
<meta property="og:type" content="{{WEBSITE TYPE}}"> <!-- SEE: https://developers.facebook.com/docs/opengraph/#types --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# @source http://stackoverflow.com/a/19374770/400568 | |
### | |
SELECT t, | |
INSERT(col, | |
LOCATE(@start, col), | |
LOCATE(@end, col) + CHAR_LENGTH(@end) - LOCATE(@start, col), | |
'') with_delimiters_replaced, | |
INSERT(col, |
OlderNewer