Skip to content

Instantly share code, notes, and snippets.

@waterpipe
waterpipe / samrtd.conf
Created July 31, 2013 07:07
samrtd.conf - smartmontools daemon configuration
/dev/sda \ # The device to monitor
-a \ # Implies all standard testing and reporting.
-n standby,10,q \ # Don't spin up disk if it is currently spun down
\ # unless it is 10th attempt in a row.
\ # Don't report unsuccessful attempts anyway.
-o on \ # Automatic offline tests (usually every 4 hours).
-S on \ # Attribute autosave (I don't really understand
\ # what it is for. If you can explain it to me
\ # please drop me a line.
-R 194 \ # Show real temperature in the logs.
@waterpipe
waterpipe / bolierplate.less
Created June 19, 2013 21:31
less Boilerplatte
// ========================================================= //
// = Boilerplate Less CSS Styles = //
// = by Michael P. Geraci, 2011 - www.michaelgeraci.com = //
// = tell me what's missing: mgeraci@gmail.com | @mgeraci = //
// = free for all to use and modify (MIT License) = //
// ========================================================= //
// ============= //
// = CSS Reset = //
@waterpipe
waterpipe / Custom.css
Created June 17, 2013 18:35
chrome developer tools solarized light
body#-webkit-web-inspector #main {
background-color: #fdf6e3 !important; }
body#-webkit-web-inspector #main .panel.network, body#-webkit-web-inspector #main .panel.timeline, body#-webkit-web-inspector #main .panel.profiles, body#-webkit-web-inspector #main .panel.audits, body#-webkit-web-inspector #main .panel.extension {
background-color: #ffffff !important; }
/**
* Console
*/
/**
* Messages
@waterpipe
waterpipe / reset.css
Created June 15, 2013 19:41
reset css
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
@waterpipe
waterpipe / style
Created June 12, 2013 21:17
full background image
body {
background: url('back.jpg') no-repeat center center fixed;
-moz-background-size: cover;
-webkit-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
@waterpipe
waterpipe / tree.html
Created June 11, 2013 21:08
html tree
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>HTML 5 complete</title>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
article, aside, details, figcaption, figure, footer, header,
git init
git remote add laravel https://github.com/laravel/laravel.git
git fetch laravel
git merge laravel/master