Turns out in ASP site's automated deployment process we should have added a step to restart the application after deployment as it doesn't restart the app pool. And, therefore, app was still utilizing what was already loaded (in cache?).
The more I read, the more I acquire, the more certain I am that I know nothing. -Voltaire
Deploying to ASP site doesn't update connection
Today, I spent 2.5 hours after production deployment of an old ASP application, trying to find out why the site was not connecting to the new database and still hitting the old one as old database was taken offline.
What can you do with WSL (Windows Subsystem for Linux)
If you have been living under a rock, then you don't know that Windows 10 offers you the capability to run Linux under Windows, WSL.
Hearing about that, first thing that comes to mind is to find out the extent of possibilities with this functionality.
Here are few areas where WSL shines:
Hearing about that, first thing that comes to mind is to find out the extent of possibilities with this functionality.
Here are few areas where WSL shines:
- Linux tools/utilities
- Software development/deployment. VS Code anyone?
- Different package managers work, so you can install your favorite programs
- No need to install Cygwin tools anymore. Isn't that why you looked here in first place?
- Linux files are inaccessible through Windows, however, windows files are accessible through Linux.
- There is no real Linux Kernel here, so any sort of programming involving Linux Kernel is a no-go.
- You cannot run GUI apps out of the box. There is a tweak to make them work though. However, performance might be questionable.
- Doesn't support 32-bit programs
- Cannot set up background tasks to run. Although cron jobs are possible, but you have to keep your WSL running and start via
- service cron start
Add HighlightJs to your Blog on Blogger
Adding HighlightJs to your blog is one of the easiest yet most effective thing you can do to make your code readable as well as presentable to your viewers.
1. Go to Blogger settings. Select the blog you want to add highlightJs to
2. Click on Theme link on the left Nav.
3. Under Theme view, click on Edit HTML.
4. In the Edit HTML view, find the </head> element. We need to add references to css as well as respective JS files just above the closing </head>
To add HighlightJs to your blog theme on Blogger, you have a couple of options:
- Host HighlightJs file somewhere access to blogger platform.
- Reference css and js links to CDN
I am going to show you how easy it is to add CDN link to your blog.
2. Click on Theme link on the left Nav.
3. Under Theme view, click on Edit HTML.
4. In the Edit HTML view, find the </head> element. We need to add references to css as well as respective JS files just above the closing </head>
5. Add the following script block to ensure highlighter gets loaded appropriately
<script>hljs.initHighlightingOnLoad();</script>
Here are the CDN references highlighted above:
<link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/styles/default.min.css" rel="stylesheet"></link>
<link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/styles/solarized-dark.min.css" rel="stylesheet"></link>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/highlight.min.js">
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/languages/css.min.js'/>
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/languages/cs.min.js'/>
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/languages/javascript.min.js'/>
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/languages/json.min.js'/>
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/languages/powershell.min.js'/>
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/languages/python.min.js'/>
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/languages/vbscript.min.js'/>
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/languages/javascript.min.js'/>
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/languages/json.min.js'/>
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/languages/powershell.min.js'/>
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/languages/python.min.js'/>
Subscribe to:
Posts (Atom)
Ramadan - What is it?
Ramadan is one of the most important and holy months in the Islamic calendar. It is a time of fasting, prayer, and spiritual reflection fo...
-
ZipStudio - A versatile Visual Studio add-in to zip up Visual Studio solutions and projects - The Code Project - C# Programming
-
TargetProcess - Agile Project Management & Bug Tracking Software | Download (Project Management Software, Project Tracking, Bug Tracking...