Ollama Model Update script
Reviewed by KimWorks
on
May 08, 2024
Rating: 5
VLock: Command line virtual console lock
Reviewed by KimWorks
on
May 05, 2024
Rating: 5
Linux & Powerprofile
$ sudo apt install power-profiles-daemon
$ powerprofilesctl set power-saver
$ powerprofilesctl
$ more /proc/cpuinfo | grep "cpu MHz"
Reference
- Enable hibernate, https://ubuntuhandbook.org/index.php/2021/08/enable-hibernate-ubuntu-21-10/
- CPU power mode, https://ubuntuhandbook.org/index.php/2023/10/command-cpu-power-mode-ubuntu-22-04/
Linux & Powerprofile
Reviewed by KimWorks
on
May 04, 2024
Rating: 5
UPS and LINUX
Install upower
sudo apt-get install upower
Commands:
$ upower -e
$ upower -d
$ upower -i <object>
Configuration
/etc/UPower/UPower.conf
Service
$ sudo systemctl restart upower.service
$ sudo systemctl status upower.service
Alias
alias battery='upower -d | grep -m 2 -e '\''percentage'\'' -e '\''time to empty'\'' | sed '\''s/^[ \t]*//'\'''
UPS and LINUX
Reviewed by KimWorks
on
May 04, 2024
Rating: 5
Markdown file view in Windows terminal
For PowerShell v6.1 or later, use command like this:
> Show-Markdown [file name]
From 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 Store
winget search Microsoft.PowerShell
winget install --id Microsoft.Powershell --source winget
Or, you can use this utility, https://github.com/charmbracelet/glow
Markdown file view in Windows terminal
Reviewed by KimWorks
on
April 28, 2024
Rating: 5
Web Accessibility
What is Web Accessibility
Web 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 impairments: People who are blind or have low vision may use screen readers, braille displays, or screen magnification software to access web content.
Hearing impairments: Individuals who are deaf or hard of hearing may require transcripts or captions for audio content.
Motor impairments: People with mobility issues may use alternative input devices, such as mouth sticks or eye gaze systems, to navigate websites.
Cognitive impairments: Individuals with cognitive disabilities may benefit from clear navigation, simple language, and consistent layouts to facilitate understanding.
Web accessibility involves adhering to standards and guidelines, such as the Web Content Accessibility Guidelines (WCAG), which provide recommendations for making web content more accessible. These guidelines cover various aspects of web design and development, including:
- Perceivable: Ensuring that content is presented in ways that users can perceive, regardless of their abilities.
- Operable: Making web interfaces navigable and operable through various input methods.
- Understandable: Ensuring that content and functionality are understandable to all users.
- Robust: Maximizing compatibility with different assistive technologies and future web technologies.
By making websites and web applications accessible, developers and designers can provide equal access to information and services, promoting inclusivity and diversity on the web.
Screen Readers
JAWS
- Windows
- https://support.freedomscientific.com/Downloads/JAWS
- https://support.freedomscientific.com/Downloads/OfflineInstallers#jaws
NVDA
Mac, iOS
- use built-in VoiceOver feature
- https://support.apple.com/guide/voiceover/welcome/mac
- https://support.apple.com/guide/iphone/turn-on-and-practice-voiceover-iph3e2e415f/ios
Windows
- https://www.microsoft.com/en-us/windows/accessibility-features
- Win11
https://support.microsoft.com/en-us/windows/meet-windows-11-accessibility-41e9b0f6-1e8c-4501-a82c-e0b915a8c3d9 - Win10/11
https://learn.microsoft.com/en-us/windows/apps/develop/accessibility - Edge browser
https://support.microsoft.com/en-us/microsoft-edge/accessibility-features-in-microsoft-edge-4c696192-338e-9465-b2cd-bd9b698ad19a
More info
- https://webaim.org/
- Using NVDA, https://webaim.org/articles/nvda/
- https://www.accessibility-developer-guide.com/knowledge/screen-readers/desktop/reading-websites/
- Using JAWS, https://webaim.org/articles/jaws/
- Keyboard shortcuts, https://webaim.org/resources/shortcuts/jaws
Web Accessibility Checking Software
Firefox Extensions
- IBM Equal Access Accessibility Checker
https://addons.mozilla.org/en-US/firefox/addon/accessibility-checker - Video, https://addons.mozilla.org/en-US/firefox/addon/accessibility-video
- https://addons.mozilla.org/en-US/firefox/addon/wave-accessibility-tool
Chrome Extensions
- TBA
Standalone Software
- TBA
This page will be continually updated as we receive more information.
Web Accessibility
Reviewed by KimWorks
on
April 18, 2024
Rating: 5

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 ssh
2. 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.v4
3. Change in Security List
Go to Security List for that VCN and Subnet. Add <new port> with TCP protocol.
Changing SSH port for Oracle Cloud VM
Reviewed by KimWorks
on
January 26, 2024
Rating: 5
Subscribe to:
Posts
(
Atom
)