Skip to content

Instantly share code, notes, and snippets.

View NekoNoor's full-sized avatar

Mia Winter Schat NekoNoor

  • Amsterdam, Netherlands
View GitHub Profile

ft_printf format placeholder specification

Formatting takes place via placeholders within the format string. For example, if a program wanted to print out a person's age, it could present the output by prefixing it with "Your age is ". To denote that we want the integer for the age to be shown immediately after that message, we may use the format string:

printf("Your age is %d", age);

Syntax

The syntax for a format placeholder is

{
"+tweakers": [
"org.dimdev.riftloader.launch.RiftLoaderClientTweaker"
],
"formatVersion": 1,
"+libraries": [
{
"name": "org.dimdev:rift:1.0.4-106",
"url": "https://www.dimdev.org/maven/"
},

Keybase proof

I hereby claim:

  • I am NekoNoor on github.
  • I am seddihz (https://keybase.io/seddihz) on keybase.
  • I have a public key whose fingerprint is 66B9 5275 402A FAEC 2334 9CD5 CF65 83B3 703D 254B

To claim this, I am signing this object:

@NekoNoor
NekoNoor / guide.md
Last active April 12, 2024 16:06
[Tutorial] How to run Minecraft: Java Edition on the nintendo switch with linux

[Tutorial] How to run Minecraft: Java Edition on the nintendo switch with linux

THIS DOES NOT WORK YET! Scroll down to the bottom if you would like to help.

For this tutorial I am assuming you already have linux set up with the KDE + graphics acceleration rootfs. If you haven't set it up. Check out how to do that in this thread: https://gbatemp.net/threads/quick-tuto-how-to-boot-linux-on-your-switch.501918/

This tutorial is based off an existing tutorial for the raspberry pi: https://www.raspberrypi.org/forums/viewtopic.php?t=186547 The run script isn't mine and was written by rogerallen, i have adapted it to work on the nintendo switch.

@NekoNoor
NekoNoor / linux-lovepotion-switch.md
Last active February 23, 2018 15:53
Linux guide on how to compile LovePotion for the Nintendo Switch

Linux LovePotion Switch Guide

Follow this to set up a development environment.

Clone the switch branch of the LovePotion git repo.

git clone -b switch https://github.com/TurtleP/LovePotion.git
---- Minecraft Crash Report ----
WARNING: coremods are present:
LoadingPlugin (Quark-r1.2-104.jar)
IELoadingPlugin (ImmersiveEngineering-0.12-71.jar)
BCModPlugin (backpacks 1.12 - 3.3.0.jar)
HammerCoreCore (HammerCore-1.12-1.9.4.0.jar)
CoreMod (Aroma1997Core-1.12-1.3.0.0.b103.jar)
SFRCore (SolarFluxReborn_1.12-3.25r.jar)
CoreModLoader (applied-llamagistics-1.12-rv5-beta-7.jar)

Keybase proof

I hereby claim:

  • I am Seddigirl on github.
  • I am seddihz (https://keybase.io/seddihz) on keybase.
  • I have a public key whose fingerprint is 66B9 5275 402A FAEC 2334 9CD5 CF65 83B3 703D 254B

To claim this, I am signing this object:

@NekoNoor
NekoNoor / size binary
Created April 4, 2017 20:07
size binary
/media/ExtraDocuments/Builds/efitest/unpackbinary
total 58088K
drwxr-xr-x 2 creeperlwd creeperlwd 4K Apr 4 18:18 .
drwxr-xr-x 14 creeperlwd creeperlwd 4K Apr 4 22:05 ..
-rw-r--r-- 1 creeperlwd creeperlwd 1K Apr 4 18:18 twrp.img-base
-rw-r--r-- 1 creeperlwd creeperlwd 1K Apr 4 18:18 twrp.img-cmdline
-rw-r--r-- 1 creeperlwd creeperlwd 4500K Apr 4 18:18 twrp.img-dt
-rw-r--r-- 1 creeperlwd creeperlwd 1K Apr 4 18:18 twrp.img-kernel_offset
-rw-r--r-- 1 creeperlwd creeperlwd 0K Apr 4 18:18 twrp.img-name
-rw-r--r-- 1 creeperlwd creeperlwd 1K Apr 4 18:18 twrp.img-pagesize
@NekoNoor
NekoNoor / size compiled
Created April 4, 2017 20:06
size compiled
/media/ExtraDocuments/Builds/efitest/unpackcompile
total 54444K
drwxr-xr-x 2 creeperlwd creeperlwd 4K Apr 4 21:29 .
drwxr-xr-x 14 creeperlwd creeperlwd 4K Apr 4 22:05 ..
-rw-r--r-- 1 creeperlwd creeperlwd 19050K Apr 4 21:29 kernelconfig.txt
-rw-r--r-- 1 creeperlwd creeperlwd 1K Apr 4 18:18 recovery.img-base
-rw-r--r-- 1 creeperlwd creeperlwd 1K Apr 4 18:18 recovery.img-cmdline
-rw-r--r-- 1 creeperlwd creeperlwd 1876K Apr 4 18:18 recovery.img-dt
-rw-r--r-- 1 creeperlwd creeperlwd 1K Apr 4 18:18 recovery.img-kernel_offset
-rw-r--r-- 1 creeperlwd creeperlwd 0K Apr 4 18:18 recovery.img-name
@NekoNoor
NekoNoor / recovery.log
Created April 3, 2017 20:13
motorola clark recovery log
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
Starting TWRP 3.1.0-0-76958ae9 on Sun Jan 4 01:51:02 1970
(pid 320)
I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' does not exist, USB storage mode disabled
TW_INCLUDE_CRYPTO := true
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:Got max brightness 255 from '/sys/class/leds/lcd-backlight/max_brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:LANG: en
Starting the UI...