Skip to content

Instantly share code, notes, and snippets.

View mark05e's full-sized avatar

mark05E mark05e

View GitHub Profile
sc config "VMwareHostd" start= disabled
sc config "VMware NAT Service" start= disabled
sc config "VMUSBArbService" start= disabled
sc config "VMnetDHCP" start= disabled
sc config "VMAuthdService" start= disabled
net stop "VMwareHostd"
net stop "VMware NAT Service"
net stop "VMUSBArbService"
net stop "VMnetDHCP"
@mark05e
mark05e / acr15-emaconfig-removal.bat
Last active July 3, 2019 03:42
Script to remove EMA Config files - Avaya Contact Recorder v15.x
: *****************************************************************
: SCRIPT TO REMOVE EMA CONFIG FILES - Avaya Contact Recorder v15.x
: Ref: Avaya Contact Recorder Integration to Workforce Optimization Guide Version 15.2
: Topology Changes, Page 38
: *****************************************************************
: by Mark@????
@echo off
: ------------
@mark05e
mark05e / acr-uninstall-screencap.bat
Created July 13, 2019 05:50
Uninstall Screen Capture software - Avaya Contact Recorder
:: UNINSTALL SCREEN CAPTURE (AVAYA CONTACT RECORDER)
:: AUTHOR: MARK
:: MODDED FROM: https://community.spiceworks.com/topic/2143980-deploy-or-upgrade-java-8-via-shutdown-script-remove-old-javas
:: It extracts software software GUID, then use the GUID to search the name and version
@echo off
setlocal ENABLEDELAYEDEXPANSION
set SoftwareName=Screen Capture Module
set x86GUID=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
set x64GUID=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
@mark05e
mark05e / apache-superset-on-windows10.md
Last active January 16, 2025 17:30
Installing Apache Superset on Windows 10

Installing Apache Superset on Windows 10

⚠️ WARN: This doc might be outdated. Use with caution. Only tested with Python v3.7

🙋‍♂️ INFO: If you have fixes/suggestions to for this doc, please comment below.

🌟 STAR: This doc if you found this document helpful.


@mark05e
mark05e / set_ie_proxy.ahk
Created August 29, 2019 07:05
AHK Script to enable/disable proxy. Works on Win10 too!
; set_ie_proxy.ahk
;#################################################################################
; Enable/Disable IE Proxy
;#################################################################################
; ref: https://autohotkey.com/board/topic/101854-switch-proxy-on-or-off/?p=633874
SetProxy("proxy.myproxyprovider.com:1234",1)
,HostProxy=RegRead(,,"ProxyServer")
,ProxyStatus=RegRead(,,"ProxyEnable")
@mark05e
mark05e / my_ie_proxy.ahk
Last active May 16, 2024 16:37
AHK Script with GUI to enable/disable proxy. Works on Win10 too!
; my_ie_proxy.ahk
;#################################################################################
; Enable/Disable IE Proxy with GUI
;#################################################################################
; ref: //autohotkey.com/board/topic/101854-switch-proxy-on-or-off/?p=634033
global AddressPort = "proxy.myproxyprovider.com:1234"
Gui, Add, Text, x20 cBlue, %AddressPort%
Gui, Add, Button, x26 y20 w100 h30 Gon , I'm at work
@mark05e
mark05e / log-collection.ps1
Last active August 30, 2019 03:38
A crude log collection script in powershell
#ref: https://stackoverflow.com/a/9587943/2854578
$sourceDir = "C:\Users\mark\AppData\"
$targetDir = "E:\temp2\temptest\"
$includefiletype = @("*.log*", "*.log")
$startDateTime = "2019-08-29 8:18:00 PM"
$endDateTime = "2019-08-29 8:20:00 PM"
Get-ChildItem -Path $sourceDir -Include $includefiletype -Recurse |
Where-Object { $_.LastWriteTime -ge $startDateTime -and $_.LastWriteTime -le $endDateTime} |
@mark05e
mark05e / mark.preset
Last active September 12, 2019 17:34
My preset for Win10-Initial-Setup-Script
##########
# Win 10 / Server 2016 / Server 2019 Initial Setup Script - Mark's Presets
# Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
##########
### Require administrator privileges ###
RequireAdmin
### Privacy Tweaks ###
DisableTelemetry # EnableTelemetry
@mark05e
mark05e / .hyper.js
Created September 14, 2019 16:10
Config for hyper's terminal app (https://hyper.is/) with plugin hyper-launch-menu
module.exports = {
config: {
// truncated
// hyper-launch-menu configuration
shells: [
{Name: "CMD", shell: 'cmd.exe', args: ['--login']},
{name: "Powershell", group: [
{name: "Windows", shell: "powershell.exe", args: ['--login']},
{name: "Core", shell: "C:\\tools\\powershell-core7\\pwsh.exe", default: true},