Skip to content

Instantly share code, notes, and snippets.

@fragtion
fragtion / gist:56e1d50d19015612bd6327f9522679b4
Created August 19, 2023 02:14
vmware-fix-physicaldrive-error
The operation on file \\.\PhysicalDrive failed ...
Fix:
1) Physical disk should be offline in the host OS.
2) Clear readonly attribute with diskpart
```
diskpart
list disk
select disk 5
@icedterminal
icedterminal / about.md
Last active February 28, 2026 13:32
Jellyfin + NGINX
@AveYo
AveYo / . Pitch Black Theme.reg
Last active March 12, 2026 04:31
Pitch Black Theme.reg - now for Ctrl+Alt+Del (and logon on 11) as well - revised 2022-06-16
Windows Registry Editor Version 5.00
; Pitch Black Theme preset by AveYo, AccentPalette idea by /u/Egg-Tricky
; for Ctrl+Alt+Del, Logon, Taskbar, Start Menu, Action Center (10 & 11)
; revised 2022-06-16: show active taskbar button in accent color
[-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
"AccentColorMenu"=dword:aa000000 ; Window borders and titlebar
"StartColorMenu"=dword:aa202020 ; Modals in UWP ex. Apply new refresh rate in 10
@noseratio
noseratio / reset-twitter-interest.md
Last active January 7, 2026 17:41
Reset Twitter interests
@fideloper
fideloper / certbot.sh
Last active December 29, 2025 19:11
Certbot on Ubuntu, wildcard subdomains via CloudFlare DNS challenge
# Used on Ubuntu 18.04 and 20.04
# Find instructions for other OSes here: https://certbot.eff.org/instructions
# Install Certbot via Snaps
sudo snap install core; sudo snap refresh core
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
# Install DNS CloudFlare plugin
sudo snap set certbot trust-plugin-with-root=ok
@ritchiecarroll
ritchiecarroll / README.md
Last active February 26, 2026 19:51
Manual Windows Partitions Recovery and Restore from Windows Image Backup

Manual Windows Partitions Recovery and Restore from Windows Image Backup

Steps below iterate how to manually recreate the disk partitions required by Windows and restore a Windows installation from a system image backup created with the "Backup and Restore (Windows 7)" feature, especially when the official steps fail.

These steps were tested with Windows 11, but should work with prior versions of Windows as well:

@tajnymag
tajnymag / tinder.user.js
Last active December 2, 2025 16:42
Tinder Deblur Userscript (ARCHIVED and DEPRECATED, see https://github.com/tajnymag/tinder-deblur)
// ==UserScript==
// @name Tinder Deblur
// @namespace Violentmonkey Scripts
// @match https://tinder.com/*
// @grant none
// @version 1.4
// @author Tajnymag
// @downloadURL https://raw.githubusercontent.com/tajnymag/tinder-deblur/main/tinder.user.js
// @description Simple script using the official Tinder API to get clean photos of the users who liked you
// ==/UserScript==
@brosahay
brosahay / README.md
Last active May 18, 2024 14:19
VoLTE/VoWiFi Enabled on Pixel 2 XL
@bitsurgeon
bitsurgeon / nvidia.md
Last active November 30, 2025 12:06
install Nvidia driver on Ubuntu with Secure Boot

Install Nvidia Driver on Ubuntu 18.04.3

Secure Boot

This section applies to machines with Secure Boot, such as ThinkPad.

  1. Before installation, switch to "Discrete Graphics" in BIOS, if both Intel and Nvidia graphics are present.
  2. During installation, make sure to select the "Install third-party software for graphics and Wi-Fi hardware and addition media formats" in "Updates and other software" screen.
  3. Select "Configure Secure Boot", and set password.
  4. Continue Ubuntu installation as normal.
@PIPIPIG233666
PIPIPIG233666 / gist:c1c421b2e35ec9ea097ecee474e0a8f7
Created May 18, 2019 22:22 — forked from msfjarvis/sepolicy.md
How to write sepolicy to fix a denial

Denial in question

*scontext=u:r:system_app:s0 tcontext=u:object_r:ipa_dev:s0 tclass=chr_file permissive=0

sepolicy fix

allow system_app ipa_dev:chr_file {read write};