Skip to content

Instantly share code, notes, and snippets.

@Lammerink
Lammerink / error.php
Last active October 11, 2015 22:28
PHP : Return Error Codes
</php
ini_set('display_errors', 'On');
error_reporting(E_ALL | E_STRICT);
?>
@Lammerink
Lammerink / index.html
Last active August 29, 2016 17:07
HTML5 : New Document Template
<!DOCTYPE HTML>
<html>
<head>
<meta charset = "utf-8">
<title> </title>
<link rel="stylesheet" href="style.css">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<!--[if IE]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<script scr ="script/script.js"></script>
@Lammerink
Lammerink / CSS : Web Font Stacks.css
Last active April 5, 2018 13:10
CSS : Web Font Stacks
@charset "UTF-8";
/* Web Font stacks */
/* The Times New Roman-based serif stack: */
font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
/* A modern Georgia-based serif stack:*/
font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif," "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
/*A more traditional Garamond-based serif stack:*/
@Lammerink
Lammerink / CSS : Turn Images Black and White.css
Last active December 16, 2015 17:50
CSS : Turn Images Black and White
@charset "UTF-8";
/* CSS: Turn Images Black and White */
/* for more info go to: http://demosthenes.info/blog/532/Convert-Images-To-Black-And-White-With-CSS */
filter: grayscale(100%);
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
@Lammerink
Lammerink / phpinfo.php
Created February 7, 2015 12:06
PHP : Get PHPinfo
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>