Profile cover photo
Profile photo
Useful Angle
1 follower -
Code snippets, tutorials and useful angles on web & development
Code snippets, tutorials and useful angles on web & development

1 follower
About
Communities and Collections
Posts

Post has attachment
Converting a PDF to JPEG / PNG with #Javascript
Add a comment...

Post has attachment
Opening a password protected PDF with #Javascript using PDF.JS library
Add a comment...

Post has attachment
Sometimes it is required to execute a PHP script at a given time, only once. Instead of using a cron job, schedule it through Linux "at" command.
Add a comment...

Post has attachment
PDF.JS Tutorial 1 - Learn how to display PDF in your application during upload with next / prev buttons to browse its pages. Tutorial comes with a demo.
Add a comment...

Post has attachment
HTML5 Canvas Tutorial - How to Draw a Graphical Co-ordinate System with Grids and Axes
Add a comment...

Post has attachment
There are situations where we have to invert the Y-axis of the canvas element. However then text or images added there become inverted too. The tutorial tells you how to solve this problem.
Add a comment...

Post has attachment
Drawing a 1px smooth wide straight line on the canvas element is not as direct as it should be. A 0.5px adjustment has to be made so that pixel boundaries of the canvas matches with the actual boundaries of the screen.

#javascript #html5
Add a comment...

Post has attachment
Template literals is the ES6 way of writing multi-line strings.

But surprisingly the performance of template literals is almost the same as the string concatenation (+) operator
Add a comment...

Post has attachment
What will setTmeout with a 0ms delay do ? The answer lies in Javascript's event loop.

It is a 26 min long video, but a very insightful one !
Add a comment...

Post has attachment
Understanding ECMAScript 6 is free to be read online ! Written by Nicholas Zakas, it is one of the best references for ES6
Add a comment...
Wait while more posts are being loaded