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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Start G-code | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
M117 Homing all axes | |
G28 ; Home all axes | |
M117 Preheating extruder to 160 | |
M104 S160 ; Preheat extruder to 160 | |
M117 Waiting for bed temperature | |
M190 S{material_bed_temperature_layer_0} ; Wait for bed temperature |
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
## 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 |
// ==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. |
powershell (Add-Type '[DllImport(\"user32.dll\")]^public static extern int PostMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::PostMessage(-1,0x0112,0xF170,2) |
diff --git a/.SRCINFO b/.SRCINFO | |
index 9fb5f01..959cdaf 100644 | |
--- a/.SRCINFO | |
+++ b/.SRCINFO | |
@@ -1,5 +1,3 @@ | |
-# Generated by mksrcinfo v8 | |
-# Sat Feb 3 01:55:40 UTC 2018 | |
pkgbase = quake2 | |
pkgdesc = Quake 2 engine. You need the retail .pak files to play. | |
pkgver = r0.16.2 |
rm -rf ~/.rvm | |
curl -sSL https://get.rvm.io | bash -s stable | |
rvm get stable --auto-dotfiles | |
source ~/.rvm/scripts/rvm | |
rvm reload | |
rvm cleanup all | |
rvm install "ruby-3.0.2" |
#!/bin/sh | |
CORSAIR_DIR='C:\Program Files (x86)\Corsair\CORSAIR iCUE Software' | |
function isadmin() { | |
net session &>/dev/null | |
return $? | |
} | |
if ! $(isadmin); then |