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
# Uses OPENAI API KEY | |
import time | |
import threading | |
import numpy as np | |
import sounddevice as sd | |
from queue import Queue | |
from rich.console import Console | |
from langchain.memory import ConversationBufferMemory | |
from langchain.chains import ConversationChain |
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
# AI Thinking Animation with Transparent Background using PyQt5 | |
# This script demonstrates how to create a simple AI thinking animation with a transparent background using PyQt5. The player displays a GIF in a frameless window that stays on top of other windows and has a transparent background, simulating an AI assistant’s thinking process (like Siri). | |
# The GIF should be without any background and round cropped. | |
import sys | |
from PyQt5.QtWidgets import QApplication, QLabel, QMainWindow | |
from PyQt5.QtGui import QMovie, QPalette, QColor | |
from PyQt5.QtCore import Qt, QSize | |
class GIFPlayer(QMainWindow): |
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
''' | |
Defines a formulaic quant rule | |
prim | |
space: identifies a primitive from its primitive space | |
children = *[] | |
parent | |
is_terminal | |
size() |
This file has been truncated, but you can view the full file.
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
2517d.v.fwmrm.net | |
2975c.v.fwmrm.net | |
ad.doubleclick.net | |
adclick.g.doubleclick.net | |
adlog.com.com | |
adservices.google.com | |
bs.serving-sys.com | |
clk.pointroll.com | |
cnbc7.com | |
csi.gstatic.com |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 json | |
import random | |
import re | |
import string | |
from http.cookiejar import CookieJar | |
from time import sleep | |
from urllib import request | |
import requests | |
class Email: |
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 selenium import webdriver | |
options = webdriver.ChromeOptions() | |
options.add_experimental_option('androidPackage', 'com.android.chrome') | |
driver = webdriver.Chrome('/data/data/com.termux/files/home/chromedriver', options=options) | |
driver.get('https://google.com') | |
driver.quit() |
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 tabula | |
from selenium import webdriver | |
url = 'https://v1.hdfcbank.com/assets/pdf/forex_rates/rates.pdf' | |
download_dir = "./" # for linux/*nix, download_dir="/usr/Public" | |
options = webdriver.ChromeOptions() | |
options.add_experimental_option('prefs', { | |
"download.default_directory": download_dir, #Change default directory for downloads | |
"download.prompt_for_download": False, #To auto download the file |
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
# $OpenBSD: sshd_config,v 1.101 2017/03/14 07:19:07 djm Exp $ | |
# This is the sshd server system-wide configuration file. See | |
# sshd_config(5) for more information. | |
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin | |
# The strategy used for options in the default sshd_config shipped with | |
# OpenSSH is to specify options with their default value where | |
# possible, but leave them commented. Uncommented options override the |
NewerOlder