Author: Angel Vladov
-
Select 2 with Bootstrap 4
Twitter have changed variables names in Bootstrap 4 so the original SASS files that come with Select 2 bootstrap theme won’t work. Until there is a BS 4 compatible theme for Select 2 you can use the variables overrides below for your project.
-
Angular CLI serve and base href
Several months have passed since Angular 2 was released. Then came Angular CLI promising easier scaffolding and better integration. It’s still in beta and as expected there are things to improve. One thing that confused me was ng serve and the lack of <base href> support. It’s easy when using ng build with the -bh…
-
How to Customize Bootstrap – Dos and Don’ts
Twitter Bootstrap 3 is great for creating responsive websites. It comes with many components and features that are easy to use and has a great documentation. That’s not always enough. Sometimes you need additional JavaScript functionality or custom CSS. You might even want to add additional jQuery plugins. Sooner or later you’ll hit an issue…
-
Using createjs WebAudio with Phonegap (Cordova)
One of the things I hate about Phonegap (Cordova) is the audio support. Every time I worked on a project that required heavy audio usage not a single plugin worked fine Cordova Media plugin is good for recording audio but when you try to play multiple audio files it leaks into memory and the OS stops…
-
JSON vs XML
Many of you have probably wondered which format is better or which should be used. You might have even participated in a full blown nerd rage war on the matter. Both formats are good when you want to describe a hierarchical structure. Differences XML is a markup language and is good for documents description or…
-
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…
-
Eclipse Keybindings for Sublime Text 2
Ever wanted to use your Eclipse keybindings/shortcuts in Sublime Text 2? Are you too lazy to learn new shortcuts? (as I am) If the answer is yes then the following JSON is just for you: Open Sublime Text, goto Preferences -> Key Bindings-User and paste the JSON there. Enjoy the good old Eclipse shortcuts. The…
-
Applying CSS Styles Before Printing with AngularJS
In a world full of fancy shining jQuery plugins one can’t simply print. Often you’ll be using a grid JavaScript plugin or another heavy visualization component. One of the pitfalls you might experience with those components is that they don’t look nice when you try to print them. Sometimes this can’t be solved by with…
-
eRepublik Economy Helper
eRepublik Economy Helper is an addon script I’ve created for the browser game eRepublik. It’s purpose is to simplify the game economy and identify scammers on the black market. You can install the script from its UserScripts page – INSTALL Features list: Shows available products in your inventory on market page. Never again buy more…