Skip to content

Instantly share code, notes, and snippets.

View tomay3000's full-sized avatar

Youcef Kouchkar tomay3000

View GitHub Profile
@tomay3000
tomay3000 / sublime_text_patch.md
Created January 25, 2019 21:07 — forked from deyixtan/sublime_text_patch.md
Sublime Text Patching Guide

Automated Patching

Download slt.py python script (supports multiple build) from this repository.

Usage

python slt.py <"sublime_text file path">


Manual Patching

[tomay@tomay-pc 2020-08-23--03-21-01]$ fastboot -w && fastboot erase system && fastboot flash recovery recovery.emmc.win && fastboot flash boot boot.emmc.win && fastboot flash vbmeta vbmeta.emmc.win && fastboot flash dtbo dtbo.emmc.win && fastboot flash system system_image.emmc.win && fastboot reboot
Erasing 'userdata' OKAY [ 42.704s]
mke2fs 1.45.4 (23-Sep-2019)
Creating filesystem with 13704947 4k blocks and 3432448 inodes
Filesystem UUID: 27056472-9f24-41e5-80e0-7a2c06b5a065
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Allocating group tables: done
@tomay3000
tomay3000 / mac_changer.py
Created January 4, 2021 18:01 — forked from Racv/mac_changer.py
A python script to change mac address
#!/usr/bin/env python
import subprocess
import optparse
import re
def get_args():
parser = optparse.OptionParser()
parser.add_option("-i", "--interface", dest="interface", help="Interface whose mac has to be changed")
diff --git a/samples/minimal/minimal.cpp b/samples/minimal/minimal.cpp
index 65da9f35b6..6b133114af 100644
--- a/samples/minimal/minimal.cpp
+++ b/samples/minimal/minimal.cpp
@@ -29,6 +29,8 @@
#include "wx/wx.h"
#endif
+#include <wx/artprov.h>
+
diff --git a/samples/minimal/minimal.cpp b/samples/minimal/minimal.cpp
index 65da9f35b6..9ea46da6fc 100644
--- a/samples/minimal/minimal.cpp
+++ b/samples/minimal/minimal.cpp
@@ -29,6 +29,8 @@
#include "wx/wx.h"
#endif
+#include <wx/artprov.h>
+