Editing hosts file using cmd

Hey Guys, I started working with a new organization and they had very strict policies when it comes to system Security. Only 'cmd' or 'powershell' can be executed with elevated rights. My problem: I need to modify my hosts file which requires admin privileges. Solution: Start Powershell with elevated rights and type below Commands: PS C:\> $newProc = new-object System.Diagnostics.ProcessStartInfo "notepad"         PS C:\> $newProc.Arguments = "notepad.exe"                                                               PS C:\> $newProc.Verb = "runas"                                                                                    PS C:\> [System.Diagnostics.Process]::Start($newProc)                                                 Now, You can see Notepad is running in administrator mode. Perform your Changes and save it. You can start any exe using above process(unless your exe is not blocked by your lo

GIT Error : Filename too long warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status'

Hey Guys, Lot of people among you might have seen below error while taking git check out: xxxxxxxxxxx:Filename too long warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry the checkout with 'git checkout -f Head ' Solution: Execute below command and try again: git config --system core.longpaths true I hope your problem is resolved. Happy Coding!!!

What is CMS? Why we need it?

Today, anywhere you go in IT every body is talking some sort of CMS applications like Joomla, Wordpress, Majento, Sitecore, DNN, Umbraco etc. There are tons of CMSs available. So, What is a CMS? Why we need it? History In the 1990s, when the internet was started developers were using the hard-coded text file. So, organizations were dependent/hiring developers who know HTML, javascript like stuff. Marketers share their content to the developers and they put it on the website using HTML/JavaScript. It was a very time-consuming process. there was complete development cycle for even minor changes like text/image. In the 2000s, Developers introduced the use of the database in developing websites. This helped marketers in pushing their minor content like image or text to the website very quickly. But, Marketing people were not happy when they required Page layout changes or introducing new page to the website. They were dependent on developers to these changes to the website.