Skip to content

Instantly share code, notes, and snippets.

View xtexChooser's full-sized avatar

xtex xtexChooser

View GitHub Profile
@cloudwu
cloudwu / clog.c
Created February 5, 2024 04:49
concurrence log
#include "clog.h"
#include <stdatomic.h>
#include <stdlib.h>
#include <string.h>
#define LOGMETA_BUFFER 4096
#define LOGDATA_BUFFER (64 * 1024)
// [..........................]
// ^
@kassane
kassane / std_log.md
Last active June 19, 2024 16:53 — forked from leecannon/std_log.md
Quick overview of Zig's `std.log`

A simple overview of Zig's std.log for Zig v0.12.0 or higher

Logging functionality that supports:

  • If a log message should be printed is determined at comptime, meaning zero overhead for unprinted messages (so just leave the code peppered with debug logs, but when it makes sense scope them; so downstream users can filter them out)
  • Scoped log messages
  • Different log levels per scope
  • Overrideable log output (write to file, database, etc.)
  • All the standard std.fmt formatting magic

Basic Usage:

@djkcyl
djkcyl / qq_message_xml.md
Created December 4, 2021 15:16 — forked from mnixry/qq_message_xml.md
QQ的XML消息格式整理

QQ的XML消息格式整理

QQ可以使用xml的方式发送消息,以下为了方便描述统称为卡片。

发送方式

通过机器人的API进行发送xml即可,但是如果选择发送xml,那么其他如[image=xxx][@xxx]这些命令就不可使用了。整个消息只有XML。

基本结构

@NKID00
NKID00 / Minecraft 1.17.1 逻辑服务器游戏流程.md
Last active December 17, 2021 11:18
Minecraft 1.17.1 逻辑服务器游戏流程

基于 Minecraft: Java Edition 1.17.1 和 yarn-1.17.1+build.14-v2 映射

声明:

Minecraft 源码版权属于 Mojang。本文并非 Minecraft 官方产品,与 Mojang 无任何关联。

鸣谢:

编写本文时使用了以下软件: >

@T3sT3ro
T3sT3ro / renderdoc-how-to.md
Last active March 19, 2024 05:47
describes how to launch renderdoc with java gradle project on minecraft "Create" mod example

So you want to launch RenderDoc with Java, huh?

Here is a good resource to check out first

First of all, check what command is run when you in fact launch your app. For me (Create minecraft mod) this command was executed when I run runClient configuration (line breaks, tabs and backslashes added for readability):

Step 1. command for running minecraft with mods - generated by gradle

/home/tooster/.sdkman/candidates/java/14.0.1-open/bin/java
@Prakasaka
Prakasaka / bash-colors.md
Created July 25, 2020 09:14 — forked from JBlond/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@John-Paul-R
John-Paul-R / FabricModList.md
Last active June 5, 2024 16:25
A list of (almost all) mods for Fabric

Fabric Mod List

This page contains a list of the current Minecraft Fabric mods. (As of 2021-08-19 08:05:23 Timezone: UTC+0000 (GMT))

To search for mods by name, category, or download count, visit the website, fibermc.com!

Note: You can view a mod's source files by following the "Source" link on its CurseForge page, assuming that the mod's creator has made such files public.

There are currently 2954 mods in this list.