Category Archives: Configuration

OS and environment configuration tips for various platforms

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

  1. Open angular.json and find targets->build->configurations
  2. Add a new configuration after production. Name it serve.
    "configurations": {
      "production": {
      "serve": {
        "extractCss": true
  3. Change serve task to use the new config by changing targets->serve->options
    "options": {
      "browserTarget": "PROJECT_NAME:build:serve"
  4. Open package.json and update start scripts
    "scripts: {
        "start": "ng serve --source-map --vendor-source-map --ssl",
  5. Run your project with npm start. Inspect your markup. You’ll see dependencies SCSS using the source maps and showing correct paths.

Continue reading Working SCSS Sourcemaps with Angular 6

Better Looking Mac Terminal

Mac Terminal comes with several color schemes but non catches the eye like SMYCK. The pastel colors it comes with are easy on the eye and you’ll appreciate the theme the more you use it.

  • Download the theme ZIP archive.
  • Install it by running Smyck.terminal
  • Open TerminalPreferences from any Terminal window
  • Select Profiles tab and scroll to Smyck theme at the bottom.
  • Click on Default at the bottom. Close and reopen all terminal windows.

Continue reading Better Looking Mac Terminal

Replacing Command Prompt with Git Bash

Windows built in Command Prompt is ugly and dated. It also lacks proper Git integration. Git for Windows comes with a configured Git Bash you can use instead. Combine that with Mintty and you now have a full featured themeable terminal rivaling the built in Mac OS Terminal.

Git Bash

In the Git for Windows installer choose Use MinTTY when asked to configure the default emulator. This will allow you to apply a custom theme. In addition:

Adding predefined actions to Firefox 57 address bar

One of the first things I’ve noticed in Firefox 57 was the Pocket button in the address bar and the additional actions in the menu on the right. Then, while using Pocket I right clicked and selected Remove from Address Bar. Good, this removed Pocket from there but, ugh, how do I return it back? And what about placing other buttons will I use often like the new Take a Screenshot action?
Firefox Address Bar actions

Turns out there isn’t a way to configure the predefined actions through the UI or at least I didn’t find it. Good news is that since this is Firefox you can always use about:config and find the setting controlling those actions. The setting you need in this case is called browser.pageActions.persistedActions.
Continue reading Adding predefined actions to Firefox 57 address bar

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 GIST with the shortcuts is what I need and use. It might not be full or contain all the features you need. If you need more or other shortcuts  visit the Sublime Forum or see one of the following links.

If this is not enough then Google it or click the link – (now we both know how lazy you are).

How to fix sound/video problems in Ubuntu

For all of you out there struggling to fix their Ubuntu sound issues 🙂

  1. Fixing sound (microphone):

    sudo gedit /etc/modprobe.d/blacklist

  2. Fixing video driver (tpm error at startup)

    sudo gedit /etc/modprobe.d/blacklist

     Add the following lines:

    #trusted platform module
    blacklist tpm
    blacklist tpm_bios
    blacklist tpm_infineon
    blacklist tpm_tis

  3. Fixing output sound from headphones

    sudo gedit /etc/modprobe.d/alsa-base.conf

    Add these lines at end of file:

    options snd-hda-intel model=3stack enable=yes
    options snd-hda-intel model=auto position_fix=1 enable=yes

  4. Fixing SKYPE 2.2 video to work

    Run skype using this command (change links in menu)

    bash -c ‘LD_PRELOAD=/usr/lib/libv4l/ skype’