Running Strapi on AWS Elastic Beanstalk

Technical, Javascript, 328 words  

Strapi is a NodeJS based open source CMS. At present it is in active development and in alpha and probably not something you would run in production. Having been experimenting with this, whilst there are articles documenting docker setups, Elastic beanstalk was something I was really familiar with and would usually beable to setup a CI pipeline to Elastic beanstalk in a few mins so I went down this rabbit hole...

Read more »

Yet another free Geocoder

Technical, Javascript, 110 words  

Thanks to Google Maps API, I was able to write up a geocoder in a couple of minutes without even realising that there was already a whole bunch of paid and free web sites that already do this.

Oh well, another one to add to the long list.

My geocode converter allows the user to enter a list of addresses and get it converted to its corresponding Latitude and Longitude with on click. The resulting list of Latitude and Longitude coordinates is comma separated so you can just open it with MS Excel or just copy and paste it into Excel.

You can use it by visiting my Geocoder page.

Scrolling overflowed DOM elements

Javascript, AJAX, 59 words  

Because when an overflowed DOM element is first created, it always starts scrolling from the top.
However, you can scroll down an overflowed DOM element such as a Div by setting the scroll.

The follow sample is written in jQuery


$("#bigDiv").scrollTop($("#bigDiv")[0].scrollHeight - $("#bigDiv").height());

Where
$("#bigDiv")[0].scrollHeight is the full overflowed height of the content.
$("#bigDiv").height() is the height of the container.

::

April 2024
Mon Tue Wed Thu Fri Sat Sun
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
 << <   > >>
Brinley Ang

Brinley Ang is a software engineer, sysadmin, coder, geek boy, jedi knight fragger, caffine addict, deaf meloncholic and rockstar wannabe. Listens to the sex pistols and a wide assortment of heavy metal.

Make payments with PayPal - it's fast, free and secure!
Search
home | portfolio | blog | links | contact
© 2024 - Brinley Ang
Valid xhtml