for GitHub!
Copy registry.py
into the root of any GitHub repository
Oh, and you'll need Python 3!
for GitHub!
Copy registry.py
into the root of any GitHub repository
Oh, and you'll need Python 3!
class MatchesRegexMatcher { | |
std::vector<std::string> _patterns; | |
public: | |
template <typename... Args> | |
MatchesRegexMatcher(std::string pattern, Args... args) : _patterns({pattern, args...}) {} | |
const std::vector<std::string>& GetPatterns() const { return _patterns; } | |
bool Matches(const std::string& text) const { |
--- | |
UseTab: Never | |
TabWidth: '4' | |
IndentWidth: '4' | |
BasedOnStyle: Google | |
AccessModifierOffset: -4 | |
ColumnLimit: 100 | |
NamespaceIndentation: All | |
IndentPPDirectives: BeforeHash | |
FixNamespaceComments: false |
#include "logger.h" | |
class OurEventSink : public RE::BSTEventSink<RE::TESHitEvent>, | |
public RE::BSTEventSink<RE::TESActivateEvent>, | |
public RE::BSTEventSink<SKSE::CrosshairRefEvent>, | |
public RE::BSTEventSink<RE::MenuOpenCloseEvent>, | |
public RE::BSTEventSink<RE::InputEvent*> { | |
OurEventSink() = default; | |
OurEventSink(const OurEventSink&) = delete; | |
OurEventSink(OurEventSink&&) = delete; |
{ | |
"workbench.colorCustomizations": { | |
"[Just Black]": { | |
"editorRuler.foreground": "#ff00d0", | |
"activityBar.inactiveForeground": "#ff00d0", | |
"menubar.selectionForeground": "#00ffff", | |
"activityBar.foreground": "#00ffff", | |
"titleBar.activeForeground": "#00ffff", | |
"sideBarSectionHeader.foreground": "#ff00d0", | |
"sideBarTitle.foreground": "#ff00d0", |
Wow, in the years since I created this gist, winget
has come a LONG way.
The sudo
command is now part of Windows.
Heck, we even have a terminal edit
text editor.
This now simply represents some common lists of packages I tend to install :)
# Callable from cmd | |
powershell Get-Content -Raw Replace.txt | % { $_ -replace "foo", "XXX" } | Set-Variable x; Set-Content Replace.txt $x |
auto ReadFile(std::filesystem::path path) { | |
auto ifs = std::ifstream(path); | |
return std::string(std::istreambuf_iterator<char>{ifs}, {}); | |
} |