Skip to content

Instantly share code, notes, and snippets.

@nknauth
nknauth / manifest.json
Created February 24, 2016 03:47
custom new chrome tab page example
View manifest.json
{
"manifest_version" : 2,
"name": "Simple New Tab Extension",
"description": "Minimal search and links to frequent websites",
"version": "1.0.0",
"chrome_url_overrides" : {
"newtab": "newtab.html"
}
}
@nknauth
nknauth / arne-cnes-88.gpl
Created October 10, 2014 17:43
Arne's CNES-88 Palette, v8
View arne-cnes-88.gpl
GIMP Palette
#
# by Arne Niklas Jansson
# http://androidarts.com/
#
0 0 0 Untitled
0 23 125 Untitled
2 74 202 Untitled
0 132 255 Untitled
91 168 255 Untitled
View commentHeader.sublime-snippet
<snippet>
<content><![CDATA[
///////////////////////////////////////////////////////////////////////////////
// ${1:commentheader}
///////////////////////////////////////////////////////////////////////////////
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>///</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
View pinball-table.css
.skewed-tabletop {
-webkit-transform: perspective(600px) rotateX(35deg);
transform: perspective(600px) rotateX(35deg);
}
@nknauth
nknauth / dungeon-world-gm-sheet.md
Created October 26, 2012 21:11
Dungeon World GM Sheet
View dungeon-world-gm-sheet.md

GM Sheet

Agenda

  • Portray a fantastic world
  • Fill the characters' lives with adventure
  • Play to find out what happens

Principals

@nknauth
nknauth / dungeon-world-moves.md
Created October 15, 2012 21:12
Dungeon world moves
View dungeon-world-moves.md

Basic Moves

  • Hack and Slash (STR)
  • Volley (DEX)
  • Defy Danger (any)
  • Defend (CON)
  • Spout Lore (INT)
  • Discern Realities (WIS)
  • Parley (CHA)
  • Aid or Interfere (Bond)
@nknauth
nknauth / dungeon-world-plans-public.md
Created October 12, 2012 22:00
Dungeon World Session 1 plans (public)
View dungeon-world-plans-public.md

Dungeon World Session 1 plans

Goblins are defiling a sacred temple in the ancient forest. The party has been pressed into service by a dryad to whom they owed a favor. The goblins are mining crystals from the cavern beneath the tree.

Backstory: In the last war of the gods, Mirana, a fertility goddess, was struck by a near-fatal blow and fell from the heavens. She landed so hard, the ground was split and a giant crater was formed. As the war raged on above, Mirana was ignored and left for dead in the crater. Despite being unconscious, her divine powers continued to work to protect her. She formed a protective cocoon of crystal, where she stayed for a millennium until she recovered.

Alternate ending: she died, and the crystals are her coffin or corpse.

Either way, the crystals are highly potent magic. They must not be removed from the forest. Possible plot hook: if they're removed, the forest will die and the magical landscape will change (for the worse for the PCs).

View ycombinator-legibility.css
body {
background: #efefef;
color: #999 ;
font-family: helvetica, arial, sans-serif ;
font-size: 12pt ;
margin: 0 ;
padding: 0 ;
}
table {
View reset-and-typography.css
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,big,cite,code,del,em,img,ins,q,s,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,nav,section{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
html{height:100%;margin-bottom:1px;} /* always show scroll bar */
/* =GLOBAL ELEMENTS
--------------------------------------------------------------
Vertical Rhythm: 18px vertical grid
*/
body {
color:#222;
font-family:"Helvetica Neue",Helvetica,Arial,"Liberation Sans","FreeSans",sans-serif;
View simple-ga-pdf-tracking.js
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script>
$(function(){
$("a[href$='pdf']").click(function(){
pageTracker._trackPageview('/PDF/'+ $(this).attr('href'));
});
});
</script>