Skip to content

Instantly share code, notes, and snippets.

View Programmer-RD-AI's full-sized avatar
🎯
Focusing

Ranuga Programmer-RD-AI

🎯
Focusing
View GitHub Profile
@mohclips
mohclips / text.sh
Last active June 9, 2024 07:22
Enable - Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
# EDIT - 01 Dec 2023 - Works without the below in Ubuntnu 22.04
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 040: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 044: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
# get the pre-compiled driver
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Programmer-RD-AI
Programmer-RD-AI / python2pseudo.py
Last active March 31, 2024 06:06 — forked from BlueNexus/python2pseudo.py
Python to Pseudocode converter
import os.path
import re
'''
INSTRUCTIONS
1. Create a file with the following code
2. Put the file you want to convert into the same folder as it, and rename it to "py_file.py"
3. Add a "#F" comment to any lines in the code which have a function call that doesn't assign anything (so no =),
as the program cannot handle these convincingly
4. Run the converter file