https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching
<# | |
.SYNOPSIS | |
Repairs error 0x800f082f~ encountered during offline servicing. | |
.DESCRIPTION | |
Repairs error 0x800f082f~ encountered during offline servicing by setting the | |
HKLM:\Microsoft\Windows\CurrentVersion\Component Based Servicing\SessionsPending\Exclusive value to 0. | |
.INPUTS | |
None. | |
.OUTPUTS | |
None. |
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching
// ==UserScript== | |
// @name SteamRedeemKeys | |
// @namespace https://gist.github.com/zyfworks/ccb12bd87f09cf49d0a3465d167bece9 | |
// @version 1.5.0 | |
// @description Steam网页激活 —— 批量激活 | |
// @author Makazeu | |
// @match https://store.steampowered.com/account/registerkey | |
// @grant GM_addStyle | |
// @run-at document-end | |
// ==/UserScript== |
NO-HOPE WARNING: There is a HUGE probability that none of these things or the recovery options will bring back your Windows 10 to life. Also become aware that you CAN'T "reinstall preserving your data" from the installation DVD if your PC doesn't boot already. Great for you Microsoft...
Tips
Windows 10 has its small boot partition (which must be the "active" one -see diskpart or diskmgmt.msc- with a \boot\bcd file where the boot options of bcdedit are stored
Booting from installation DVD / recover usually c: and d: are swapped from normal boots (being c: the boot partition and d: where windows\system is, so don't freak out
Insert the Windows 10 bootable installation DVD and restart your PC.
When prompted to Press any key to boot from CD or DVD, press any key to continue.
Select your language preferences, and click Next. Click Repair your computer in the bottom-left.
# Run the last command as root | |
sudo !! | |
# Serve current directory tree at http://$HOSTNAME:8000/ | |
python -m SimpleHTTPServer | |
# Save a file you edited in vim without the needed permissions | |
:w !sudo tee % | |
# change to the previous working directory | |
cd - | |
# Runs previous command but replacing | |
^foo^bar |
#define WIN32_LEAN_AND_MEAN | |
#include <windows.h> | |
#include <Shlobj.h> | |
#include <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <errno.h> | |
bool replaceAllInFile(const TCHAR* filePath) |
import os | |
import time | |
import urllib.parse | |
import requests | |
import json | |
from slugify import slugify | |
import logging | |
from nltk.tokenize import sent_tokenize |