Skip to content

Instantly share code, notes, and snippets.

View pacman2108's full-sized avatar
🖥️
Writing code or busy with academic stuff!

Pac. pacman2108

🖥️
Writing code or busy with academic stuff!
View GitHub Profile
@lopestom
lopestom / Custom Recovery for MediaTek devices-0.md
Last active March 24, 2025 13:43
Make a Device Tree - Minimal Manifest

Preface

Before anything or any comments or ideas, this is a way I wanted to try to inform and update what a device tree is and what it has, and finally how Custom Recovery is created. So this is not a complete guide and it won't be! I never intended to do that.

The original idea

Please take a look and may you take a few minutes to read the original guide. I had written myself that I intended to update the information. I hope that after reading the original guide you can go back and have a few minutes of reading and mainly practice to gain experience.

This guide comes to complement or update some important information. All thanks to @rokibhasansagar about first guide Make A TWRP Tree For Your Device & Build

Certainly, given the breadth of the subject, it should have many more parts. But understand about "Minimal" thinking and that I didn't intend to extend it any further than necessary. So the guide has:

@artem78
artem78 / SymbianDev-en.md
Last active April 26, 2025 07:53
Developing for Symbian OS guide
@dylanroy
dylanroy / Sample Architecture Diagram
Last active April 2, 2024 15:01
Code snippets from Medium Blog Post Create Beautiful Architecture Diagrams with Python
from diagrams import Cluster, Diagram
from diagrams.gcp.analytics import BigQuery, Dataflow, PubSub
from diagrams.gcp.compute import AppEngine, Functions
from diagrams.gcp.database import BigTable
from diagrams.gcp.iot import IotCore
from diagrams.gcp.storage import GCS
with Diagram("Media Monitoring Storage Architecture", show=False) as med_diag:
pubsub = PubSub("pubsub")
flow = Dataflow("DataFlow")
@Kafva
Kafva / chat506.flm
Created July 28, 2020 15:00
Decompiled SWF
movie 'chat506.swf' compressed // flash 6, total frames: 41, frame rate: 24 fps, 760x480 px
fileAttributes attrHasMetadata
metadata '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:format>application/x-shockwave-flash</dc:format> </rdf:Description> <rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/"> <xmp:MetadataDate>2019-01-02T16:51:40Z</xmp:MetadataDate> <xmp:ModifyDate>2019-01-02T16:51:40Z</xmp:ModifyDate> </rdf:Description> <rdf:Description rdf:about="" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#"> <xmpMM:InstanceID>xmp.iid:14E12954AC0EE911999AA803D5FB6508</xmpMM:InstanceID> <xmpMM:DocumentID>xmp.did:14E12954AC0EE911999AA803D5FB6508</xmpMM:DocumentID> <xmpMM:OriginalDocumentID>xmp.did:EF0084689F0EE911999AA803D5FB6508</xmpMM:OriginalDocumentID> <xmpMM:DerivedFrom rdf:parseType="Resource"> <stRef:instanceID>xmp.iid:C7BF12
@nicolasdao
nicolasdao / open_source_licenses.md
Last active April 25, 2025 01:53
What you need to know to choose an open source license.
@milanboers
milanboers / clone.bash
Last active April 24, 2025 16:49
Clone all repositories of a Github user
curl -s https://api.github.com/users/milanboers/repos | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone
@steinwaywhw
steinwaywhw / One Liner to Download the Latest Release from Github Repo.md
Last active April 24, 2025 03:09
One Liner to Download the Latest Release from Github Repo
  • Use curl to get the JSON response for the latest release
  • Use grep to find the line containing file URL
  • Use cut and tr to extract the URL
  • Use wget to download it
curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \
@rbartholomew
rbartholomew / Netflix.js
Created November 16, 2011 01:05
Netflix Windows 8
(function () {
'use strict';
var clientKey = "XXXXXXXXXXXXXX";
var clientSecret = "XXXXXXXXXXXX";
var oauthToken;
var oauthSecret;
var userId;
var loginUrl;
var applicationName;