Since Angular apps are SPAs, the page does not reload when navigating through the application/website. If you happen to scroll to the bottom of the page and clicked a link, […]
Category: Web Development
From XHTML to CSS to PHP and everything from web security and usability etc.
Setting Title Tag for Angular Applications
Due to the nature of Angular apps being SPAs (single page application), historically, changing title tag or meta tags are not supported by default. However, due to SEO reasons, these […]
Sweet Alert – Using Textarea as Content
We used Sweet Alert JavaScript plugin as a beautiful replacement for JavaScript alert and confirmation popups. It supports showing input box too which is good when asking for feedback from […]
Angular 6 – Configure Angular Universal with pm2
Angular Universal allows Angular apps to be run in both the server and in the browser. Before, I used the plain Express server to serve the static Angular application and […]
jQuery Steps plugin broken on Safari 11 when content has the $ character
We are using an old plugin called jQuery Steps in one of our important page. We received reports that the page is not working on a Mac High Sierra using […]
RubyMine 2018 theme is too flat, how to bring back the old theme?
So if you just installed the latest RubyMine for 2018 and installed the Material UI plugin, the whole RubyMine interface will use the Material design for the UI which means, […]
Inserting page breaks for printing or PDF via HTML
So we have a web invoice which is also converted into PDF. When line items section becomes too tall (so many items), the generated PDF from HTML (via wkhtmltopdf) breaks […]
HTML to PDF – Using custom web fonts
We currently have a working HTML to PDF converter in our project usually used to generate PDF invoices. However, a new requirement requires using a font not usually found on […]
Rails 5 – Self Join belongs_to – entity must exist error
Wow, this is my first post for Ruby on Rails and Ruby in general! So what I’m trying to do is very simple: create a self join relationship for the […]