Snippet Archives - Christopher Sax, BSc - Psychology & Web Development
Skip to content

Christopher Sax, BSc

Mixing Psychology with Web Development

  • Home
  • About me
  • CV
  • Newest Project: lagorial.com
  • Contact
Christopher Sax, BSc – Psychology & Web Development

Tag: Snippet

NightwatchJS – re-perform a client.execute() function on fail

Posted on March 19, 2017June 16, 2017 Christopher SaxLeave a commentPosted in Web Development

A snippet to perform a certain action again, if it fails In my current job, I also write NightwatchJS tests in order to automatically run tests for a software. During development, our team realized that sometimes you cannot know whether or not an event handler has already attached to a certain dynamically created DOM object […]

Adding Helpers in Laravel 5 – Don’t glob, Don’t Change Core Files

Posted on August 10, 2016September 20, 2016 Christopher SaxLeave a commentPosted in Web Development

When searching for the right way to add a simple Helper class in Laravel 5, I’ve come across several suboptimal solutions. Some advice to create a folder and then glob() all files and incrementally require or include them. There is an easy way and you don’t have to rewrite any code. In your app/ folder, create […]

Christopher Sax | Wiener Straße 11 | 3874 Litschau | Austria | Imprint