Author Archives: lysender

Introducing Price Stalker – PSE stock price alerting

So I have this pet project that allows you to track stock price movements from PSE. Price Stalker’s primary focus is to deliver notifications/alerts about stock price movement of your favorite stocks at the Philippine Stocks Exchange through email or … Continue reading

Posted in Investments | Leave a comment

Finally found a task scheduler/cron for Rails

I have been working with a cron-like task scheduler in the past and among the very few options, we choose crono. It works because it allows us to run tasks at 10-second interval and as well as the regular daily/hourly/weekly … Continue reading

Posted in Cron, Rails, Ruby, Web Development | Tagged , , , | Leave a comment

Docker Compose down does not remove volumes

I was trying to fix a deployment issue on one of my Docker setup where source code is being pulled periodically from master branch inside a volume, however, I ended up having the same outdated branch over and over again. … Continue reading

Posted in Web Development | Tagged , | Leave a comment

Angular 6 – Cannot resolve crypto, fs, net, path, stream when building Angular

My current setup is Angular 6.1.0 with Angular Universal too but the project is based on an old (dead) project which was built on Angular 5. Upon building the server side assets, the builder throws a lot of error saying … Continue reading

Posted in Angular | Tagged , | Leave a comment

Angular 6.x – 404 page with correct header using Angular Universal

Based on my previous post about adding a 404 page in Angular 4.x, I have added a tweak to return the correct 404 status code header. This process, however, requires the Angular Universal integration. This post assumes that you already … Continue reading

Posted in Angular, Web Development | Tagged , , | 1 Comment

Angular 6 – Add scroll to top when route changes

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, the next page will show the content near the bottom … Continue reading

Posted in Angular, Web Development | Tagged , | Leave a comment

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 features were added and works best when used in Angular … Continue reading

Posted in Angular, SEO, Web Development | Tagged | Leave a comment

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 users. In our case, we needed a textarea instead and … Continue reading

Posted in JavaScript, Web Development | Tagged , | Leave a comment

My First Month in Stock Market

I started my first two weeks in stock market with so much hype, then I bought more that bring stress and sold and bought again bringing frustrations. However, there is no failure as I’ve learn so much from this experience. … Continue reading

Posted in Investments, Personal Blog | Tagged | Leave a comment

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 I used the pm2 tool to manage the server process. … Continue reading

Posted in Angular, NodeJS, Web Development | Tagged , , | Leave a comment