Skip to content

Instantly share code, notes, and snippets.

View Francesco149's full-sized avatar
:shipit:
memes

lolisamurai Francesco149

:shipit:
memes
View GitHub Profile
syntax on
set number
highlight LineNr ctermfg=darkgrey
set expandtab
set shiftwidth=4
set smarttab
set tabstop=4
set autoindent
set nowrap
!# ______ __ __ __ __ ______ ______ ______ __ ______
!# /\ ___\ /\ \_\ \ /\ "-.\ \ /\ __ \ /\ == \ /\__ _\ /\ \ /\ ___\
!# \ \___ \ \ \____ \ \ \ \-. \ \ \ __ \ \ \ _-/ \/_/\ \/ \ \ \ \ \ \____
!# \/\_____\ \/\_____\ \ \_\\"\_\ \ \_\ \_\ \ \_\ \ \_\ \ \_\ \ \_____\
!# \/_____/ \/_____/ \/_/ \/_/ \/_/\/_/ \/_/ \/_/ \/_/ \/_____/
!#
!# General
border.width: 1
#include <stdio.h>
#include <stdint.h>
#include <string.h>
/* the keys are ecoded as arrays of bit indices to set. the result
string is treated as a big integer */
/* only key6 is actually used, the others use bit arrays that
overlap with eachother in the game's memory so they're probably
only there for obfuscation */
/*
basic doom-style 3D demo in pure software rendering in < 400 LOC.
sdl is only used to blit the finished frame to a window and handle input
heavily inspired by
[bisqwit's qbasic demo](https://youtu.be/HQYsFshbkYw?t=42s)
![](https://media.giphy.com/media/xUOwGeOoHG9u6DX6W4/giphy.gif)
# rationale
/*
* some methods in love live school idol festival have obfuscated strings. not
* sure if this is a thing built into java or if it's some known obfuscator,
* but either way this is a small tool to decipher them
*
* the pseudocode will usually look something like this
*
* ```c
* v6 = "ke|RarsmsnRapeawi";
* v7 = 2;

shigebot 2.1

by Franc[e]sco/lolisamurai

Available commands for channel #sakurafrost225 (+ = mod only):

  • +!cmdadd command_name command_text
  • +!cmdremove command_name
  • +!cmdedit command_name new_command_text
  • +!modonly command_name yes/no
@Francesco149
Francesco149 / set-up-xcodegen-signing-personal-team.md
Last active June 24, 2020 14:06
how to set up iOS code signing with a personal free provisioning team with xcodegen

I recently wrestled with the clusterfuck that is iOS code signing, so here's my setup to set up a swift xcodegen project signed with a personal (free) provisioning team. this doesn't require an apple developer account, just a regular apple id.

you'll be able to build whole thing from the command line without ever have to touch xcode ever again.

this was tested with xcode 10.0 (10A255) on High Sierra

@Francesco149
Francesco149 / docker-cross-device-link.md
Last active October 27, 2023 08:51
docker error creating new backup file '/var/lib/dpkg/status-old': Invalid cross-device link
@Francesco149
Francesco149 / building-qtwebengine-on-windows.md
Last active April 4, 2024 22:54
how to build qtwebengine and qutebrowser on windows with proprietary codecs

quick n dirty notes so I don't forget

choco install -y strawberryperl gperf visualcpp-build-tools windows-sdk-10.0

#!/usr/bin/env python
'''
utils to pack and unpack single-precision floats in IEEE 754
I wrote this to get used to bit twiddling with IEEE
this is free and unencumbered software released into the public domain
'''