Credits to @TheOnlyAnil-@Firelord[^stackoverflow]
-
Requirements: a) stock recovery + rooted phone b) custom recovery
-
Files changed:
ENG | |
flag is byte array. | |
One byte represents all the colors and styles. | |
0b00000000 | |
IUSBCCCC | |
"I" bit is italic. Set it 1 to make the char italic. | |
"U" bit is underline. Set it 1 to make the char underlined. | |
"S" bit is strikethrough. Set it 1 to make the char strikethroughed. |
#! /usr/bin/env python3 | |
#coding:utf-8 | |
#require bitstring | |
import bitstring | |
import math | |
import sys | |
filename = sys.argv[1] | |
packet_length = 188 |
For the past two weeks or so, I've been working on a little compiler project in C, mostly for educational purposes, i.e. to understand how a compiler really works. I'm not using any libraries, other than the C runtime library.
I have a hand-written lexer and parser, and a simple code generator targetting
We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!
<?php | |
public function onDataPacketReceive(DataPacketReceiveEvent $event): void | |
{ | |
$receivePacket = $event->getPacket(); | |
if ($receivePacket instanceof ServerSettingsRequestPacket) { | |
$responsePacket = new ServerSettingsResponsePacket(); | |
$responsePacket->formId = 12345;//Form ID | |
//適当なCustomFormデータ | |
$responsePacket->formData = json_encode([ | |
"type" => "custom_form", |