Updated 2018-03-23 Version 1802 (Build 16.0.9029.2167)
==========================================
"""QA Chatbot streaming using FastAPI, LangChain Expression Language , OpenAI, and Chroma. | |
Features | |
-------- | |
- Persistent Chat Memory: | |
Stores chat history in a local file. | |
- Persistent Vector Store: | |
Stores document embeddings in a local vector store. | |
- Standalone Question Generation: | |
Rephrases follow-up questions to standalone questions in their original language. |
Updated 2018-03-23 Version 1802 (Build 16.0.9029.2167)
==========================================
#!/bin/bash | |
set -e | |
## Script to rip VCD with VLC and then transcode with ffmpeg | |
if [ "${BASH_VERSINFO}" -lt 4 ]; then | |
echo "Require bash 4 or higher" | |
exit 1 | |
fi |
#!/bin/bash | |
set -e -o errexit -o pipefail -o nounset | |
################################### | |
# This script can be used by itself, but it's recommended that you read | |
# a tutorial on Proxmox forum first: https://forum.proxmox.com/threads/hey-proxmox-community-lets-talk-about-resources-isolation.124256/ | |
################################### | |
# Do not modify these variables (set by Proxmox when calling the script) | |
vmId="$1" |
Find the proper driver at the NVidia website.
Note: Make sure to select "Linux 64-bit" as your OS
Hit the "Search" button.
set $cursor_size 54 | |
``` | |
# GTK | |
# This is the only place where you must set GTK scaling | |
set $gnome-schema org.gnome.desktop.interface | |
exec_always { | |
gsettings set $gnome-schema gtk-theme 'Matcha-dark-sea' | |
gsettings set $gnome-schema icon-theme 'Numix-Square' | |
gsettings set org.gnome.desktop.interface text-scaling-factor 2.73 |
This gist will guide you through to setup starship along with zsh suggestions and zsh syntax highlight for your codespaces.
#!/bin/bash | |
# Load balance multiple internet connections. Requires iproute2, awk and grep. | |
# (C) 2016 Tobias Girstmair, isticktoit.net, GPLv2 | |
# Also useful: speedometer -l -r eth1 -t eth1 -m $(( 1024 * 1024 * 3 / 2 )) | |
# Not much user error checking is done - only pass working network connections | |
# script needs root to work and at least two interfaces to be useful | |
[ $EUID -eq 0 -a $# -ge 2 ] || { | |
echo "Usage (as root): $0 iface1[:weight1] iface2[:weight2] ..." >&2 |
@echo off | |
cls | |
for %%i in (*.vob) do ffmpeg -i %%i -vcodec h264 -s 720x576 -vf yadif -sn -map 0:m:language:rus "%%~ni.mpg" | |
ffmpeg -i concat:"VTS_01_1.mpg|VTS_01_2.mpg|VTS_01_3.mpg|VTS_01_4.mpg|VTS_01_5.mpg|VTS_01_6.mpg|VTS_01_7.mpg|VTS_01_8.mpg" -c copy output.mpg | |
ffmpeg -i output.mpg -qscale:v 0 film.mp4 | |
mkdir result_dir | |
move *.mp4 result_dir | |
erase *.mpg |