Skip to content

Instantly share code, notes, and snippets.

Mayrun mayrund

Block or report user

Report or block mayrund

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
mayrund / openvpn_config.txt
Last active Aug 1, 2019
extra OpenVPN configuration
View openvpn_config.txt
# add this to keep using the local DNS server
pull-filter ignore "dhcp-option DNS"
# or add this if you would like to use a specific DNS server when connecting with
dhcp-option DNS
mayrund /
Created Jul 29, 2017
Armbian fix locale problem
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
mayrund / Network Initialization Failed C:\PDOXUSERS.NET Permission Denied
Created Nov 21, 2016
Network Initialization Failed C:\PDOXUSERS.NET Permission Denied
View Network Initialization Failed C:\PDOXUSERS.NET Permission Denied
EDBEngineError-Network Initialization Failed
Permission Denied
Directory: c:\
1. Create a new directory such as C:\BDEShare or use an existing folder (like My Documents).
2. Start the BDE Administration utility, located in: C:\Program Files (x86)\Common Files\Borland Shared\BDE\BDEADMIN.EXE
3. Click Configuration -> Drivers -> Native -> Paradox
4. Cick on the path next to NET DIR
5. Click the browse button to the right of the path
View C#_CaptureHTTP_request
private string GetRequest()
var headers = String.Empty;
StringBuilder sb = new StringBuilder();
sb.AppendLine("URL: " + Context.Request.Url);
sb.AppendLine("IP address:" + Context.Request.UserHostAddress);
sb.AppendLine("HttpMethod " + Request.HttpMethod);
foreach (var key in Request.Headers.AllKeys)
sb.AppendLine(key + "=" + Request.Headers[key]);
View firebird_sql_add_user.txt
1. gsec -user SYSDBA -password masterkey
2. add test -pw test -fname Test -lname Account
3. exit
4. login with user test & password test
mayrund / uninstall_windows_service.vbs
Created Jun 8, 2016
Uninstall Windows Service VBScript
View uninstall_windows_service.vbs
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colListOfServices = objWMIService.ExecQuery _
("Select * from Win32_Service Where Name = 'Name_Of_Service_You_Want_To_Uninstall_Here'")
For Each objService in colListOfServices
mayrund / getPortByProcessName.bat
Last active Nov 19, 2016
Windows Get Port by Process Name
View getPortByProcessName.bat
for /f "tokens=2 delims=," %F in ('tasklist /nh /fi "imagename eq sqlservr.exe" /fo csv') do netstat -oan | findstr %~F
(Note: Please replace % with %% when running in Batch file instead of Command Line)
mayrund / KB2468871
Created Dec 8, 2015
Microsoft.Bcl.Async not being able to resolve System.Core version
View KB2468871
Please install KB2468871, which solves the issue related to Microsoft.Bcl.Async not being able to resolve System.Core version
See also Issue 8 in the async targeting pack knowledge base.
Here are the direct download links for the fixes, for the x86 and x64 environments:
mayrund / windows_must_have_apps
Last active Nov 17, 2015
# windows must have apps #
View windows_must_have_apps
# Generic
* Beyond Compare
* grepWin - find and replace tool
* BareTail - A free real-time log file monitoring tool
* TreeSize Free - Quickly Scan Directory Sizes and Find Space Hogs
* Lockhunter - release locked files
* CDBurnerXP - burn cd/dvd and create iso files
* VirtualCloneDrive - mount iso files
* WinRAR / 7zip
You can’t perform that action at this time.