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 Foundation; | |
import PlaygroundSupport; | |
//We use async in this program, it needs to go inf | |
PlaygroundPage.current.needsIndefiniteExecution = true; | |
///Struct for a Github Asset (file inside the release) | |
struct GithubReleaseAsset : Decodable { | |
///Name of the asset | |
let fileName: String; |
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
$schema: 'http://json-schema.org/draft-07/schema' | |
$id: https://raw.githubusercontent.com/H3VR-Modding/Mason/v1.0.0/schemas/project/root.json | |
type: object | |
title: Mason Project | |
description: A Mason project | |
examples: | |
- version: 1 | |
ignore: | |
- C10 | |
dependencies: |
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
<?xml version="1.0" encoding="utf-16"?> | |
<ResourceManifest | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<Name>Example Mod</Name> | |
<Guid>frityet.example</Guid> | |
<Assets> | |
<AssetManifest> | |
<Type>Texture</Type> | |
<Target>M1A1</Target> |
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
checking for architecture ... none | |
configure | |
{ | |
clean = true | |
buildir = build | |
ccache = true | |
kind = static | |
arch = none | |
mode = release | |
plat = cross |
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
Computer Information: | |
Manufacturer: Unknown | |
Model: Unknown | |
Form Factor: Desktop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: GenuineIntel | |
CPU Brand: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz | |
CPU Family: 0x6 |
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
#include <stdint.h> | |
#include <stdbool.h> | |
#include <math.h> | |
#include <stdio.h> | |
typedef struct { | |
uint16_t x, y; | |
} vector2_t; | |
#define POINT(_x, _y) (vector2_t) { .x = (_x), .y = (_y) } |
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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH |
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
[Serializable] | |
public struct IPv4Address | |
{ | |
public byte Element1, | |
Element2, | |
Element3, | |
Element4; | |
public UInt16 Port; |
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
template<typename T, T (*Get_F)(T *), void (*Set_F)(T *, T)> | |
class Property { | |
private: | |
T field_; | |
public: | |
explicit Property(T value) | |
{ this->field_ = value; } | |
[[nodiscard]] |
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
public unsafe class Memory : IDisposable | |
{ | |
public int Count { get; private set; } | |
public int MaxCount { get; private set; } | |
private byte* _pointer; | |
public byte[] Bytes | |
{ | |
get |
OlderNewer