tag:blogger.com,1999:blog-46925661456700106102024-02-02T09:36:51.656+01:00In search for ultimate programming languageSirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.comBlogger280125tag:blogger.com,1999:blog-4692566145670010610.post-55136528337555766532023-10-04T12:52:00.014+02:002023-10-04T12:55:02.629+02:00How To Upgrade To Debian 12 Bookworm From Debian 11 Bullseye<p>Recenly I wanted to upgrade one of my virtual machines from Debian 11.1 (bullseye) to Debian 12 (bookworm). But how to do that when it is not Ubuntu, which I use quite often?</p>
<p>Well, I have found a very informative tutorial, step by step - with almost guaranteed success ratio ;-)</p>
<p><b>See more:</b><br/>
<a href="https://ostechnix.com/upgrade-to-debian-12-from-debian-11/">https://ostechnix.com/upgrade-to-debian-12-from-debian-11/</a><br/></p>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-23873877457620573322023-05-05T15:25:00.012+02:002023-05-05T15:31:47.066+02:00Secure Apache with Let's Encrypt on Ubuntu 22.04TUTORIAL: How To Secure Apache with Let's Encrypt on Ubuntu 22.04
<p>
Perfect tutorial with perfect outcome! The crucial thing is indeed to have <code>VirtualHost</code> configured on HTTP port 80 in Apache first. With these instructions getting auto-renewable SSL certificate for a website is really easy. Big THANK YOU to the authors :)
</p>
<ul>
<li><a href="https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-22-04">https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-22-04</a>
</ul>
SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-48325942188007162492023-01-16T12:34:00.016+01:002023-01-16T12:52:53.108+01:00How to find files modified last monthVery interesting use of Linux <b>date</b> program, especially parameters to calculate start of last month. It's clever and it works!
<pre>
find . -type f -name '*.php' -newermt "$(date -d "$(date +%y-%m-1) - 1 month" +%y-%m-%d)"
</pre>
<ul>
<li><a href="https://unix.stackexchange.com/a/597331/556875">https://unix.stackexchange.com/a/597331/556875</a></li>
</ul>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-10680702754961240702022-09-21T10:59:00.014+02:002022-09-21T11:04:51.112+02:00Install Google Chrome on Ubuntu 20.04<p>New virtual machine and new Kubuntu installation. Good days ahead again!</p>
<p>I just found out that old ways of using <code>apt-key</code> program are replaced in new Ubuntu Linux releases by Apt directory <code>/etc/apt/trusted.gpg.d/</code>. It is similar to another Apt directory <code>/etc/apt/sources.list.d/</code> with files describing software repositories.<br/>Good opportunity to learn something new :)</p>
<p>To install official Google Chrome including automatic updates, I used following tutorial:</p>
<h4>Install Google Chrome on Ubuntu 20.04</h4>
<ul>
<li><a href="https://lindevs.com/install-google-chrome-on-ubuntu">https://lindevs.com/install-google-chrome-on-ubuntu</a></li>
</ul>
SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-83387120253250103462021-11-10T13:12:00.009+01:002021-11-10T13:13:17.775+01:00How to restore full context menus in Windows 11<p>Original article:</p>
<ul>
<li><a href="https://www.pcgamer.com/windows-11-context-menu-fix-right-click/">How to restore full context menus in Windows 11</a></li>
</ul>
<p>Related blog post:</p>
<ul>
<li><a href="https://blogs.windows.com/windowsdeveloper/2021/07/19/extending-the-context-menu-and-share-dialog-in-windows-11/">Extending the Context Menu and Share Dialog in Windows 11</a></li>
</ul>
<h5>Registry files</h5>
<blockquote>
<b>win11_classic_context_menu.reg</b>
<pre>Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]
@=""
[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
@=""</pre>
</blockquote>
<blockquote>
<b>undo_win11_classic_context_menu.reg</b>
<pre>Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]</pre>
</blockquote>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-14130751856122826132021-02-05T11:42:00.003+01:002021-02-05T11:44:35.607+01:00Git line endings CR-LF<p>There is a need in some developer teams to use the same settings for line endings of text files that are checked out or commited to Git repositories.<br/>
For this there are two options in <code>git config</code> that can be applied:</p>
<ul>
<li><tt>core.safecrlf=false</tt></li>
<li><tt>core.autocrlf=input</tt></li>
</ul>
<p>I am using these settings with great success to achieve the ultimate goal: use Unix line endings whenever possible, even when developing on Windows machine.</p>
<br/>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-60205516446871770692020-12-20T22:45:00.003+01:002020-12-20T22:46:24.658+01:00Keyboard without AltGr - now what?<p>Recently I found myself using temporarily a keyboard without "right Alt" key, also called "AltGr" (graphical Alt). However I needed that to work to enter characters in the locale I am in.<br/>
So I thought: is there any hope?
<b>SharpKeys</b> to the rescue!</p>
<h4>TL;DR</h4>
<p>I ended up with single entry in the Windows Registry, with necessary system restart afterwards. Then to my surprise IT JUST WORKED! <sup>(TM)</sup> đ</p>
Following is the exported registry data with <b>Scancode Map</b> key:
<blockquote>
Windows Registry Editor Version 5.00<br/>
<br/>
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]<br/>
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,38,e0,5d,e0,00,00,00,00
</blockquote>
<p>References:</p>
<ul>
<li><a href="https://www.howtogeek.com/howto/windows-vista/map-any-key-to-any-key-on-windows-xp-vista/">https://www.howtogeek.com/howto/windows-vista/map-any-key-to-any-key-on-windows-xp-vista/</a></li>
<li><a href="https://www.howtogeek.com/425623/what-is-the-menu-key-for-and-how-to-remap-it/">https://www.howtogeek.com/425623/what-is-the-menu-key-for-and-how-to-remap-it/</a></li>
<li><a href="https://www.howtogeek.com/howto/windows-vista/disable-caps-lock-key-in-windows-vista/">https://www.howtogeek.com/howto/windows-vista/disable-caps-lock-key-in-windows-vista/</a></li>
</ul>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-55553905629981900572020-09-25T22:36:00.005+02:002020-09-25T22:37:04.488+02:00Windows 10 JumpListItems_Maximum<p>In the Registry Editor, use the left sidebar to navigate to the following key:</p>
<pre style="border:1px #AAA solid; padding: 2px;">HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced</pre>
<p>Right-click the <b>Advanced</b> folder and choose New > DWORD (32-bit) Value. Name the new value <code>JumpListItems_Maximum</code> and then double-click the value to open its properties window.</p>
<p>In the valueâs properties window, select âDecimalâ under Base and then enter the number of recent items you want your jumplists to show in the âValue dataâ box. Weâve found that 15-20 is a pretty good number that still lets the whole jump list show on most displays.</p>
<a href="https://www.howtogeek.com/267705/how-to-increase-the-number-of-jump-list-items-in-windows-10/">https://www.howtogeek.com/267705/how-to-increase-the-number-of-jump-list-items-in-windows-10/</a>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-527707303294611892020-08-03T15:07:00.007+02:002020-08-03T15:14:28.442+02:00How to Reset Windows 10 Start Menu Layout to Default<p>Very simple, but very effective and useful method to restore default Start Menu layout in Windows 10.</p>
<ol>
<li>Open <code>regedit.exe</code></li>
<li>Navigate to:<br/>
<tt>\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache</tt>
</li>
<li>Delete (or rename) <tt>DefaultAccount</tt> key.
</ol>
<p>Source:<br/>
<a href="https://www.youtube.com/watch?v=XJFOXw75xtA">https://www.youtube.com/watch?v=XJFOXw75xtA</a>
</p>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-59727503416087717792020-07-09T18:40:00.001+02:002020-07-09T18:43:22.832+02:00Update: Install Multiple PHP Versions on Ubuntu 16.04Most essential:<br />
<blockquote><kbd><big>a2dismod php7.0 ; a2enmod php7.3 ; service apache2 restart</big></kbd><br />
</blockquote>and:<br />
<blockquote><kbd><big>update-alternatives --config php</big></kbd><br />
</blockquote><br />
<a href="https://www.liquidweb.com/kb/install-multiple-php-versions-on-ubuntu-16-04/">https://www.liquidweb.com/kb/install-multiple-php-versions-on-ubuntu-16-04/</a><br />
<br/>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-31856811537141797702020-07-09T18:36:00.003+02:002020-07-09T18:45:42.911+02:00Install PHP 7.3 on Ubuntu 18.04 / Ubuntu 16.04 / Debian<a href="https://computingforgeeks.com/how-to-install-php-7-3-on-ubuntu-18-04-ubuntu-16-04-debian/">https://computingforgeeks.com/how-to-install-php-7-3-on-ubuntu-18-04-ubuntu-16-04-debian/</a><br />
<p>See also on this blog:</p><ul><li><a href="https://siryes.blogspot.com/2020/07/multiple-php-versions-on-ubuntu-1604.html">Update: Install Multiple PHP Versions on Ubuntu 16.04</a></li>
</ul>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-22093278142026069722020-07-06T08:01:00.004+02:002020-07-06T08:03:12.203+02:00How to upgrade from Ubuntu MATE 18.04 or 19.10 to 20.04 LTS<p>Quite simple, yet very useful guide:<br />
</p><ul><li><a href="https://www.fosslinux.com/38695/how-to-upgrade-from-ubuntu-mate-18-04-or-19-10-to-20-04-lts.htm">https://www.fosslinux.com/38695/how-to-upgrade-from-ubuntu-mate-18-04-or-19-10-to-20-04-lts.htm</a></li>
</ul>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-34314477535928923012018-09-21T10:44:00.066+02:002021-02-05T10:51:05.925+01:00Right click on Windows folder and open with Visual Studio Code<a href="https://thisdavej.com/right-click-on-windows-folder-and-open-with-visual-studio-code/">https://thisdavej.com/right-click-on-windows-folder-and-open-with-visual-studio-code/</a>
<p><b style="color:#22F">Major Edit:</b> It turns out that when you install VS Code for Windows, you have an opportunity to add an âOpen with Codeâ action to the Windows Explorer file context menuâif you donât hastily sprint through the installation and take the defaults like I did the first time around. đ Take a deep breath and jog rather than scream through the installation. When you see the dialog box below, be sure to check the two checkboxes highlighted.</p>
<div class="separator" style="clear: both;"><a href="https://thisdavej.com/wp-content/uploads/2016/03/VSCodeInstall.png" style="display: block; padding: 1em 0; text-align: center; "><img alt="" border="0" width="320" data-original-height="427" data-original-width="550" src="https://thisdavej.com/wp-content/uploads/2016/03/VSCodeInstall.png"/></a></div>
<h3>A. Manually add VSCode shortcuts to context menu when it is installed in <tt>C:\Program Files</tt> folder</h3>
<b><code style="background-color:#ccc;padding:5px">vsCodeOpenFolder.reg</code></b>
<pre>
Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
@="Edit with VS Code"
"Icon"="C:\\Program Files\\Microsoft VS Code\\Code.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%1\""
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\shell\VSCode]
@="Open Folder as VS Code Project"
"Icon"="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%1\""
; This will make it appear when you right click INSIDE a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode]
@="Open Folder as VS Code Project"
"Icon"="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode\command]
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%V\""
</pre>
<b><code style="background-color:#ccc;padding:5px">removeVsCodeOpenFolder.reg</code></b>
<pre>
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
[-HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
[-HKEY_CLASSES_ROOT\Directory\shell\VSCode]
[-HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode\command]
</pre>
<h3>B. When Visual Studio Code is installed in <tt>C:\VSCode</tt> folder</h3>
<b><code style="background-color:#ccc;padding:5px">vsCodeOpenFolder_C.reg</code></b>
<pre>
Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
@="Edit with VS Code"
"Icon"="C:\\VSCode\\Code.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
@="\"C:\\VSCode\\Code.exe\" \"%1\""
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\shell\VSCode]
@="Open Folder as VS Code Project"
"Icon"="\"C:\\VSCode\\Code.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]
@="\"C:\\VSCode\\Code.exe\" \"%1\""
; This will make it appear when you right click INSIDE a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode]
@="Open Folder as VS Code Project"
"Icon"="\"C:\\VSCode\\Code.exe\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode\command]
@="\"C:\\VSCode\\Code.exe\" \"%V\""
</pre>
SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-84877269406163657262018-07-29T17:51:00.003+02:002018-07-29T17:54:18.220+02:00How to Rebuild BCD in WindowsA long day of searching (which is typical) for how to fix the non-booting Windows 10 installation.<br />
<br />
Eventually I've found the following procedure, which simply just worked.<br />
The best thing only the <b>Option 1</b> (the simplest) was necessary in my case :)<br />
<br />
<ol><li>Start <strong>Advanced Startup Options</strong> if you're using Windows 10 or Windows 8.<br />
Start <strong>System Recovery Options</strong> if you're using Windows 7 or Windows Vista. </li>
<li>Open <strong>Command Prompt</strong> from <strong>Advanced Startup Options</strong> or <strong>System Recovery Options</strong> menu.</li>
<li>At the prompt, type the <strong>bootrec</strong> command as shown below and then press <strong>Enter</strong>:<br />
<pre><strong>bootrec /rebuildbcd</strong>
</pre>The <strong>bootrec</strong> command will search for Windows installations not included in the BCD and then ask you if you'd like to add one or more to it.</li>
<li>You should see one of the following messages at the <strong>command line</strong>.<br />
<br />
<ol><li><strong>Option 1</strong><br />
<pre>Scanning all disks for Windows installations.
Please wait, since this may take a while...
Successfully scanned Windows installations.
Total identified Windows installations: 0
The operation completed successfully.
</pre><strong>Option 2</strong><br />
<pre>Scanning all disks for Windows installations.
Please wait, since this may take a while...
Successfully scanned Windows installations.
Total identified Windows installations: 1
[1] C:\Windows
Add installation to boot list? Yes/No/All:
</pre></li>
<li><strong>If you see Option 1:</strong> Move on to Step 5. This result most likely means that Windows installation data in the BCD store exists but <strong>bootrec</strong> couldn't find any <em>additional </em>installations of Windows on your computer to add to the BCD. That's fine; you'll just need to take a few extra steps to rebuild the BCD.</li>
<li><strong>If you see option 2:</strong> Enter <strong>Y</strong> or <strong>Yes </strong>to the <strong>Add installation to boot list?</strong> question, after which you should see <strong>The operation completed successfully</strong>, followed by a blinking cursor at the prompt. Finish up with Step 10 toward the bottom of the page.</li>
</ol><br />
</li>
</ol>Read the whole post:<br />
<a href="https://www.lifewire.com/how-to-rebuild-the-bcd-in-windows-2624508">https://www.lifewire.com/how-to-rebuild-the-bcd-in-windows-2624508</a><br />
<br />
SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-39643165143757599652018-06-11T09:50:00.002+02:002018-06-11T09:56:26.748+02:00Safely Remove Unused Kernels In RHEL/CentOS/Fedora<p>There are three main ways to do it:</p><ol><li>Use <code>package-cleanup</code> command from <code>yum-utils</code></li>
<li>Use Fedora's <code>dnf remove</code> combined with <code>dnf repoquery</code></li>
<li>Set maximum number of installed kernels in <code>/etc/yum.conf</code> file</li>
</ol>First:<pre># yum install yum-utils
# package-cleanup --oldkernels --count=2
</pre>Second:<pre># dnf remove $(dnf repoquery --installonly --latest-limit 2 -q)
</pre>Third:<pre># vim /etc/yum.conf
installonly_limit=3 #set kernel count
</pre><p>See also:</p><ul><li><a href="https://www.tecmint.com/delete-old-kernels-in-centos-rhel-and-fedora/">https://www.tecmint.com/delete-old-kernels-in-centos-rhel-and-fedora/</a></li>
<li><a href="https://www.2daygeek.com/remove-delete-old-unused-kernels-centos-fedora-rhel/">https://www.2daygeek.com/remove-delete-old-unused-kernels-centos-fedora-rhel/</a></li>
</ul>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-42139405053035921642018-04-28T09:58:00.003+02:002018-04-28T10:06:39.387+02:00Try changing HPET settings to improve your PC's performance<blockquote>You need to run the following commands on the command line in Windows to enable or disable the exclusive use of the HPET timer.<br />
<ul><li>Tap on the Windows-key, enter cmd, right-click cmd.exe in the results listing and select to run the command prompt with administrative privileges.</li>
<li>To enable HPET as the only timer run the command:<br />
<code>bcdedit /set useplatformclock true</code></li>
<li>To disable HPET in Windows run the command:<br />
<code>bcdedit /deletevalue useplatformclock</code></li>
</ul></blockquote><a href="https://www.ghacks.net/2013/04/18/try-changing-hpet-settings-to-improve-your-pcs-performance/">https://www.ghacks.net/2013/04/18/try-changing-hpet-settings-to-improve-your-pcs-performance/</a><br />
<br />
<b>AnandTech article about impact of High Performance Event Timer (HPET)</b><br />
<a href="https://www.anandtech.com/show/12678/a-timely-discovery-examining-amd-2nd-gen-ryzen-results">A Timely Discovery: Examining Our AMD 2nd Gen Ryzen Results</a><br />
<br />
SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-70552323059395654312018-04-28T09:55:00.000+02:002018-04-28T10:02:58.660+02:00Blogger EU Cookie Notice<b>How to style, change or disable the Blogger EU Cookie Notice</b><br />
Recently Blogger introduced support for the European Union Cookie Notice. [...]<br />
<br />
Read more: <a href="https://blog.mridey.com/2015/08/how-to-style-change-or-disable-blogger.html">https://blog.mridey.com/2015/08/how-to-style-change-or-disable-blogger.html</a>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-57929624693871358162018-02-22T10:38:00.000+01:002018-02-22T10:41:39.195+01:00The Pros and Cons of Windows 10âs "Fast Startup" Mode<h4>Why You Might Want to Disable Fast Startup</h4><p>[...] Fast Startup also has its problems, so you should take the following caveats into consideration before enabling it:</p><ul><li>When Fast Startup is enabled, your computer doesnât perform a regular shut down. Since applying new system updates often requires a shutdown, you may not be able to apply updates and turn your computer off. Restart is unaffected, though, so it still performs a full cold shutdown and restart of your system. If a shutdown doesnât apply your updates, a restart still will.<br />
</li>
<li>Fast Startup can interfere slightly with encrypted disk images. Users of encryption programs like TrueCrypt have reported that encrypted drives they had mounted before shutting down their system were automatically remounted when starting back up. The solution for this is just to manually dismount your encrypted drives before shutting down, but it is something to be aware of. (This doesnât affect the full disk encryption feature of TrueCrypt, just disk images. And BitLocker users shouldnât be affected.)<br />
</li>
<li>Systems that donât support hibernation wonât support Fast Startup either. Some devices just donât play well with hibernation. Youâll have to experiment with it to see whether your devices respond well or not.<br />
When you shut down a computer with Fast Startup enabled, Windows locks down the Windows hard disk. You wonât be able to access it from other operating systems if you have your computer configured to dual-boot. Even worse, if you boot into another OS and then access or change anything on the hard disk (or partition) that the hibernating Windows installation uses, it can cause corruption. If youâre dual booting, itâs best not to use Fast Startup or Hibernation at all.<br />
</li>
<li>Depending on your system, you may not be able to access BIOS/UEFI settings when you shut down a computer with Fast Startup enabled. When a computer hibernates, it does not enter a fully powered down mode. Some versions of BIOS/UEFI work with a system in hibernation and some do not. If yours doesnât, you can always restart the computer to access BIOS, since the restart cycle will still perform a full shutdown.<br />
</li>
</ul><a href="https://www.howtogeek.com/243901/the-pros-and-cons-of-windows-10s-fast-startup-mode/">https://www.howtogeek.com/243901/the-pros-and-cons-of-windows-10s-fast-startup-mode/</a><br />
<br />
<br />
SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-13433086543796297932018-01-10T14:57:00.000+01:002018-01-10T14:57:05.386+01:00Rebuild the Icon Cache in Windows<p>Helpful articles:</p><ul> <li><a href="http://www.thewindowsclub.com/rebuild-the-icon-cache-windows">Purge & rebuild the Icon Cache in Windows 8/7</a></li>
<li><a href="http://www.thewindowsclub.com/rebuild-icon-clear-thumbnail-cache-windows-10">Rebuild Icon Cache, Clear Thumbnail cache in Windows 10</a></li>
</ul><br/>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-86645550392542357332017-03-12T16:15:00.000+01:002017-03-12T16:16:28.494+01:00Clear the Windows Update Download cache<blockquote>You probably need to clear the Windows Update Download cache (I had to do this to get 15046 to appear).<br />
<br />
<code>net stop wuauserv<br />
cd %systemroot%\SoftwareDistribution<br />
rmdir /S /Q Download<br />
net start wuauserv<br />
net stop bits<br />
net start bits<br />
net stop cryptsvc<br />
cd %systemroot%\system32<br />
rmdir /S /Q catroot2<br />
net start cryptsvc</code><br />
<br />
Reboot. <br />
</blockquote><br />
<a href="https://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_install/install-of-15042-reboots-at-71-to-15031/a640c8f4-b93c-46fb-9aee-4d302f00eadf">https://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_install/install-of-15042-reboots-at-71-to-15031/a640c8f4-b93c-46fb-9aee-4d302f00eadf</a><br />
<br />
SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-72600975480701640842017-03-11T01:39:00.001+01:002017-03-11T01:39:05.444+01:00"Reclaim Windows 10"Brilliant :)<br />
<blockquote>"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)</blockquote><br />
Original: <a href="https://gist.github.com/alirobe/7f3b34ad89a159e6daa1">https://gist.github.com/alirobe/7f3b34ad89a159e6daa1</a><br />
<br/>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-54012418658849550242017-03-11T01:36:00.000+01:002017-03-11T01:36:31.251+01:00Advertising in Windows Explorer (Win10)<b>Advertising in Windows has reached an exasperating new low</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://cdn.arstechnica.net/wp-content/uploads/2017/03/one-drive-explorer-ads-800x507.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://cdn.arstechnica.net/wp-content/uploads/2017/03/one-drive-explorer-ads-800x507.png" width="320" height="203" /></a></div><blockquote><b>Blinken</b><br />
<p>How to turn it off:<br />
In File Explorer go to View > Options > Change Folder and search options.<br />
Go to the View tab and scroll down about 3/4 of the way and turn off the option for 'Show sync provider notifications'.<br />
</p></blockquote><a href="https://arstechnica.com/information-technology/2017/03/microsoft-put-gross-ads-in-windows-explorer-and-i-dont-have-the-energy-to-be-angry/?comments=1&post=32960539">https://arstechnica.com/information-technology/2017/03/microsoft-put-gross-ads-in-windows-explorer-and-i-dont-have-the-energy-to-be-angry/?comments=1&post=32960539</a><br />
<br />
SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-51176861107518645782017-03-11T01:08:00.000+01:002017-03-11T01:11:59.802+01:00Dual-boot Ubuntu and real-time clock<blockquote>It's almost as natural as disabling <b>timedatectl set-local-rtc</b> on Ubuntu dual-boot machines at this point.<br />
</blockquote><br />
<a href="https://arstechnica.com/information-technology/2017/03/microsoft-put-gross-ads-in-windows-explorer-and-i-dont-have-the-energy-to-be-angry/?comments=1&post=32960205">https://arstechnica.com/information-technology/2017/03/microsoft-put-gross-ads-in-windows-explorer-and-i-dont-have-the-energy-to-be-angry/?comments=1&post=32960205</a><br />
<br />
SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-14338222260068626192016-04-28T14:59:00.001+02:002016-04-28T18:55:27.902+02:00Simplify Command-Line Package Management with APT instead of apt-get<p>Interestingly, in Debian/Ubuntu/Mint there might be a hidden treasure in form of <code>apt</code> command.<br />
I think I will look into this further.</p><a href="http://www.howtogeek.com/234583/simplify-command-line-package-management-with-apt-instead-of-apt-get/">http://www.howtogeek.com/234583/simplify-command-line-package-management-with-apt-instead-of-apt-get/</a><br />
<br />
SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0tag:blogger.com,1999:blog-4692566145670010610.post-22949446009501726892016-01-04T13:34:00.003+01:002016-02-02T13:16:53.562+01:00Configure vhosts for XAMPP in Ubuntu<p>After installing <a href="http://www.apachefriends.org">XAMPP for Linux</a> I wanted to use my old trick of configuring virtual hosts for Apache.<br />
There is a one-time configuration, and two steps for each virtual host.<br />
</p><p>One-time configuration is needed to actually use virtual hosts, and to restore access to original XAMPP documents. So here it goes:<br />
</p><blockquote>1. Open terminal and edit <code>httpd.conf</code> file:<br />
<pre>$ sudo nano /opt/lampp/etc/httpd.conf
</pre>2. Now find the following line and uncomment it by removing the hash symbol (#) at the beginning:<br />
<pre>Include etc/extra/httpd-vhosts.conf
</pre>3. Edit <code>httpd-vhosts.conf</code> file:<br />
<pre>$ sudo nano /opt/lampp/etc/extra/httpd-vhosts.conf
</pre>4. Replace definitions for <code>dummy-host.example.com</code> and <code>dummy-host2.example.com</code> with following:<br />
<pre># Use name-based virtual hosting.
NameVirtualHost *:80
<VirtualHost *:80> ## Restore access to localhost resources
DocumentRoot "/opt/lampp/htdocs/"
ServerName localhost
</VirtualHost>
<VirtualHost *:80> ## Restore access to 127.0.0.1 resources
DocumentRoot "/opt/lampp/htdocs/"
ServerName 127.0.0.1
</VirtualHost>
5. Restart Apache or reload its configuration. Then check if you can still access XAMPP Dashboard at:
<a href="http://localhost" target="_blank">http://localhost</a> and <a href="http://127.0.0.1" target="_blank">http://127.0.0.1</a>
</pre>6. Prepare directory for future virtual hosts, and give your user's group write access to it:<br />
<pre>$ sudo mkdir /opt/lampp/vhosts
$ sudo chgrp $(id -n -g) /opt/lampp/vhosts
$ sudo chmod g+rwx /opt/lampp/vhosts
</pre></blockquote><br />
<p>For each virtual host, name resolver needs to be informed about new local domain.<br />
Then virtual host definition has to be added, and directory for host's files created.<br />
Finally after Apache restart all should work.<br />
</p><blockquote>7. Edit local name resolver <code>hosts</code> file:<br />
<pre>$ sudo nano /etc/hosts</pre>8. Add local/development domain, for example "helloapp":<br />
<pre>127.0.0.1 helloapp</pre>9. Edit <code>httpd-vhosts.conf</code> file:<br />
<pre>$ sudo nano /opt/lampp/etc/extra/httpd-vhosts.conf
</pre>10. Add virtual host, setting correctly paths and names:<br />
<pre><VirtualHost *:80>
DocumentRoot "/opt/lampp/vhosts/helloapp"
ServerName helloapp
ErrorLog "logs/helloapp-error.log"
CustomLog "logs/helloapp-access.log" combined
# The same settings as for <Directory "/opt/lampp/htdocs"> in conf/httpd.conf
<Directory "/opt/lampp/vhosts/helloapp">
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
Options Indexes FollowSymLinks ExecCGI Includes
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride All
# Controls who can get stuff from this server.
Require all granted
</Directory>
</VirtualHost>
</pre>11. Prepare directory for virtual host, remember about correct path:<br />
(this works only if step 6. has been done, otherwise permission errors can occur)<br />
<pre>$ mkdir /opt/lampp/vhosts/helloapp</pre>12. Restart Apache or reload its configuration. Then check if you can access new virtual host at:<br />
<a href="http://helloapp" target="_blank">http://helloapp</a><br />
</blockquote><br />
<p>See also:</p><ul><li><a href="http://localhost/dashboard/docs/configure-vhosts.html">localhost/dashboard/docs/configure-vhosts.html</a></li>
<li><a href="http://butlerccwebdev.net/support/testingserver/vhosts-setup-win.html">Virtual Hosts Setup with XAMPP (Windows)</a></li>
</ul>SirYeshttp://www.blogger.com/profile/11068765184650751520noreply@blogger.com0