كلمات سريعة مساعدة قف الاختناق. تحتاج شفط. أكثر أقل دردشة كيف حالك؟ ماذا كنتم تفعلون؟ شكرا لك
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
property delayInterval : 15 -- seconds | |
on run | |
activate | |
tell application "System Events" to set UIAccessStatus to UI elements enabled | |
end run | |
on idle | |
try | |
tell application "System Events" | |
tell process "NotificationCenter" |
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 sounddevice as sd | |
import numpy as np | |
import librosa | |
import pynput.keyboard as keyboard | |
# Set the minimum and maximum frequencies for the "ahh" sound | |
min_freq = 500 | |
max_freq = 2000 | |
# Set the minimum and maximum frequencies for the "ssss" sound |
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
Full press and release: | |
start scanning for: AeroSwitch | |
1675084981.252 | MAC: 84:71:27:89:2B:61 | Adv: AdvertisementData(local_name='AeroSwitch', manufacturer_data={6026: b'\x15\x01\x00d\xcf\x00\x00@\x00\x00\x00'}, rssi=-75) | |
1675084981.264 | MAC: 84:71:27:89:2B:61 | Adv: AdvertisementData(local_name='AeroSwitch', manufacturer_data={6026: b'\x15\x01\x00d\xcf\x00\x00J\x00\x00\x00'}, rssi=-75) | |
1675084981.524 | MAC: 84:71:27:89:2B:61 | Adv: AdvertisementData(local_name='AeroSwitch', manufacturer_data={6026: b'\x15\x00\x01d\xd0\x00\x00\x15\x015\x00'}, rssi=-71) | |
1675084981.531 | MAC: 84:71:27:89:2B:61 | Adv: AdvertisementData(local_name='AeroSwitch', manufacturer_data={6026: b'\x15\x00\x01d\xd0\x00\x00\x15\x01@\x00'}, rssi=-71) |
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
Down: | |
1675083830.681 | MAC: 1A96C75A-5F25-34F9-EB06-0583B08021C1 | Adv: AdvertisementData(local_name='AeroSwitch', manufacturer_data={6026: b'\x15\x01\x00d\xab\x00\x005\x00\x00\x00'}, rssi=-49) | |
1675083830.694 | MAC: 1A96C75A-5F25-34F9-EB06-0583B08021C1 | Adv: AdvertisementData(local_name='AeroSwitch', manufacturer_data={6026: b'\x15\x01\x00d\xab\x00\x00@\x00\x00\x00'}, rssi=-49) | |
1675083830.704 | MAC: 1A96C75A-5F25-34F9-EB06-0583B08021C1 | Adv: AdvertisementData(local_name='AeroSwitch', manufacturer_data={6026: b'\x15\x01\x00d\xab\x00\x00J\x00\x00\x00'}, rssi=-49) | |
1675083830.714 | MAC: 1A96C75A-5F25-34F9-EB06-0583B08021C1 | Adv: AdvertisementData(local_name='AeroSwitch', manufacturer_data={6026: b'\x15\x01\x00d\xab\x00\x00U\x00\x00\x00'}, rssi=-48) |
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
Full Press and release: | |
MAC: 1A96C75A-5F25-34F9-EB06-0583B08021C1 | Adv: AdvertisementData(local_name='AeroSwitch', manufacturer_data={6026: b'\x15\x01\x00d\xa3\x00\x00\x00\x00\x00\x00'}, rssi=-45) | |
MAC: 1A96C75A-5F25-34F9-EB06-0583B08021C1 | Adv: AdvertisementData(local_name='AeroSwitch', manufacturer_data={6026: b'\x15\x01\x00d\xa3\x00\x00\x0b\x00\x00\x00'}, rssi=-45) | |
MAC: 1A96C75A-5F25-34F9-EB06-0583B08021C1 | Adv: AdvertisementData(local_name='AeroSwitch', manufacturer_data={6026: b'\x15\x01\x00d\xa3\x00\x00\x16\x00\x00\x00'}, rssi=-45) | |
MAC: 1A96C75A-5F25-34F9-EB06-0583B08021C1 | Adv: AdvertisementData(local_name='AeroSwitch', manufacturer_data={6026: b'\x15\x01\x00d\xa3\x00\x00 \x00\x00\x00'}, rssi=-45) |
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
#include <Wire.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
#define OLED_DC 11 | |
#define OLED_CS 12 | |
#define OLED_CLK 10 | |
#define OLED_MOSI 9 | |
#define OLED_RESET 13 | |
Adafruit_SSD1306 display(OLED_MOSI, OLED_CLK, OLED_DC, OLED_RESET, OLED_CS); |
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
''' | |
Originally from matt.oppenheim@gmail.com for his https://github.com/mattoppenheim/microbit_activity_indicator | |
Hacked by Will - just logs if someone is writing or not. Used as a tool to detect how long someone is using their Aid for | |
Of course doesn't log if its person or someone helping | |
''' | |
from logging.handlers import RotatingFileHandler | |
import click | |
from datetime import datetime | |
import logging |
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
## The following is from TonyT | |
## http://hints.macworld.com/article.php?story=2008051406323031 | |
import sys | |
import time | |
from Quartz.CoreGraphics import * # imports all of the top-level symbols in the module | |
class AppleMouseEvents(): | |
""" | |
with thanks to: |
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
from pynput import keyboard | |
import pyperclip | |
import pyttsx3 | |
converter = pyttsx3.init() | |
# Sets speed percent | |
# Can be more than 100 | |
converter.setProperty('rate', 100) | |
# Set volume 0-1 | |
converter.setProperty('volume', 1) | |
listenAllTime = False |