Advanced Search
Search Results
192 total results found
Microsoft Photos will not start issue
Issue where Microsoft Photos shuts down as soon as it is started get-appxpackage *Microsoft.Windows.Photos* | remove-appxpackage Get-AppxPackage *photos* | Remove-AppxPackage Get-AppxPackage -allusers Microsoft.Windows.Photos | Foreach {Add-AppxPackage -Dis...
Redirect common Windows folders (Documents, etc)
"HKCU\Microsoft\Windows\Currentversion\Explorer\Shell Folders" REG ADD "HKCU\SOFTWARE\Microsoft\Windows\Currentversion\Explorer\Shell Folders" /v "My Music" /t REG_SZ /d "\\we-s004\users\%username%\My Documents\My Music" /f REG ADD "HKCU\Software\Microsoft...
Disable LLMNR
From and elevated Command Line REG ADD “HKLM\Software\policies\Microsoft\Windows NT\DNSClient” REG ADD “HKLM\Software\policies\Microsoft\Windows NT\DNSClient” /v ” EnableMulticast” /t REG_DWORD /d “0” /f
koda/docker-knowledge
URL https://hub.docker.com/r/koda/docker-knowledge Where to get from hub.docker.com
Composerize
What is it This will turn the docker run command into a Stacks statement URL https://www.composerize.com/
Password Expiration Login script vba
VBA Code to check for password expiry and display a message if the password expires in the next 10 days. Add-Type -AssemblyName PresentationFramework curruser=Get−ADUser−Identity env:username -Properties 'msDS-UserPasswordExpiryTimeComputed','PasswordNeve...
Docker Container hostname
Add the following to a Stacks file hostname: {hostname} For a Docker Run command-h {hostname}
Vikunja CLI from Docker
Gathered from the Vikunja Docs Page Using the cli in docker When running Vikunja in docker, you’ll need to execute all commands in the api container. Instead of running the vikunja binary directly, run it like this: docker exec <name of the vikunja api cont...
Change Local Computer Name
Right click start button> choose Settings. In the search box, search for (view your PC name)> click (Rename this PC) use company standard naming for devices.
Check if a reboot is required after installing Linux updates
RedHat OS family Applies to: RedHat / CentOS / Amazon Linux Don’t forget that you might need to reboot because of core library updates, at least if it is glibc. (And also, services may need to be restarted after updates). If you install the yum-utils pack...
Make elevated network drive mappings show up in Explorer
Create a REG_DWORD named EnableLinkedConnections in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System, set it to 1 and restart. Setting this registry value stops Windows separating network drives by elevated vs unelevated tokens, thus whenever yo...
Cheat Sheet - MySQL
# Login in as admin/root user mysql -u admin -h my-cluster-dev.cluster-cckanhlmgu2w.eu-central-1.rds.amazonaws.com --database=customer_cms_dev -p # Create database CREATE DATABASE customer_cms_dev; # Create user and grant permissions on a database CRE...
Cheat Sheet - bash conditionals
regex [[ $line =~ [[:space:]]*(a)?b ]] or pattern='[[:space:]]*(a)?b' [[ $line =~ $pattern ]] if if test-commands; then consequent-commands; [elif more-test-commands; then more-consequents;] [else alternate-consequents;] fi if some_comman...
Filesystem permissions
File permissions in Linux are coded symbolically (as letters) r - read w - write x - execute And Numerically: 4 - read 2 - write 1 - execute dir permissions Octal del rename create files dir list read files contents write file conten...
How to Disable IPTables on Ubuntu
Step 1: Check the Current Status of iptables Before making any changes, it’s a good practice to check the current status of iptables. sudo iptables -L -v This command will list all the current rules set in iptables. Step 2: Flush All iptables Rules To dis...
How To Use Cron to Automate Tasks
Introduction Cron is a time-based job scheduling daemon found in Unix-like operating systems, including Linux distributions. Cron runs in the background and operations scheduled with cron, referred to as “cron jobs,” are executed automatically, making cron us...
Access Pihole via NPM
To add Pi-hole to Nginx Proxy Manager, you can follow these steps: Login to Nginx Proxy Manager: Open your web browser and navigate to your Nginx Proxy Manager dashboard. Add Proxy Host: Click on the "Proxy Hosts" tab on the left sidebar and then cli...
Reset a Lost Administrative Password (root)?
By default the first user's account is an administrative account, so if the UI is prompting you for a password it's probably that person's user password. If the user doesn't remember their password you need to reset it. To do this you need to boot into recover...
Setup Email Notifications
Configuring User E-mail Address In a web browser, navigate to the Proxmox web UI and login Select Datacenter > Permissions > Users from the left navigation menus Double click the user to configure Complete the E-mail field on the Edit User form > Click O...
Reset Your Forgotten Ubuntu Password in 2 Minutes or Less (root)
Scraped from https://www.howtogeek.com/1287/reset-your-forgotten-ubuntu-password-in-2-minutes-or-less/ If you've ever forgotten your password, you aren't alone... it's probably one of the most common tech support problems I've encountered over the years ...