Skip to content

Instantly share code, notes, and snippets.

😑
Expressionless master

erm3nda erm3nda

😑
Expressionless master
Block or report user

Report or block erm3nda

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View wpa_cli_wps_automation.sh
#!/bin/bash
# automate WPS Push Button using wpa_supplicant
# see also: https://w1.fi/cgit/hostap/plain/wpa_supplicant/README-WPS
# make this script run at boot-time
INHIBIT="/etc/wpa_supplicant/wps_inhibit"
if [ -e $INHIBIT ]; then
exit 0
fi
@erm3nda
erm3nda / Ring of Elysium low config settings file.txt
Created Jun 18, 2019
Set minimum ROE settings at Settings file
View Ring of Elysium low config settings file.txt
1. go to \Ring of Elysium\UserData
2. edit the CurrentSettings2.xml
3)replace the code with this
Code:
<NewObj ObjName="UserData.EuSystemSettingsConfigCurrent" Version="1">
<EuSystemSettingsConfig>
<Graphics eResolution="EQR_1366_768" eGraphicQuality="ECT_Low" eFullScreenMode="EFSM_Windowed" bAutoDetect="false" bNoIsotype="false" iScaleUI="0" iFovFPP="1" eAntiAliase="EAAM_Simple" eRenderStyle="ERS_Colorful" iVegetationShadowQualityScalar="0" iVegetationShadowQualityScalarMax="0" iVegetationLodScalar="0" iVegetationLodScalarMax="0" iVegetationDensity="0" iVegetationDensityMax="0" bSMResolution="false" bSMResolutionVisible="false" bVSync="false" bHighlights="false"/>
<Sound bEnableSound="true" bEnableEffectSound="true" bEnableUISound="true" bEnableMusic="true" bEnableRadio="true" iMasterVolume="43" iSoundEffectVolume="47" iUISoundVolume="0" iMusicVolume="0" iRadioVolume="70" bEnableSoundInBackground="true" eMyVoiceMode="EMV_Disable" eVoiceChannel="EVC_Team" iVoiceOutput="2" iVoiceInput="2" backupVoiceMod
@erm3nda
erm3nda / customizedVerticalSwipe.reg
Created Jun 14, 2019 — forked from antys10g/customizedVerticalSwipe.reg
Dell m4700 alps touchpad verticall swipe customization
View customizedVerticalSwipe.reg
;On Dell precision m4700 there is alps touch pad with driver version : 10.1207.101.109,
;which supports up to three fingers, but doesn't support windows precision(type) touch pad
;(replacing with generic alps precision drivers don't work),
;multiswipe.com doesn't work either,
;so there is no way of customizing gestures in convenient way.
;
;In my case I wanted to achieve three fingers horizontal swipe to change between
;window10 virtual desktops like Ctrl+Windows+Arrow Left/Right do.
;
;If you want to customize your alps touch pad 2 finger vertical swipe
@erm3nda
erm3nda / Gestures_2-3TapClick.reg
Created Jun 13, 2019 — forked from MerlinSmiles/Gestures_2-3TapClick.reg
Dell ALPS - Registry hack to add right-click as a 2 finger tap and middle-click as a 3 finger tap gesture
View Gestures_2-3TapClick.reg
Windows Registry Editor Version 5.00
; 2-tap right click and 3-tap middle click
; current user
[HKEY_CURRENT_USER\SOFTWARE\Alps\Apoint\Gesture]
"2TapSupport"=dword:00000003
"2TapShow"=dword:00000009
"Enable2Tap"=dword:00000001
"2TapFunc"=dword:0000000d
View disable-windows-gamedvr.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR]
"AllowGameDVR"=dword:00000000; set to 1 or delete this entry to re-enable it.
@erm3nda
erm3nda / virtualbox_physical_disk.md
Last active Jun 14, 2019
VirtualBox create vmdk disk from physical drive
View virtualbox_physical_disk.md

For Windows

VBoxManage internalcommands createrawvmdk -filename "C:\Users<user_name>\VirtualBox VMs<VM_folder_name><file_name>.vmdk" -rawdisk \.\PhysicalDrive0

For Linux

VBoxManage internalcommands createrawvmdk -filename "</path/to/file>.vmdk" -rawdisk /dev/sda

To access other partitions, just append -partitions 1,2 to the command

@erm3nda
erm3nda / MSI_PS42_keyboard_fix.ahk
Last active Mar 12, 2019
MSI PS42 keyboard fix
View MSI_PS42_keyboard_fix.ahk
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#InstallKeybdHook
; -- Fixing MSI PS42 keyboard layout --
; Now both keys ç and Enter acts as Enter
; To insert regular ç just do it with Ctrl+ç
@erm3nda
erm3nda / android-6.0-adoptable-storage.txt
Last active Jun 15, 2019
Android 6.0 use SDCard as internal storage vía ADB using set-force-adoptable
View android-6.0-adoptable-storage.txt
# I have a LG K305 (K8) and without this it is fkng useless, just 1 game and 4 app's
adb shell sm list-disks
adb shell sm set-force-adoptable true
# 179,128 comes from sm list-disks command, double check it
adb shell sm partition disk:179,128 private
adb shell sm set-force-adoptable false
@erm3nda
erm3nda / upload.php
Created Sep 23, 2018
1 page PHP upload
View upload.php
<!DOCTYPE html>
<html>
<head>
<title>Upload your files</title>
</head>
<body>
<form enctype="multipart/form-data" action="upload.php" method="POST">
<p>Upload your file</p>
<input type="file" name="uploaded_file"></input><br />
<input type="submit" value="Upload"></input>
@erm3nda
erm3nda / spinner.py
Last active Nov 10, 2018
Python nested spintax parser
View spinner.py
#!/usr/local/env/ python
# -*- coding:utf-8 -*-
'''
This is a basic yet powerfull re function to parse any spintax text.
Works with nested curly brackets.
'''
import re, random
You can’t perform that action at this time.