Skip to content

Instantly share code, notes, and snippets.


Vitaly Novichkov Wohlstand

View GitHub Profile
Wohlstand / vb6_to_cpp.html
Last active Oct 8, 2021
The code piece used by me in early process of SMBX to TheXTech porting
View vb6_to_cpp.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>VB6 to CPP</title>
<script type="text/javascript">
function replaceType(tpe)
tpe = tpe.trim();
Wohlstand / wohlstand's-policy.txt
Last active Sep 29, 2021
Privacy policy of WohlstandFox' Android applications
View wohlstand's-policy.txt
I don't collect any personal data at all,
I don't need them at all.
I do respect people's privacy and I don't
collect anything except anonymous debug logs
made by Google itself, and only these reports
people submit by themselves directly.
Most of my applications are fully standalone
and they don't require networking at all.

Keybase proof

I hereby claim:

  • I am wohlstand on github.
  • I am wohlstandfox ( on keybase.
  • I have a public key ASBzRSz-8e1YdiVlBDAeOx3SCeE3RpDlxYhtixUkW_k1tAo

To claim this, I am signing this object:

Wohlstand / winapi_get_process_by_pid.c
Created Sep 24, 2019
C WinAPI Example of PIDs retrieving by absolute executable file path matching
View winapi_get_process_by_pid.c
#include <windows.h>
#include <psapi.h>
#include <stdio.h>
#include <wchar.h>
#ifdef _WIN64
/* This call is available since Windows Vista. It's useless on 32-bit builds. */
typedef BOOL (*call_EnumProcessModulesEx)(HANDLE, HMODULE*, DWORD, LPDWORD, DWORD);
static call_EnumProcessModulesEx g_EnumProcessModulesEx = NULL;
View pge-forums-rules-en.bbcode
[i][Version 12-aug-2019][/i]
[b]Welcome to the PGE project forum![/b]
For the purpose of order/maintenance at this forum, we have the following rules:
[list][*] [u][b]FORUM REGISTRATION[/b][/u].
- Once you have registered an account on this forum, [b]your first post will be pre-moderated[/b] to avoid spam.
- It's recommended (but is not required) to make an introduction of yourself in [url=]this section[/url] as your first post.
Wohlstand / ss5.service
Created Apr 12, 2018
Systemd script for SS5 Socks proxy
View ss5.service
Description=SS5 Socks Proxy
# The PID file is optional, but recommended in the manpage
# "so that systemd can identify the main process of the daemon"
ExecStart=/usr/sbin/ss5 -p /var/run/ -u root -b
Wohlstand /
Created Nov 10, 2017
Mark all ELF files as executable
find . -exec file {} \; | grep -i ELF | cut -d':' -f1 | while read line; do chmod a+x $line; done
Wohlstand / merge_ts.php
Created Aug 14, 2017
Merge Qt Linguist TS files
View merge_ts.php
$tsSrc = "editor_en_old.ts";
$tsToMerge = "editor_en.ts";
$tsDst = "newts.ts";
$xmlOld = simplexml_load_file($tsSrc);
$xmlHoe = simplexml_load_file($tsToMerge);
Wohlstand / .astylerc
Created Dec 26, 2016
My artistic style config (All-man breckints style, keep empty lines, add space between operators, etc.)
View .astylerc
# ~/.astylerc
# Courtesy of HN's super_mario:
# Use allman formatting style
Wohlstand / ini2wiki.php
Created Aug 22, 2016
Converting music.ini pieces to Wiki-table
View ini2wiki.php
$ar = parse_ini_file("music.ini", true);
echo "{{StdItemTable|Level Music|Level music file-name|3=\n";
for($i=1;$i<=56; $i++)
echo "{{StdItemTable/row| $i | ".$ar["level-music-".$i]["file"]." | ".$ar["level-music-".$i]["name"]."| }}\n";