Skip to content

Instantly share code, notes, and snippets.

@Lammerink
Lammerink / phpinfo.php
Created February 7, 2015 12:06
PHP : Get PHPinfo
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
@Lammerink
Lammerink / gist:3925083
Created October 20, 2012 22:43
HTML : Starting template
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
</head>
<body>
</body>
</html>
@Lammerink
Lammerink / reset.css
Last active October 11, 2015 21:57 — forked from danilowm/gist:1070332
CSS : CSS Reset
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
@Lammerink
Lammerink / style.css
Last active October 11, 2015 21:57
CSS : Starting Template
@charset "UTF-8";
/* CSS Document */
@Lammerink
Lammerink / HTML : Open Link in New Window.html
Last active October 11, 2015 21:58
HTML : Open Link in New Window
@Lammerink
Lammerink / gist:3925295
Created October 20, 2012 23:59
HTML : Set iPhone Bookmark Icon
Set iPhone Bookmark Icon
Place this in your <head> section, and set the href attribute to an image to a 57px x 57px PNG file.
<link rel="apple-touch-icon" href="iphone-icon.png"/>
To prevent the iPhone from adding it's own gloss:
<link rel="apple-touch-icon-precomposed" href="icon.png" />
@Lammerink
Lammerink / gist:3925301
Created October 21, 2012 00:06
CSS : Basic Link Roll Over CSS Sprite
Basic Link Rollover as CSS Sprite
a {
display: block;
background: url(sprite.png) no-repeat;
height: 30px;
width: 250px;
}
a:hover {
@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 / 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 / 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>