Category: Scripting
-
Working SCSS Sourcemaps with Angular 6
If you are an Angular developer, you’ve probably noticed that since Angular 2+ they break with almost every release. After wasting many hours in futile attempts to fix them and going through numerous report on Angular GitHub page I finally got to a setup that works. Fixing dependencies (vendor) sourcemaps Open angular.json and find targets->build->configurations…
-
How to read an HTML page with UTF8 encoding using PowerShell
Yesterday I was working on a project that requires heavy HTML pages content scraping. What I wrote were several PowerShell files which were scraping the content using Invoke-WebRequest and Invoke-RestMethod. And everything was great and smooth… until I got to an HTML page with some Greek letters inside. To my surprise both PowerShell built in…
-
Reusing page jQuery in a Greasemonkey script
Many times I’ve used a RIA or a website and wanted it to behave differently or have an additional functionality that I need. Thanks to Greasemonkey this is possible. We live in a jQueritifed world where most of the web pages use jQuery. That’s why on of the things that I need to do most…