UPS and LINUX

Install upowersudo apt-get install upowerCommands:$ upower -e$ upower -d$ upower -i <object>Configuration/etc/UPower/UPower.confService$ sudo systemctl restart upower.service$ sudo systemctl status upower.serviceAliasalias battery='upower -d | grep -m 2 -e '\''percentage'\'' -e '\''time to empty'\'' | sed '\''s/^[ \t]*//'\''' ...

Markdown file view in Windows terminal

For PowerShell v6.1 or later, use command like this:> Show-Markdown [file name]https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/show-markdown?view=powershell-7.4From CMD, you can call the cmdlet like below, after installing PowerShell 7.4:"C:\Users\<your username>\AppData\Local\Microsoft\WindowsApps\Microsoft.PowerShell_8wekyb3d8bbwe\pwsh.exe" -Command "Show-Markdown %1"You can install the latest PowerShell,Using App Storewinget search Microsoft.PowerShellwinget install --id Microsoft.Powershell --source wingetOr, you can use this utility, https://github.com/charmbracelet/glow ...

Web Accessibility

What is Web AccessibilityWeb accessibility refers to the inclusive practice of ensuring that websites and web applications are usable by everyone, including people with disabilities. This involves designing and developing digital content in a way that allows people with disabilities to perceive, understand, navigate, and interact with the web effectively.Common disabilities that web accessibility aims to accommodate include:Visual...

Changing SSH port for Oracle Cloud VM

 1. Change Port number in sshd_config$ sudo vi /etc/ssh/sshd_configPort <new port>$ sudo systemctl restart ssh2. Change IPTables entry$ sudo vi /etc/iptables/rules.v4-A INPUT -p tcp -m state --state NEW -m tcp --dport <new port> -j ACCEPT$ sudo iptables-restore < /etc/iptables/rules.v43. Change in Security ListGo to Security List for that VCN and Subnet.  Add <new port> with TCP protocol. ...

rclone for backup

rcloneRclone is an open source, multi threaded, command line computer program to manage or migrate content on cloud and other high latency storage. Its capabilities include sync, transfer, crypt, cache, union, compress and mount. The rclone website lists supported backends including S3 and Google Drive. (https://en.wikipedia.org/wiki/Rclone)CLI & GUICLI - https://rclone.org/commands, https://rclone.org/commands/GUI - https://kapitainsky.github.io/RcloneBrowser/*CLI software is required for GUI.Use Cases:Simplify management across...

Use GMail with Gitea

To integrate GMail with your Gitea system, follow these steps:Generate Google Application Password:Obtain a Google Application Password for secure authentication. You can generate one in your Google Account settings, especially if two-factor authentication is enabled.Edit Gitea Configuration:Use a text editor to modify the Gitea configuration file (/etc/gitea/app.ini). Add the following settings under the [mailer] section:[mailer]ENABLED = trueSMTP_ADDR =...

Miscellaneous Windows Tips

Download Windows Freeware from SnapFilesIt's quite dangerous to download software from any site and install it on your PC.  I mainly use SnapFiles site to get freeware software.  It's been around for more than 10+ years and is reliable.https://www.snapfiles.com/Sumatra PDF reader Dark ModeFor PDF viewers, Sumatra PDF is free and I prefer this over Adobe PDF viewer since...

Page 1 of 7123457Next
Powered by Blogger.