Skip to content

Instantly share code, notes, and snippets.

@nanonum
nanonum / _guidegenerator.pug
Created May 27, 2017
Guide Generator for Pug(Jade)
View _guidegenerator.pug
//- ---------------------------------------------------------------
//- grid generator mixin
//- ---------------------------------------------------------------
mixin pugError(message)
script.
console.error("grid generator mixin : #{message}");
mixin createGuideStyle(option)
if option.device === 'pc'
-var media = '@media screen and (min-width: ' + option.breakpoint + 'px)'
@nanonum
nanonum / CodePiece.php
Created Apr 6, 2016
テスト #CodePiece
View CodePiece.php
function console_r($array){
echo '<script>';
echo "console.dir(";
print_r(json_encode($array));
echo ")";
echo '</script>';
};
View akkki tumblr.html
<html>
<head>
<!-- Appearance option -->
<meta name="color:text" content="#666"/>
<meta name="color:background" content="#fff"/>
<meta name="color:Accent" content="#ccc"/>
<meta name="text:Disqus Shortname" content=""/>
<meta name="font:Logo" content="'lato, sans-serif"/>
<meta name="if:Use Lato font" content="1"/>
<meta name="if:Show Blog Description" content="0"/>