Posts

Some basic levels in Perimeter Protection

Image
  A basic home office setup with the following components can definitely offer a decent level of protection against Phishing.   A Chromium based Web Browser AVG Antivirus Cisco Umbrella OpenDNS   A sample URL picked up Phishtank to test the same.   Opera (Chromium based Browser) presents a recommendation not to visit the URL. (Override-able by the user)     TCP level protection by Web Shield component of AVG Antivirus (not override-able by the user without confirmation using administrative privileges) If a link escapes these two protection by any chance, Cisco Umbrella to have its sway (not override-able by the user without confirmation using administrative privileges)

JSON Standard for Resume

Innovations can never be stifled. And one innovation and its implementation always seeds another. We have been having our profiles (aka) Curriculum Vitae (aka) Resume in notepad text files a few years ago and then moved onto Word and PDF format files for rich presentation. Then came video profiles which were more commonly used by media personnel. Having seen a diverse set of formats to present the profiles the new trend now is an open standards for resume based on JSON You can find more details about it from here and can contribute your technical excellence and/or feedback here . A simple .JSON resume as a public gist at https://gist.github.com/ can be used as an input to the parser hosted by JSON resume which supports a lot of themes to publish as a profile website. For example this blogger has their JSON resume here .  

Switching SQL Server between Multi-User and Single User mode with a simple T-SQL

Recently had to manage database deployments where the SQL Server was hosted with a cloud solution provider of repute. The database was quite huge and hence during backup and restore had to switch the same to Single User mode. However the database was so huge that even after service refresh the right click properties on the database was not able to open because of resource contingency. Hence I chose to have this switch done through simple T-SQL which I would like to share the same here for everyone’s benefit. To Switch to Single User Mode: use master go alter database [YourDatabaseName] set single_user with rollback immediate   To Return Back to Normal/Multi-User Mode: use master go alter database [YourDatabaseName] set single_user with rollback immediate Additionally there is one more argument called WITH NOWAIT which could be used if needed

Installing Visual Studio Code on Linux

 As part of the LinuxMint journey described here , as part of setting up the development environment I chose to get Visual Studio Code on the system. There are two ways to install the same. One way is to grab the *.deb (Debian) package from Microsoft Visual Studio code website. Alternatively you can use the following from the command prompt wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/ sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'   rm -f packages.microsoft.gpg   sudo apt install apt-transport-https    sudo apt update   sudo apt install code # or code-insiders

Installing Opera with Linux

 As part of starting the LinuxMint journey, the first software I got it on the computer was Opera . However installing Opera is not straight-forward because the package is not configured out of the box from the Linux distribution. There are two ways to install the same. 1) Download the *.deb (Debian) package from Opera and install the same. Alternatively follow these instructions on command prompt for the same.     sudo sh -c 'echo "deb http://deb.opera.com/opera/ stable non-free" >> /etc/apt/sources.list.d/opera.list'     sudo sh -c 'wget -O - http://deb.opera.com/archive.key | apt-key add -'     sudo apt-get update     sudo apt-get install opera-stable

A Gentle Journey with Linux Mint

Image
 Had a few assignments to complete through Linux platform and hence chose LinuxMint this time. The code name for 20.x version is #Uma (a sweet Indian name) If I recall my first date with Linux Mint it was exactly 10 years ago (2011) but due to a lot of personal turbulence the exploration got totally and abruptly stopped and forgotten. And interestingly and with divine bless there is a reunion now.

Overcoming Windows Block limitation of Downloaded Files

Image
The biggest trouble at times with Microsoft Windows is that after downloading a file it blocks you from opening the same citing unavailability of its listing in Microsoft Store Screenshot below     Fortunately there is an easy way to address this situation. Locate the file where you have downloaded the same and navigate to properties. There will be a new checkbox called Unblock. Just select the same and click Apply/OK.   This tip is to overcome the limitation imposed by Microsoft Windows. However to make sure your computer is not inadvertently exposed to security risks, make sure there is a full fledged antivirus running in realtime to monitor all file activities.    

Soft way to peek into the other branch in GIT

 At times we may need to have a softer way to peek into the other branch of GIT particularly when trying to resolve Merge Conflicts with Azure DevOps because the latter does not have a friendly GUI for the same in its web-based Pull Request. The following quick GIT commandline would help in here handy: git pull --no-rebase origin   <desired branch name to pull from>

Bringing Comfort to Blogging

Image
Next time you are choosing to blog WYSIWYG at the comfort of offline tool from your home, the disappearance of Windows Live Writer and similar set of tools should not disappoint you. I recently came across a Windows Live Writer look alike called Open Live Writer which is similar in power and potential like Windows Live Writer.