HNHacker News
TopNewBestAskShowJobs

hesslau_

7 karma · joined January 31, 2014

submissionscomments
hesslau_··on iTerm2 Shell Integration
I'd love to use a terminal with similar features on linux
hesslau_··on I fantasise about Scala when having my everyday sex with PHP
I can definetely relate. I found myself spending time in the morning coding some JS project using scala-js [1] to get a daily dose of sexy elegancy before turning to rather ugly PHP tasks.

[1] http://www.scala-js.org/

hesslau_··on Dragdis – Drag and drop anything anywhere
> Even more awesome : integration with trello.

great idea! i'm putting this on my weekend-projects list

hesslau_··on The complete guide to centering a div
My favourite technique: position absolute and top: 0 bottom: 0 left: 0 right: 0

also doesn't require a fixed width http://codepen.io/anon/pen/vsliJ

hesslau_··on Nightwatch.js
Offtopic:

the line

> .waitForElementVisible("button[name=btnG]", 1000)

in the demo test caught my attention - what is a good way to achieve this in production code? i.e. execute a function when a certain element which matches the query becomes visible?

atm i'm using the DOMNodeInserted event (debounced)

> $(document).on('DOMNodeInserted', _.debounce(function(e, ui) {}, 100);