Skip to content

Instantly share code, notes, and snippets.

View ddan9's full-sized avatar
:octocat:
Nothing interesting. Maybe

Danil Rednine ddan9

:octocat:
Nothing interesting. Maybe
View GitHub Profile
@wpivotto
wpivotto / gist:3993502
Created November 1, 2012 13:02
Maximize VMWare images performance
Insert the following code into the *.VMX file:
sched.mem.pshare.enable = "FALSE"
mainMem.useNamedFile = "FALSE"
prefvmx.minVmMemPct = "100"
prefvmx.useRecommendedLockedMemSize = "TRUE"
mainMem.partialLazySave = "FALSE"
mainMem.partialLazyRestore = "FALSE"
priority.grabbed = "high"
priority.ungrabbed = "normal"
@bradwilson
bradwilson / gist:c0e4994f976e757bc7d5
Last active February 1, 2024 15:37
Tweaks to make to VMware .vmx files
# Disables touchscreen emulation
touchscreen.vusb.present = "FALSE"
# Enables support for nested hypervisors
hypervisor.cpuid.v0 = "FALSE"
vhv.enable = "TRUE"
vpmc.enable = "TRUE"
mce.enable = "TRUE"
vhu.enable = "TRUE"
sched.mem.pshare.enable = "FALSE"
mainMem.useNamedFile = "FALSE"
prefvmx.minVmMemPct = "100"
prefvmx.useRecommendedLockedMemSize = "TRUE"
mainMem.partialLazySave = "FALSE"
mainMem.partialLazyRestore = "FALSE"
priority.grabbed = "normal"
priority.ungrabbed = "normal"
#priority.grabbed = "high"
@vtjnash
vtjnash / vmware-fusion-optimizations.txt
Last active February 23, 2024 05:46
vmware-fusion-optimizations
mainmem.backing = "swap" # disable swapping
MemTrimRate = "0" # disable returning unused memory to the host
sched.mem.pshare.enable = "FALSE" # disable page sharing
prefvmx.useRecommendedLockedMemSize = "TRUE" # force memory to be pre-allocated on host
scsi0.virtualDev = "pvscsi" # fasted disk i/o subsystem (requires driver off pvscsi.flp floppy disk image)
scsi0:0.virtualSSD = 1 # if running off an SSD
## also, preallocate the VMDK disks
@Jekins
Jekins / Markdown-docs.md
Last active November 13, 2024 17:48
Руководство по оформлению Markdown файлов

Руководство по оформлению Markdown файлов

Markdown - это облегчённый язык разметки, который преобразует текст в структурированный HTML. Следующее руководство поможет вам разобраться, как использовать Markdown.

Заголовки

# Заголовок первого уровня
## Заголовок второго уровня
### Заголовок третьего уровня
#### Заголовок четвёртого уровня
##### Заголовок пятого уровня

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@peoplearmy
peoplearmy / gist:8292d2f1a23aa8e5c5bc98d66538bd02
Created March 6, 2017 21:23 — forked from bradwilson/gist:c0e4994f976e757bc7d5
Tweaks to make to VMware .vmx files
# Disables touchscreen emulation
touchscreen.vusb.present = "FALSE"
# Enables support for nested hypervisors
hypervisor.cpuid.v0 = "FALSE"
vhv.enable = "TRUE"
vpmc.enable = "TRUE"
mce.enable = "TRUE"
vhu.enable = "TRUE"
@Pulimet
Pulimet / AdbCommands
Last active November 18, 2024 14:20
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@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.

@androidneha
androidneha / adb_commands.MD
Last active November 7, 2024 12:58
Some adb commands to change setting for battery optimisation, start service, stop service, grant permission, revoke permission and etc.

To list-up installed app

pm list packages

Search for a particualr app with pacakagename

pm list pacakges | grep com.abc

Turn on Battery Optimization for a particular app

adb shell dumpsys deviceidle whitelist -<package_name>

Turn off Battery Optimization for a particular app