Nov 23, 2019 | C#
Dynamic and object data types in C# are very similar to one another that the C# compiler converts all dynamic variables into object datatype. That’s right, the dynamic type only exists during compilation. So, how are they different from one another?
The all-new Windows terminal is great. It has a lot of customization options, it utilizes the GPU(finally), and is more modern looking. Here are some productivity tips to get the most out of the new terminal. 1. Set default profile Windows terminal supports many profiles.
Nov 11, 2019 | Nuget
Unlisting a NuGet package means that the package will no longer show up in search result. You can unlist packages you have deprecated, or packages that are work in progress, etc… To unlist a package, Go to NuGet website, click on your account menu and click on manage packages.
Sep 30, 2019 | Nuget
NuGet recently announced that it is adding support for package deprecation. This was a much needed feature. Here is the guide to deprecating packages on NuGet. Steps to deprecate Go to Manage Packages page in NuGet website. Select your package and click the edit icon.
Sep 26, 2019 | C#
Sometimes you might have to create a variable in C# code that you will not use, like that out parameter that you don’t need. It would be nice if you don’t have to declare a variable just for the sake of it.
When we are starting to write HTML it is common that we use the div tag a lot more often. Containers, sections, footers, sidebars, headers, etc… are all wrapped up into a div. While there is nothing functionally wrong with this, it does not add any schematic meaning.
Mar 13, 2019 | Best Practices
Refactoring a code refers to the process of altering the code without changing its functionality. Usually, it is done to reduce technical debt or to standardize our code. Sometimes code refactoring is viewed as a separate task that is done in a scheduled manner.
Mar 12, 2019 | SEO
Images are a huge part of a website which consumes a large chunk of bandwidth for a site. Larger images can significantly slow down a site. Hence optimizing image is a key part in site speed up. Image optimization is not just about compressing images.
I recently created a list of all my user accounts online by digging through all my old emails for the purposes of moving towards a password manager. I was surprised at the length of the list. The list included many accounts ranging from my social media accounts to the profiles associated with a software / service I used a long time ago.
Dec 28, 2018 | C#
All the three above mentioned codes have the same value in C sharp, the value of an empty string. What is the difference between them and what must be used? Let us discuss These values are identical such that a comparison of them will return true.
Microsoft recently announced that they are going to replace their browser’s rendering engine with Open Source Chromium engine. This news has received some mixed reaction. But there is a lot of good news and here are some of it. Better built-in browser One thing we all can agree is that Chromium is a well tested code and it renders websites better than Edge.
I attended an event of website performance organized LinkedIn, India conducted on 06, October 2018. It was an extremely useful event and I would like to share some key things that I learned. 1. Analyse and record everything The first thing is to record all details as much as possible.
Aug 10, 2018 | C#
There are two ways to create a immutable variables in c#. One is by using static read-only functionality and the other is by using constants. Today we are going to see which approach is better. The main difference between the two is that the static read-only variables are initialized in a constructor while constants are hardcoded by the compiler.
Aug 7, 2018 | SQL
All over the internet when someone asks about using NOLOCK they are flooded with responses that say not to use it, never to use it, etc… But NOLOCK is not as bad as it is made to be. It is infact really good when used under right circumstances.
Below are some of the best practices / code conventions for writing SQL stored procedures. 1. One function per stored procedure Always make sure that a stored procedure does only one task. If you are having a stored procedure doing multiple tasks split them.
Why use Web.config instead of say database? There are some advantages for storing data in web.config files. There are some things for instance database connection string that cannot be stored in a database. Storing data inside the code as Constants or Enums mean that it will be difficult to change it for various environments.
Feb 9, 2016 | Ubuntu
Have you ever felt the need to change the orange boot screen on Ubuntu. You may want to add some personal touch to it’s looks. It is easy to customize it. Here are few steps on How to change your boot screen through terminal.
Jan 24, 2016 | Droid4X
Here is how you switch to root access mode in Droid4X Open the File Manager in Droid4X. Click “Settings” button at the top right corner. Screenshot 1 Click “General settings” Screenshot 2 Click “Access mode”.
Apr 5, 2015 | Droid4X
For the users of Droid4X, here is how you can move/copy files from Droid4X to Windows or vice versa. To be honest moving files in and out of Droid4X was much easier than any other android emulators I have used.
Yes, using VLC player with increased volume can damage your normal laptop speakers. But it doesn’t usually happen. VLC player has the capability of amplifying the sound level twice the normal sound level other media players can produce. If you play your media files in VLC player at maximum volume level of 200% then there is a possibility that your laptop speakers may not handle the sound amplification produced by VLC.