A grid to show how the various abstractions in the Django Rest Framework (DRF) fit together to create an API. read full post…
Examples of how to use await at the top-level in the Node repl and JavaScript web console. read full post…
An example of how to safely inline JSON within a script in a Jekyll template to avoid XSS attacks and to allow access to that data in your own JavaScript. read full post…
A very short example of how to pass a function into setState in React. read full post…
A convenience function for writing mixed color and/or font-style text using the HTML5 canvas, which is made possible by the ctx.measureText method. read full post…

Peter Coles

Peter Coles

is a software engineer who lives in NYC who is working on Superset and also GoFullPagemore »

github · soundcloud · @lethys · rss