Skip to content

Instantly share code, notes, and snippets.

@Shaah
Shaah / bootstrap-em.less
Created March 12, 2018 14:44 — forked from jasny/bootstrap-em.less
Use em or rem font-size in Bootstrap 3
/**
* Use em or rem font-size in Bootstrap 3
*/
@font-size-root: 14px;
@font-unit: 0rem; // Pick em or rem here
// Convert all variables to em
@Shaah
Shaah / dabblet.css
Created October 15, 2012 19:44 — forked from DeviaVir/dabblet.css
Hosted, with love, by DualDev Logo
/**
* Hosted, with love, by DualDev Logo
*/
html, body {
height: 100%;
}
body {
margin: 0;
@Shaah
Shaah / dabblet.css
Created October 15, 2012 19:43 — forked from DeviaVir/dabblet.css
Hosted by DualDev Logo
/**
* Hosted by DualDev Logo
*/
html, body {
height: 100%;
}
body {
margin: 0;
@Shaah
Shaah / dabblet.css
Created October 15, 2012 19:39
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@Shaah
Shaah / pretty-code-editor.php
Created October 15, 2012 15:28 — forked from joshbetz/pretty-code-editor.php
Add basic <tab>ing ability
<?php
class Pretty_Code_Editor {
function __construct() {
add_action( 'admin_print_styles', array( $this, 'editor_styles' ) );
add_action( 'admin_print_footer_scripts', array( $this, 'tabs' ) );
}
function editor_styles() { ?>
@Shaah
Shaah / normalized.html
Created October 14, 2012 00:56 — forked from scottkellum/normalized.html
pixel normalization
<!doctype html>
<html>
<head>
<!-- Encoding -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"></meta>
Lynx -dump http://printer.wunderground.com/auto/printer/global/stations/40754.html|awk '/Cond/ && !/Fore/ {for (i=2; i<=10; i++) printf $i " " }'