Skip to content

Instantly share code, notes, and snippets.

@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
@afknapping
afknapping / SassMeister-input-HTML.haml
Created May 14, 2015 08:42
Generated by SassMeister.com.
.block
-(1..6).each do |i|
.element #{i}
@afknapping
afknapping / gist:7fbc0229a8c7b67fde88
Last active August 29, 2015 14:21
Basic dev enviroment and tooling for designers on OS X
@afknapping
afknapping / gist:d4df26210d78769ecfe2
Last active August 29, 2015 14:20
child care at community events

child care at community events

  • finding a nanny, recommended pay
    • make clear how many spots for what ages
  • location
    • (conference) room with nearby toilets
    • nearby kita/kiga
  • toys etc
  • general introduction to child safety
  • Legal/liability/insurance stuff. doing it "official" vs doing it "private"

React...

  • is technology which was innovative 5 years ago
  • is obsolete today because [web components] started to ship in major browsers
  • solves problems nobody except facbook has ('serving highly dynamic content to billions of people')
  • under constraints most web apps don't have ('legacy browser support matrix')
  • assuming resources nobody of us have (last facebook dev count i remember was ~2k)
  • doesn't have CSS scoping (about which you don't care, because CSS is "the designer's problem", right?)
  • introduces its own file format (wtf, just use two different standard file formats like the rest of us)
  • hard-couples controller and view (what could possibly go wrong, right?)
@afknapping
afknapping / gist:52ce380f756bd8d1d4b2
Created April 10, 2015 08:32
CouchDB.app OS X – how does it stop?
  • downloaded the OS X app
  • it started and opened a browser tab with the Futon UI
  • had no idea how to stop it:
    • CouchDB.app didn't give any feedback when opening again
    • didn't find anything related in the doc links
    • $ couchdb -s replied "Apache CouchDB is not running."
    • $ couchdb replied:
      Apache CouchDB 1.6.1 (LogLevel=info) is starting.
      

Failure to start Mochiweb: eaddrinuse

@afknapping
afknapping / gist:c762f55f39d8f8b73577
Last active August 29, 2015 14:18
CouchDB.app OS X – how does it stop?
  • downloaded the OS X app
  • it started and opened a browser tab with the Futon UI
  • had no idea how to stop it:
    • CouchDB.app didn't give any feedback when opening again
    • didn't find anything related in the doc links
    • $ couchdb -s replied "Apache CouchDB is not running."
    • $ couchdb replied:
      Apache CouchDB 1.6.1 (LogLevel=info) is starting.
      

Failure to start Mochiweb: eaddrinuse

@afknapping
afknapping / gist:c675f5bd3cec571f1afe
Created April 10, 2015 08:24
CouchDB.app OS X – how does it stop?
- downloaded the OS X app
- it started and opened a browser tab with the Futon UI
- had no idea how to stop it:
- CouchDB.app didn't give any feedback when opening again
- didn't find anything related in the doc links
- `$ couchdb -s` replied "Apache CouchDB is not running."
- `$ couchdb` replied:
```
Apache CouchDB 1.6.1 (LogLevel=info) is starting.
Failure to start Mochiweb: eaddrinuse

How to make the blue shapes in Keynote go away

Create a standard shape

image

The styles are not just on the object but also in the Shape Stye on the upper left of the style panel

image

Style your new defaults on the example shape

@afknapping
afknapping / gist:b591591c2eef694f75c3
Created August 26, 2014 10:44
decks/new console
Error: [$injector:unpr] Unknown provider: tProvider <- t <- initFromFormDirective
http://errors.angularjs.org/1.3.0-beta.13/$injector/unpr?p0=tProvider%20%3C-%20t%20%3C-%20initFromFormDirective
at http://slidr.io/assets/application-990ff6f4690b960587bd83aa24c12279.js:7:8904
at http://slidr.io/assets/application-990ff6f4690b960587bd83aa24c12279.js:7:25744
at Object.i [as get] (http://slidr.io/assets/application-990ff6f4690b960587bd83aa24c12279.js:7:24956)
at http://slidr.io/assets/application-990ff6f4690b960587bd83aa24c12279.js:7:25841
at i (http://slidr.io/assets/application-990ff6f4690b960587bd83aa24c12279.js:7:24956)
at Object.r [as invoke] (http://slidr.io/assets/application-990ff6f4690b960587bd83aa24c12279.js:7:25280)
at http://slidr.io/assets/application-990ff6f4690b960587bd83aa24c12279.js:7:29941
at Array.forEach (native)