This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
using namespace winrt::Windows::Foundation; | |
using namespace winrt::Windows::Networking::Sockets; | |
using namespace winrt::Windows::Storage::Streams; | |
using namespace winrt::Windows::Security::Cryptography; | |
using namespace winrt::Windows::Security::Cryptography::Core; | |
StreamSocketListener websocket_; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
css = os.path.abspath(os.path.join(os.path.dirname(__file__), 'remixicon.css')) | |
f = open(css, "r") | |
found = False | |
defines = [] | |
smin = "" | |
smax = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <chrono> | |
#include <iostream> | |
#include <regex> | |
#include <vector> | |
#include <pdh.h> | |
#include <pdhmsg.h> | |
#include <strsafe.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
constexpr DWORD kNotifyTrayIcon = WM_APP + 100; | |
NOTIFYICONDATA g_nid; | |
HMENU g_hMenu; | |
LRESULT CALLBACK WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, | |
LPARAM lParam) { | |
switch (uMsg) { | |
case WM_CREATE: { | |
g_hMenu = CreatePopupMenu(); | |
MENUITEMINFO mii{}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remote | |
Enable-PSRemoting -force | |
# Local | |
Set-Item wsman:\localhost\client\TrustedHosts -value * | |
Enter-PSSession -ComputerName 100.0.0.0 -Credential (Get-Credential -UserName a -Message "a") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am fecf on github. | |
* I am fecf (https://keybase.io/fecf) on keybase. | |
* I have a public key ASBUwPxI_Vk8ZMpRKESDSYg-hc7cTjxRjIsIPZcck_EsUgo | |
To claim this, I am signing this object: |