Skip to content

Instantly share code, notes, and snippets.

@Mygod
Mygod / export-ble-infos.py
Last active December 30, 2024 18:38
Export your Windows Bluetooth LE keys into Linux!
#!/usr/bin/python3
"""
Copyright 2021 Mygod
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
1. move sdcard detect fix from kanuti dtsi to msm8939-mtp.dtsi (done!)
2. power driver: smb1360 (fixed!)
3. rework dsi panel dt (done!)
4. k4.4 pstore driver (fixed!)
5. audio (WIP)(the implementation is ready. just need to add support for our msm8x16-audio-codec and maybe some IOMMU fixes)
6. camera (IN THE FUTURE😁)
7. mdss (fixed!)
8. usb (fixed!)
9. qpnp-vibrator (fixed!)
10. display on/off bug (fixed!)
@UniIsland
UniIsland / SimpleHTTPServerWithUpload.py
Created August 14, 2012 04:01
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""