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
ipython nbconvert --to markdown <notebook>.ipynb --config jekyll.py |
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
# POC Type with your voice script | |
# You may also need to install the additional dependencies: portaudio flac | |
from pathlib import Path | |
import speech_recognition as sr | |
import pyaudio | |
from pynput.keyboard import Controller | |
from threading import Thread | |
import wave |
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 panel as pn | |
script = """ | |
<script> | |
function querySelectorDeep(selector, rootNode=document.body) { | |
const arr = [] | |
const traverser = node => { | |
// 1. decline all nodes that are not elements | |
if(node.nodeType !== Node.ELEMENT_NODE) { |