Lazy (Deferred) Loading YouTube Videos in Jekyll Posts

A JavaScript for Easy Embedding Youtube Videos

I noticed that my Jekyll posts with YouTube videos open very slow. I checked pagespeed.web.dev and got 30/100 score for video-embedded posts. Using the script in this repository, I created a simple method that easily embeds YouTube videos into Jekyll posts. With this lazy-loading script, my posts get 71/100 score. It is easy to implement and use. [Read More]

Elevations of a Polygon - A Python Script

A Python script to generate mesh grid of a polygon and retrive elevation data from open-elevation.com

The purpose of this script is to generate a mesh grid within a Polygon. The coordinates of the mesh grid is then used to get elevation data from a public API: api.open-elevation.com. The script can be easly adjusted for other APIs. The output of the script are (1) the coordinates within the polygon and (2) elevations of the coordinates. Data can be used for various purposes. The script can be found in my repository: PolygonElevations. The script file is: PolygonElevations.py [Read More]