den 18 augusti 2017 av Dennie
Chrome developer tools has a great deal of features. And every new developer I met has almost shown me a new one. Here's a couple of our favorite features.
A simple script to verify that a site and all the internal links returns nothing else than 200 ok. Best placed on a build server with an "exit 1" on fail, to break the build.
It’s not that unusual to have one computer for work and one for private coding, but changing one thing on one machine and then have to repeat that step on another ain't going to happen. And in particular, some of the paths on the different machines differ which makes the problem a bit more fun to de…
Multiple if-statements with null checks which returns a formatted result is quite common and I often write that kind of code myself. Imagine we add a zip code and a country (yes, I know, returning only the zip code wouldn't be that great. But you get the point, right? just keep imagine) and the cod…