Skip to content

Instantly share code, notes, and snippets.

@afknapping
afknapping / re css modules.md
Created March 13, 2016 14:12
re css modules

only gripes i have is comparing sass partials to "Self-contained files".

you can totally do self-contained files in sass. partials explicitly sport the underscore in front to communicate that they are not self-contained and either have dependencies ore are a dependency for other files.

import all needed dependencies in every partial, lose the underscore in front and et voila :)

@afknapping
afknapping / Maybe it's time to build our own bar.md
Last active March 10, 2016 08:19
Maybe it's time to build our own bar

image

The Long Slow Death of Twitter

Maybe it's time to build our own bar

A safe space without shouting, fighting, harassing or advertising.

A place focused on people, conversations and sharing.

@afknapping
afknapping / README.md
Last active February 14, 2016 09:06
Custom Pen Shaft of Molotow 111EM

Custom Pen Shaft for Molotow 111EM

The Problem

  • Molotow produces are great, Lego-like System of Pens
  • The pens have a screw threat on one end which allows them to be custom filled
  • I want to have a Pen shaft with two screw threats – one on each end
  • I imagine this to be a case for 3D-printing but have zero experience myself and currently no time at all to get into it

687474703a2f2f73686f702e6d6f6c6f746f772e636f6d2f6f75742f70696374757265732f7a312f3131313030305f7a312e6a7067

@afknapping
afknapping / UX from Scratch.md
Last active February 12, 2016 16:16
[talk proposal] UX from Scratch

UX from Scratch

Visual and UX Designers are expected to have basic knowledge about HTML, CSS and Javascript. Isn’t it time to expect a basic User Experience and Design knowledge from Developers, Product Owners and Project Managers?

Because unless we have a shared understanding of UX goals, constraints and opportunities, we will continue to be disappointed by our own false expectations.

And unless we speak a common language, misunderstandings, waste and frustration are built right into our daily workflows.

And unless we work to together across roles and teams, we will not deliver the best UI to our user’s browsers.

@afknapping
afknapping / Homo homini lupus est.md
Last active November 14, 2015 21:30
Homo homini lupus est

Homo homini lupus est

What we really fear is not bombs.

Families are losing their children in our names everyday – we don’t give a shit. As long as we can choose from endless shelves of breakfast cereals in the grocery store, all is well.

No, I think what we really fear is the IS’ intolerance for corruption. These people are willing to die for their ideals (however twisted those may be). Can you say that about yourself? In your whole life, have you ever met a single person who could say that for themselves?

No, we shrug everything off, pressing out an antsy laugh, “everyone has their price”, “sooorryyyy, gotta pay the rent, dude”, "well, whatcha gonna do, right?"

@afknapping
afknapping / appcacheTimestampComment.js
Last active October 26, 2015 10:54
appcache versioning
// appcacheTimestampComment.js
// script for appcache versioning
// appcache needs an update to the manifest file to allow the browser to check for updated content.
// see [Application Cache is a Douchebag](http://alistapart.com/article/application-cache-is-a-douchebag)
// This script adds a build timestamp to a file that looks like this
//
// # built: Mon Oct 26 2015 10:42:24 GMT+0100 (CET)
@afknapping
afknapping / SassMeister-input-HTML.html
Created August 18, 2015 03:16
Generated by SassMeister.com.
<div class="swatch swatch01">example text</div>
<div class="swatch swatch02">example text</div>
@afknapping
afknapping / gist:b6b4e9e2bb6fbbdc3e9f
Last active August 29, 2015 14:23
Known local dev install notes

Known local dev enviroment

  • open a textdoc to make notes

  • Clone the Known repo git clone git@github.com:idno/Known.git

Setting up the local server

Download MAMP at mamp.info

@afknapping
afknapping / SassMeister-input-HTML.haml
Created May 14, 2015 19:13
Generated by SassMeister.com.
%h3 floatblock
.floatblock
// -(1..21).each do |i|
.floatelement
.floatcontent 1 Cupcake ipsum dolor. Sit amet I love bonbon* bear claw tootsie roll jelly.* Cupcake ipsum dolor. Sit amet I love bonbon* bear claw tootsie roll jelly.* Cupcake ipsum dolor. Sit amet I love bonbon* bear claw tootsie roll jelly.* Cupcake ipsum dolor. Sit amet I love bonbon* bear claw tootsie roll jelly.* Cupcake ipsum dolor. Sit amet I love bonbon* bear claw tootsie roll jelly.*
.floatelement
.floatcontent 2 Cupcake ipsum dolor. Sit amet I love bonbon* bear claw tootsie roll jelly.* Cupcake ipsum dolor. Sit amet I love bonbon* bear claw tootsie roll jelly.*
.floatelement
.floatcontent 3 Cupcake ipsum dolor. Sit amet I love bonbon* bear claw tootsie roll jelly.* Cupcake ipsum dolor. Sit amet I love bonbon* bear claw tootsie roll jelly.* Cupcake ipsum dolor. Sit amet I love bonbon* bear claw tootsie roll jelly.*
.floatelement
@afknapping
afknapping / SassMeister-input-HTML.jade
Created May 14, 2015 08:51
Generated by SassMeister.com.
.block
-(1..6).each do |i|
.element #{i}
| hello world