This file contains 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
# Copyright (c) 2018 Acroname Inc. - All Rights Reserved | |
# | |
# This file is part of the BrainStem development package. | |
# See file LICENSE or go to https://acroname.com/software/brainstem-development-kit for full license details. | |
import brainstem | |
# For easy access to error constants | |
from brainstem.result import Result | |
from time import sleep |
This file contains 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 sys | |
import json | |
from PyQt6.QtWidgets import ( | |
QApplication, QMainWindow, QVBoxLayout, QWidget, QComboBox, QPushButton, QLabel | |
) | |
from PyQt6.QtWebEngineWidgets import QWebEngineView | |
from PyQt6.QtCore import Qt | |
import folium | |
from io import BytesIO | |
import requests |
This file contains 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
There are options but the devices are limited (and the applications too) | |
Samsung S20 series are the last to have it (And I think the Plus is the best one for it) | |
Going a little older the Note 10 Plus as well (also an awesome phone) | |
Of the same vintage there are some other devices. You have to look at the ARCore device list and Ctrl F for "ToF" https://developers.google.com/ar/devices | |
As for applications that can take advantage of the ARCore depth mapping there's RTAB-Map and 3D Live Scanner |
This file contains 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
Type | Song Title | Song Artist | Channel Number | Channel Name | Channel Category | Time of Day | Date Recorded | Year | |
---|---|---|---|---|---|---|---|---|---|
ID3 | Soy Igual Que T | Alexis & Fido f | 85 | Latin/World | 0042 | 0812 | 2009 | ||
ID3 | Baby Got Back | Sir Mix-A-Lot | 9 | The 90s | Decades | 0113 | 3012 | 2007 | |
ID3 | Do You Remember | Jay Sean Ft Sea | 20 | XM 20 on 20 | Pop | 2328 | 0801 | 2010 | |
ID3 | Point Of No Ret | Expose | 8 | The 80s | Decades | 1632 | 3112 | 2007 | |
ID3 | Buffalo Stance | Neneh Cherry | 8 | The 80s | Decades | 2105 | 3112 | 2007 | |
ID3 | P.Y.T. | Michael Jackson | 8 | The 80s | Decades | 1347 | 0201 | 2008 | |
ID3 | Miami | Will Smith | 9 | The 90s | Decades | 1353 | 0201 | 2008 | |
ID3 | Beautiful Life | Ace Of Base | 9 | The 90s | Decades | 1314 | 0801 | 2008 | |
ID3 | Shake That Bubb | Young & Divine | 20 | XM 20 on 20 | Pop | 0114 | 1002 | 2010 |
This file contains 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 sys | |
import subprocess | |
import csv | |
import requests | |
from PyQt6.QtCore import QTimer, Qt | |
from PyQt6.QtWidgets import QApplication, QWidget, QVBoxLayout, QHBoxLayout, QPushButton, QLabel, QFrame | |
class ADBInterface(QWidget): | |
def __init__(self): | |
super().__init__() |
This file contains 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 struct | |
import time | |
import numpy as np | |
import pyfiglet # For ASCII art text | |
# Path to the joystick device | |
JOYSTICK_DEVICE = "/dev/input/js0" | |
# Joystick event format |
This file contains 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 asyncio | |
import struct | |
import sys | |
from bleak import BleakClient | |
# Bluetooth device address and attributes | |
DEVICE_ADDRESS = "98:DA:B0:08:A1:82" # Replace with your device's Bluetooth MAC address | |
WRITE_CHARACTERISTIC = "0000ffe9-0000-1000-8000-00805f9b34fb" | |
NOTIFY_CHARACTERISTIC = "0000ffe4-0000-1000-8000-00805f9b34fb" |
This file contains 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 python | |
import os | |
import subprocess | |
from PyQt6.QtWidgets import ( | |
QApplication, QMainWindow, QVBoxLayout, QPushButton, QWidget, QMessageBox, QScrollArea, QVBoxLayout | |
) | |
class IsoLoaderApp(QMainWindow): | |
def __init__(self, iso_directory): | |
super().__init__() |
This file contains 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 python | |
from pywebostv.discovery import * # Because I'm lazy, don't do this. | |
from pywebostv.connection import * | |
from pywebostv.controls import * | |
from PyQt6.QtWidgets import QApplication, QWidget, QGridLayout, QPushButton | |
from PyQt6.QtCore import Qt, QTimer | |
import sys | |
class RemoteControl(QWidget): | |
def __init__(self): |
This file contains 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
#!/bin/bash | |
# Device to read from | |
device="/dev/sr0" | |
# Get the current date and time | |
current_date_time=$(date +"%Y%m%d_%H%M%S") | |
# Function to parse the track information | |
parse_tracks() { |
NewerOlder