Skip to content

Instantly share code, notes, and snippets.

View G3NSVRV's full-sized avatar
💾
128 Kb of graphics

g3nsvrv G3NSVRV

💾
128 Kb of graphics
View GitHub Profile
@biosmanager
biosmanager / userChrome.css
Last active May 4, 2025 13:10
Firefox Proton macOS Close Tab Left (updated for version 113)
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
.tabbrowser-tab .tab-close-button {
opacity: 0;
margin-left: -4.5px !important;
margin-right: 2px !important;
}
.tabbrowser-tab:not(:hover) .tab-close-button {
display: none;
@larrybahr
larrybahr / Upgrade Windows 10 Home to Windows 10 Pro.md
Last active May 5, 2025 13:25
Upgrade Windows 10 Home to Windows 10 Pro.

I got a Windows 10 key and tried to do the normal upgrade, but got a "0xc004f050" error. I then tried to fix it by useing the generic pro key but then got a "0x803fa067" error. These are the steps the finally got everything working. I did the this on 2 PC so I think it is solid.

  1. buy a valid Windows 10 Pro key (any key will work)
    1. I got mine on Ebay for $4. It said 1 minute delivery, but it took about 1 hour to get it.
  2. Make sure Windows is up to date.
  3. Change product keys (remember these steps you will use them a lot)
    1. Select the Start button
    2. Then select Settings > Update & Security
  4. Then select Activation
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active May 3, 2025 08:56
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@ramondelafuente
ramondelafuente / test_sudo_and_variables.yml
Last active March 17, 2023 23:38
Testing ansible "ansible_ssh_user" and "ansible_user_id" variables with sudo
- name: Testing variables with SUDO=NO
hosts: "*"
sudo: no
tasks:
- name: "PLAYBOOK SUDO=NO, TASK SUDO=NO"
command: whoami
register: whoami_output
sudo: no
- debug: var=whoami_output.stdout