So you’re / you’ve-been using Python in Windows. You know your way around setting up PATH variable so that you type “python” in your command prompt and it works. Now, say that you want to use Anaconda Python in bash. Let’s go one step further and say, you want to use the bash from yourContinue reading “Windows: configure VS Code integrated bash shell for Anaconda”
Create/Update dictionary form list
There is a straight forward way to update an existing or empty dict from given a list of keys. Below is the code showing how to do it.
How to deal with spammers?
So it finally happened. You went to a conference for your employer or visited a webinar or a website … somehow, you willingly and consciously shared your email address and/or phone – because they require you to “check-in.” Fast forward three months, and now you are getting phone calls after phone calls from their marketingContinue reading “How to deal with spammers?”
Restarting ALSA Audio
Follow these steps: sudo /etc/init.d/alsa-utils stop sudo alsa force-reload sudo /etc/init.d/alsa-utils start When I was running openSUSE 11.1 in previous decade, sometimes the ALSA sound diver throws an error while playing some video with VLC media player. The solution was, just to restart the ALSA sound driver by running the following command as super-user: /etc/init.d/alsasoundContinue reading “Restarting ALSA Audio”
Virtual Box boot from USB
You may want to do this for a number of reasons, you may have a bootable USB thumb-drive / USB flash drive / USB stick (whatever you call it) containing Live CD, installation image etc. before you actually use it on your computer, or may be you don’t want to use that bootable USB onContinue reading “Virtual Box boot from USB”
Best VS Code ext & themes
Extensions: Code Outline vscode-reveal GitLens — Git supercharged Themes: I am generally High Contrast kind of guy, who prefers the same for OS theme as well (just me) … but I might be a little bit inclined towards dark themes: High Contrast Quiet Light Solarized Light Dark+ (Default Dark) Phœnix Dark GitHub Plus Theme LinuxContinue reading “Best VS Code ext & themes”
Ubuntu: deploy .NET Core app
There already are many articles which talk about how to set up your development environment for .NET Core but this post starts, where they end. It’s about getting production ready.
[4/4] Docker: Front-end development w/ Java, SpringBoot MVC & RESTful Web API
Today we are going to talk about adding front end user interface to our application, from scratch. We can add the front end to our application using something called view resolvers. Our options are Apache Tiles, JavaServer Pages (JSP), etc. there are many other options, as well. Spring Boot supports FreeMarker templates, Groovy Templates andContinue reading “[4/4] Docker: Front-end development w/ Java, SpringBoot MVC & RESTful Web API”