Last modified on 01 Oct 2021.

General

Applications

đź”… Change default directory in cmder

  1. Go to settings
  2. Then, Startup > Tasks
  3. Choose {cmd::Cmder}
  4. Choose the below-right box, let the cursor at the end of the text
  5. Click on “Startup dir…”
  6. Choose your desired directory > OK
  7. Remove the current line with the new appearing one (new_console:d:%USERPROFILE%)
  8. Click on Save settings

Windows

Cortana uses Chrome instead of Edge

  • Download and install this app (reinstall it after every update of Windows).
  • Choose EdgeDeflector as the default web browser if it asks.
  • Install this extension in Chrome to force to redirect from Bing to Google Search Engine.

Change default directory in PowerShell

  • Create a folder in your Documents folder called WindowsPowerShell
  • Create a file called profile.ps1 inside this folder
  • Add following command Set-Location c:\abc
  • Every time you launch PowerShell, the profile script will be executed

Internet

🔅 Remove apps permission from Google Apps (Youtube, Google Play Music, …) ⇾ here.

Problem of hsts

Cannot open a page with security problem.

  1. Go to chrome://net-internals/#hsts
  2. “Query HSTS/PKP domain”, fill domain, e.g. gitlab.powerop.io.
  3. “Delete domain security policies”, fill domain and click on Delete.
  4. Try again > Click on “Advanced” > Click on …unsafe….

Download flash video

In most case, you can use Flash Video Downloader (for Chrome) or other extensions to detect the video url.

In the case browser extensions cannot capture the url, you can open the Developer Tools (in Chrome, press F12) > Reload the page and click to play again the video > Network tab > Media tab > click on any sources on the left column (videoplayback?expire...) > On the right column, in tab Headers > General > Copy the content in Request URL, something like below,

https://r4---sn-25ge7ns7.googlevideo.com/videoplayback?expire=1568040368&ei=kEl2Xb...f_cW7qE=

Open a new tab in your browser, Ctrl + S to save the video. You can also open the Downloads manager in your browser (Ctrl + J) to copy the download link and use other Download Manager tools to download this video without using the browser!

Github README.md on localhost

In stall grip.

# go to the file's directory
grip # if file is README.md
grip file.md

•Notes with this notation aren't good enough. They are being updated. If you can see this, you are so smart. ;)