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
angular.json and find
- Add a new configuration after
production. Name it
serve task to use the new config by changing
package.json and update start scripts
"start": "ng serve --source-map --vendor-source-map --ssl",
- 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 →
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
- Open Terminal → Preferences 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 →
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.
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:
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?
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
Continue reading Adding predefined actions to Firefox 57 address bar →
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 – http://bit.ly/1f3wS0p (now we both know how lazy you are).
Open Firefox config with writing about:config in address bar.
Change these values:
- dom.ipc.plugins.enabled to false
- dom.ipc.plugins.timeoutSecs to -1
This will allow you to dismiss errors and debug under Firefox. Enjoy.
Link: Flash Builder 4 on Ubuntu
Nice. I’ll definitely try this 🙂
For all of you out there struggling to fix their Ubuntu sound issues 🙂
Fixing sound (microphone):
sudo gedit /etc/modprobe.d/blacklist
Fixing video driver (tpm error at startup)
sudo gedit /etc/modprobe.d/blacklist
Add the following lines:
#trusted platform module
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
Fixing SKYPE 2.2 video to work
Run skype using this command (change links in menu)
bash -c ‘LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype’