Skip to content

Instantly share code, notes, and snippets.

View mitchell-merry's full-sized avatar

Mitchell Merry mitchell-merry

  • Atlassian
  • Sydney, Australia
View GitHub Profile
@apple1417
apple1417 / unreal_introspection.md
Last active May 10, 2023 23:49
Crash Course in Unreal Engine Introspection
@sevenc-nanashi
sevenc-nanashi / ansi-colors-discord-ja.md
Last active October 31, 2023 04:37 — forked from kkrypt0nn/ansi-colors-discord.md
ANSIコードをDiscordで

色つきのメッセージ:

Discordは現在自由に色がつけられるコードブロックをロールアルトしています。ANSIカラーコードを使っているため、ターミナルに色つき文字を出力しようとしたことがある人は簡単にできるでしょう。

色つきのメッセージを送るには、コードブロックの言語をansiにしてこのようなプレフィックスを前につける必要があります:

\u001b[{設定}m

{設定}には変更する{スタイル}{文字色}{背景色};区切りで指定できます。 例:

@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active July 21, 2024 12:46
A guide to ANSI on Discord

A guide to ANSI on Discord

Discord is now slowly rolling out the ability to send colored messages within code blocks. It uses the ANSI color codes, so if you've tried to print colored text in your terminal or console with Python or other languages then it will be easy for you.

Quick Explanation

To be able to send a colored text, you need to use the ansi language for your code block and provide a prefix of this format before writing your text:

\u001b[{format};{color}m

\u001b is the unicode escape for ESCAPE/ESC, meant to be used in the source of your bot (see ). If you wish to send colored text without using your bot you need to copy the character from the website.

@TheSoundDefense
TheSoundDefense / README.md
Last active May 14, 2024 15:08
Tutorial - how to create a LiveSplit component

Creating a LiveSplit component

Since LiveSplit's official documentation is a work in progress, and I couldn't find another guide for this anywhere else, I decided I would write my own. This will hopefully act as a good reference for getting started and making simple components, de-mystifying the process.

Things you will learn:

  • How to set up your Visual Studio project
  • How to set up the code structure of your component
  • How to create a simple InfoTextComponent (which displays a label on the left, and some text on the right)
@inaz2
inaz2 / client.c
Created March 4, 2016 08:20
IPv6 server & client in C
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
void ping(int s, char *message)
{
char buf[8192];
@deekayen
deekayen / 1-1000.txt
Last active July 18, 2024 15:12
1,000 most common US English words
the
of
to
and
a
in
is
it
you
that