Open in app
Home
Notifications
Lists
Stories

Write
Jonathan Turnock
Jonathan Turnock

Home

Oct 26, 2020

Logging Express Request & Response Content

Express Request & Response Logging | Jonathan Turnock While Logging the Request object in Express is amazingly easy, doing so with the response is not quite as straight…jonathanturnock.github.io While Logging the Request object in Express is amazingly easy, doing so with the response is not quite as straight forwards. We need to utilize a couple of tricks and some patching to get things working smoothly and get all the information we are sending back to the client.

Java Script

3 min read


Oct 22, 2020

Express & GraphQL with Typescript in 3 steps

In this post were going to bootstrap an Express application, bung on typescript and get GraphQL up and running in no time at all. 🚀 All the code discussed and given as examples is available in the repo and I encourage you to checkout the article tag for a nice…

Graph QL

6 min read

Express & GraphQL with Typescript in 3 steps
Express & GraphQL with Typescript in 3 steps

Mar 19, 2020

Using Linux GUI Apps in Windows WSL

I recently came across a little known feature of Windows WSL. The ability to launch GUI apps! I’ve started doing much more of my environment management in WSL rather than Windows recently, excellent tools from Jetbrains and VSCode make coding in this environment a doddle. While installing some packages I…

Wsl

2 min read

Using Linux GUI Apps in Windows WSL
Using Linux GUI Apps in Windows WSL

Feb 1, 2020

Spring Boot & Docker for Busy Developers

Introduction It’s entirely possible to get your Spring Boot application up and running in docker in less than 10 minutes. Let’s run through this process first in theory, then in practice. …

Docker

5 min read

Spring Boot & Docker for Busy Developers
Spring Boot & Docker for Busy Developers

Dec 22, 2019

Automate Web Scraping and Testing with Python | Selenium Recipies

1. Introduction Many automation libraries exist for python which help scrape sites and perform testing. Projects like Roboform, BeautifulSoup and requests all provide excellent features. One slightly lesser known name to Python projects is Selenium. It’s an industry accepted automation and testing framework for UI’s. …

Java Script

4 min read

Selenium Recipes with Python - Automate Web scraping to testing
Selenium Recipes with Python - Automate Web scraping to testing

Sep 2, 2019

Spring Boot & Angular CRUD- Part 2: Setting up a development environment

Getting a Deployable Artifact Picking up from where we left on in the previous guide, we are going to start to look into how we can work with our project and its files. You should now be able to go ahead and trigger a Gradle build at the root of the project. ./gradlew build …

Angular

4 min read

Spring Boot & Angular CRUD- Part 2: Setting up a development environment
Spring Boot & Angular CRUD- Part 2: Setting up a development environment

Aug 31, 2019

What Does if __name__ == “__main__”: do; Python’s __main__ Scope

If you have spent any amount of time with the Python programming language, you might have come across the main scope conditional. It looks something like this: if __name__ == "__main__": ... What this method does is perfectly summarised in the Python Docs for the standard library: A module can…

Python

4 min read

What Does if __name__ == “__main__”: do; Python’s __main__ Scope
What Does if __name__ == “__main__”: do; Python’s __main__ Scope

Aug 27, 2019

Pythons Ternary Operator, the Conditional Expression with Examples

Python is full of extremely powerful functional programming expressions. Across all programming languages, one of the most commonly used of these is the ternary operator. We might recognize this operator from other languages as: (condition) ? (return if true) : (return if false) In comparison to most programming languages, Python…

Programming

2 min read

Pythons Ternary Operator, the Conditional Expression with Examples
Pythons Ternary Operator, the Conditional Expression with Examples

Aug 22, 2019

Spring Cross Origin Resource Sharing (CORS) passage with JS frameworks Angular, React, Vue.js etc

CORS is for security, ok, but why? I don’t intend on making a long deep dive into CORS during this short blog. But we should know the fundamentals. CORS is an access control mechanism. It’s designed to prevent unauthorised access to an API. It uses HTTP headers to manage this ACL. It uses Pre-flight requests when queries…

Java Script

3 min read

Spring Cross Origin Resource Sharing (CORS) passage with JS frameworks
Spring Cross Origin Resource Sharing (CORS) passage with JS frameworks

Aug 14, 2019

Compress your component view in Angular with IntelliJ File Nesting

Compress your component view in Angular with IntelliJ File Nesting A nifty feature of the Jetbrains IDE tools is the file nesting. You may have seen on occasion that the IDE will…fxqlabs.net A nifty feature of the Jetbrains IDE tools is the file nesting. You may have seen on occasion that the IDE will compress files of the same name into a tree with the parent at the top and the children below. Say for example when js is minified the .min.js…

Java Script

2 min read

Compress your component view in Angular with IntelliJ File Nesting
Compress your component view in Angular with IntelliJ File Nesting
Jonathan Turnock

Jonathan Turnock

Senior Fullstack Software Engineer at Booking.com transport

Following
  • Harry Martland

    Harry Martland

  • Sam Fare

    Sam Fare

  • Andy Winton

    Andy Winton

  • Mike Brits

    Mike Brits

  • Señor Lewis

    Señor Lewis

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable