Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>PhoneGap Back Button Example</title>
<script type="text/javascript" charset="utf-8" src="phonegap.0.9.5.js"></script>
<script type="text/javascript" charset="utf-8">
var myMedia = null;
@AliGH
AliGH / dabblet.css
Created March 26, 2013 06:23 — forked from LeaVerou/dabblet.css
iOS 6 style switch checkboxes
/**
* iOS 6 style switch checkboxes
* by Lea Verou http://lea.verou.me
*/
:root input[type="checkbox"] { /* :root here acting as a filter for older browsers */
position: absolute;
opacity: 0;
}
@AliGH
AliGH / dabblet.css
Created March 26, 2013 04:39 — forked from LeaVerou/dabblet.css
MathML with CSS fallback
/**
* MathML with CSS fallback
*/
math {
font-family: 'Cambria Math', Cambria, MathJax_Main,
STIXGeneral, DejaVu Serif, DejaVu Sans,
Times, Lucida Sans Unicode, OpenSymbol,
Standard Symbols L, serif;
}
/* Vertically centered text with SVG */
div {
width: 300px;
height: 150px;
background: #f06;
font: bold 150% sans-serif;
text-shadow: 0 1px 2px rgba(0,0,0,.5);
overflow: hidden; resize: both; /* just for this demo */
@AliGH
AliGH / wpurl.md
Last active December 13, 2015 21:09
How to Change WordPress URL With PHPMyAdmin
@AliGH
AliGH / host.md
Last active December 13, 2015 16:49
difference between HOST speed
@AliGH
AliGH / nib icons.md
Last active December 10, 2015 16:28
@font-face {
	font-family: 'IconicStroke';
	src: url('iconic_stroke.eot');
	src: url('iconic_stroke.eot?#iefix')	format('embedded-opentype'),
		 url("iconic_stroke.svg#iconic")		format('svg'),
		 url('iconic_stroke.ttf')			format('truetype'),
		 url("iconic_stroke.otf")			format('opentype');
	font-weight	: normal;
	font-style	: normal;