This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let bluetooth = require("bluetooth"); | |
| let textbox = require("textbox"); | |
| let dialog = require("dialog"); | |
| let deviceName = "RaspberryPi-Zero2"; | |
| let serviceUUID = "12345678-1234-1234-1234-123456789abc"; | |
| function connectToRaspberryPi() { | |
| textbox.setConfig("end", "text"); | |
| textbox.addText("Flipper Bluetooth Client\n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| boof - Bluetooth speaker management utility | |
| Connects to and stops music on multiple speakers | |
| """ | |
| import json | |
| import subprocess | |
| import time | |
| import re |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import requests | |
| import argparse | |
| from waybackpy import WaybackMachineCDXServerAPI | |
| from urllib.parse import urlparse | |
| def is_url(line): | |
| """Check if the line is a valid URL.""" | |
| return line.startswith(('http://', 'https://')) |