Skip to content

Instantly share code, notes, and snippets.


Mohamed ElShahawi ExtremeGTX

  • Germany
View GitHub Profile
ExtremeGTX /
Created Apr 16, 2020 — forked from nicktoumpelis/
Cleans and resets a git repo and its submodules
git clean -xfd
git submodule foreach --recursive git clean -xfd
git reset --hard
git submodule foreach --recursive git reset --hard
git submodule update --init --recursive
ExtremeGTX / ProcessExtensions.cs
Created Jul 26, 2018 — forked from heri16/ProcessExtensions.cs
Powershell / C# class to start a GUI Windows Process on the desktop/session of any logged-in RDP/TS user.
View ProcessExtensions.cs
using System;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
using System.IO;
namespace heri16
/// <summary>
/// Static class to help Start a GUI/Console Windows Process as any user that is logged-in to an Interactive Terminal-Session (e.g. RDP).