Skip to content

Instantly share code, notes, and snippets.

View LuigiBlood's full-sized avatar
🎮

LuigiBlood

🎮
View GitHub Profile
@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active August 23, 2024 15:05
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
@HybridEidolon
HybridEidolon / microsoftpls.md
Last active May 28, 2020 11:26
PSO2 NA Problems

PSO2 NA Problems

Last updated May 28, 2020 00:07 UTC

Look, I don't know what to tell anyone at this point. SEGA and Microsoft have so thoroughly botched this release that it's going to take some serious effort to get it working if you are having issues. Short of reinstalling Windows 10, I don't know what to say for anyone who really wants to play this right now. Whatever you do, do not spend money on this game until they fix this, though, because there is no telling how badly this junk release is going to break down the road.

Game errors

Missing DLL vivoxsdk.dll

@NWPlayer123
NWPlayer123 / do_strings.py
Last active November 17, 2018 16:11
IDAPython script to create strings the way I like, just do W at the base of a string, only tested on IDA7
# Press W, creates string there, creates align/word, renames to a non-conflicting name
import idaapi, idc, inspect
from io import BytesIO
def get_selected_bytes():
#BOOL multiple, start, end
selected = idaapi.read_selection()
curr_ea = idc.get_screen_ea()
return [selected, curr_ea]
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active September 13, 2024 03:14
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
/*
Quick SDL2 wrapper for uPNG
d@revenant1.net
This code is public domain.
*/
// https://github.com/elanthis/upng
#include "upng/upng.h"
#include <SDL2/SDL.h>
@sebasten
sebasten / E32018.md
Last active February 12, 2024 22:02
Planning E3 2018

E3 2018

Vidéos de jeux (par date) | Vidéos de jeux (par ordre alphabétique) | Liens utiles | Une question, une remarque, un truc que j'ai oublié ? DM @netsabes

Le planning des confs au format .ics pour l'ajouter à votre 📆 agenda est ici.

Tous les horaires sont indiqués à l'heure de Paris.

⚠️ Quelques conseils de survie (parce que bon, c'est des jeux vidéo et on fait des blagues sur Twitter, mais c'est aussi du travail à des horaires pénibles) : évitez de perdre votre nuit à tout regarder en direct, ça ne sert pas à grand chose et au réveil on peut voir les mêmes vidéos. Si vous le faites quand même, évitez de manger trop gras, buvez de

@matthewzring
matthewzring / markdown-text-101.md
Last active September 20, 2024 08:56
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@SciresM
SciresM / switch_romfs.py
Created July 19, 2017 01:10
Switch RomFS (IStorage) -> Files
from struct import unpack as up
import sys, os
dirs, files = None, None
def read_at(fp, off, len):
fp.seek(off)
return fp.read(len)
def read_u8(fp, off):
@panzi
panzi / portable_endian.h
Last active August 9, 2024 13:12
This provides the endian conversion functions form endian.h on Windows, Linux, *BSD, Mac OS X, and QNX. You still need to use -std=gnu99 instead of -std=c99 for gcc. The functions might actually be macros. Functions: htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh. License: I hereby put …
// "License": Public Domain
// I, Mathias Panzenböck, place this file hereby into the public domain. Use it at your own risk for whatever you like.
// In case there are jurisdictions that don't support putting things in the public domain you can also consider it to
// be "dual licensed" under the BSD, MIT and Apache licenses, if you want to. This code is trivial anyway. Consider it
// an example on how to get the endian conversion functions on different platforms.
#ifndef PORTABLE_ENDIAN_H__
#define PORTABLE_ENDIAN_H__
#if (defined(_WIN16) || defined(_WIN32) || defined(_WIN64)) && !defined(__WINDOWS__)