These commands should execute on your "GUEST" OS/Your virtual machine.
If the OS is a linux, run
dd if=/dev/zero of=/var/tmp/bigemptyfile bs=4096k ; rm /var/tmp/bigemptyfile
if the OS is windows
## Windows 10+ optimizations | |
%windir%\system32\usoclient StartScan | |
powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61 | |
Enable hibernation: | |
powercfg /h on | |
powercfg hibernate size 0 | |
powercfg /h /type reduced |
--- ./drivers/net/wireless/intel/iwlwifi/pcie/drv.c.orig 2018-04-22 21:57:31.940998832 -0400 | |
+++ ./drivers/net/wireless/intel/iwlwifi/pcie/drv.c 2018-04-22 21:59:11.777822534 -0400 | |
@@ -546,6 +546,8 @@ | |
{IWL_PCI_DEVICE(0x2526, 0x1410, iwl9270_2ac_cfg)}, | |
{IWL_PCI_DEVICE(0x2526, 0x1420, iwl9460_2ac_cfg_soc)}, | |
{IWL_PCI_DEVICE(0x2526, 0x1610, iwl9270_2ac_cfg)}, | |
+ {IWL_PCI_DEVICE(0x2526, 0x1a56, iwl9260_2ac_cfg)}, | |
+ {IWL_PCI_DEVICE(0x2526, 0x1550, iwl9260_2ac_cfg)}, | |
{IWL_PCI_DEVICE(0x2526, 0x2030, iwl9560_2ac_cfg_soc)}, | |
{IWL_PCI_DEVICE(0x2526, 0x2034, iwl9560_2ac_cfg_soc)}, |
#!/usr/bin/python2 | |
# Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
# Virtual Me2Me implementation. This script runs and manages the processes | |
# required for a Virtual Me2Me desktop, which are: X server, X desktop | |
# session, and Host process. | |
# This script is intended to run continuously as a background daemon | |
# process, running under an ordinary (non-root) user account. |
Run "services.msc" and find "Windows Search" then stop the service. | |
Delete the Windows.edb file. (C:\ProgramData\Microsoft\Search\Data\Applications\Windows\Windows.edb) | |
Click "Modify" in the Indexing Options panel and click "Delete and Rebuild" for the index. |
These commands should execute on your "GUEST" OS/Your virtual machine.
If the OS is a linux, run
dd if=/dev/zero of=/var/tmp/bigemptyfile bs=4096k ; rm /var/tmp/bigemptyfile
if the OS is windows
#!/bin/sh | |
for i in /etc/xdg/autostart/tracker-*.desktop; do | |
echo -e "Hidden=true" | sudo tee --append "$i" >/dev/null | |
done | |
gsettings set org.freedesktop.Tracker.Miner.Files crawling-interval -2 | |
gsettings set org.freedesktop.Tracker.Miner.Files enable-monitors false | |
tracker reset --hard |
// ==UserScript== | |
// @name Twitter Media Downloader | |
// @name:ja Twitter Media Downloader | |
// @name:zh-cn Twitter 媒体下载 | |
// @name:zh-tw Twitter 媒體下載 | |
// @description Save Video/Photo by One-Click. | |
// @description:ja ワンクリックで動画・画像を保存する。 | |
// @description:zh-cn 一键保存视频/图片 | |
// @description:zh-tw 一鍵保存視頻/圖片 | |
// @version 0.85 |
YSK how to disable "Razer Game Manager Service" as it causes daily problems for windows | |
Find out if it causes problems for you: | |
Hit windows-key and type in "security and maintenance". | |
Go into maintenance and then into reliability-monitor. | |
If RGMS (Razer Game Manager Service) causes problems you will see it under critical events. | |
Be sure to also check some days prior. | |
What does RGMS do? | |
Since I didn't make the service I can't be 100% sure. |
#! /usr/bin/env python | |
""" Convert values between RGB hex codes and xterm-256 color codes. | |
Nice long listing of all 256 colors and their codes. Useful for | |
developing console color themes, or even script output schemes. | |
Resources: | |
* http://en.wikipedia.org/wiki/8-bit_color | |
* http://en.wikipedia.org/wiki/ANSI_escape_code |