Skip to content

Instantly share code, notes, and snippets.

View sonyps5201314's full-sized avatar

sonyps5201314

View GitHub Profile
@extremecoders-re
extremecoders-re / vmware-no-vmem.md
Last active April 6, 2024 08:09
Boost VMWare Performance by disabling vmem files.

Prevent creation of vmmem files in VMware (Windows)

Issue

VMWare creates .vmem files to back the guest RAM. On the host this causes disk thrashing especially during powering on and off the guest.

Solution

Add the following lines to the .vmx file to prevent creation of .vmem files. This will reduce disk IO and VM performance will improve especially on non-SSD disks.

@mattmc3
mattmc3 / tasks.json
Created April 6, 2017 00:44
VSCode tasks for running a Makefile
// Makefile
// ${workspaceRoot} the path of the folder opened in VS Code
// ${file} the current opened file
// ${fileBasename} the current opened file's basename
// ${fileDirname} the current opened file's dirname
// ${fileExtname} the current opened file's extension
// ${cwd} the task runner's current working directory on startup
{
"version": "0.1.0",
"command": "bash",
@MewX
MewX / build_luajit_for_android-ndk-r10e_under_cygwin.md
Last active April 23, 2018 04:57
Build LuaJIT for android-ndk-r10e under Cygwin

Build LuaJIT for android-ndk-r10e under Cygwin

This post is to make libs for armeabi, armeabi-v7a, x86 and mips instruction sets.

But the official tutorial is not clear in Windows platform, and the version is too old. So I just write them down.

To begin with, you should have already installed Cygwin32, and change the path to your own path first!

And, a key point is too add TARGET_SYS=Linux when in Windows platform.