This file contains hidden or 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
| #include "injector.h" | |
| #include <TlHelp32.h> | |
| #include <stdio.h> | |
| #define INJECTOR_FAIL(s) { printf(s " Error code: %d\n", GetLastError( ) ); return false; } | |
| namespace injector { | |
| namespace detail { |
This file contains hidden or 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
| /* | |
| This file contains definitions used in the Hex-Rays decompiler output. | |
| It has type definitions and convenience macros to make the | |
| output more readable. | |
| Copyright (c) 2007-2022 Hex-Rays | |
| */ |
This file contains hidden or 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
| #include <cstdint> | |
| enum e_cvar_flags : uint32_t { | |
| none = 0, | |
| unregistered = (1<<0), // If this is set, don't add to linked list, etc. | |
| developmentonly = (1<<1), // Hidden in released products. Flag is removed automatically if ALLOW_DEVELOPMENT_CVARS is defined. | |
| gamedll = (1<<2), // defined by the game DLL | |
| clientdll = (1<<3), // defined by the client DLL | |
| hidden = (1<<4), // Hidden. Doesn't appear in find or auto complete. Like DEVELOPMENTONLY, but can't be compiled out. | |
| priv /* protected */ = (1<<5) , // It's a server cvar, but we don't send the data since it's a password, etc. Sends 1 if it's not bland/zero, 0 otherwise as value |
This file contains hidden or 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
| # variables: | |
| # dest-dir: /home/ubuntu/backend | |
| # dest-server: dev server | |
| # pm2-instance-name: bruh | |
| trigger: | |
| - main | |
| pool: | |
| vmImage: ubuntu-latest |
This file contains hidden or 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
| -480p - Run tenfoot in 480p rather than 1080p | |
| -720p - Run tenfoot in 720p rather than 1080p | |
| -accesscode - | |
| -all_languages - show longest loc string from any language | |
| -bigpicture - Start in Steam Big Picture mode | |
| -blefw - | |
| -cafeapplaunch - Launch apps in a cyber cafe context | |
| -candidates - Show libjingle candidates for local connection as they are processed | |
| -ccsyntax - Spew details about the localized strings we load | |
| -cef-disable-breakpad - disables breakpad in crash dumps |
This file contains hidden or 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 * as fs from 'fs'; | |
| import * as astray from 'astray'; | |
| import { toMarkdown } from 'mdast-util-to-markdown'; | |
| import { fromMarkdown } from 'mdast-util-from-markdown'; | |
| /** | |
| * @param {string} file The "*.md" file path. | |
| */ | |
| export async function modify(file) { | |
| let content = await fs.promises.read(file, 'utf8'); |