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
//credit - https://huggingface.co/blog/fine-tune-wav2vec2-english (Patrick von Platen) | |
// run this on your Chrome / Browser Console (where Colab is present) | |
function ConnectButton(){ | |
console.log("Connect pushed"); | |
document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click() | |
} | |
var colab = setInterval(ConnectButton,60000); |
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
# this tutorial assumes conda and git are both installed on your computer | |
conda create -n tg python=3.10.9 | |
conda activate tg | |
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 | |
git clone https://github.com/oobabooga/text-generation-webui.git | |
cd text-generation-webui | |
pip install -r requirements.txt | |
# GPU only: |
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
const musicContainer = document.querySelector(".music-container"); | |
const playBtn = document.querySelector("#play"); | |
const prevBtn = document.querySelector("#prev"); | |
const nextBtn = document.querySelector("#next"); | |
const audio = document.querySelector("#audio"); | |
const progress = document.querySelector(".progress"); | |
const progressContainer = document.querySelector(".progress-container"); | |
const title = document.querySelector("#title"); | |
const cover = document.querySelector("#cover"); | |
//Song titles |
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
{ | |
"quizId": "3483j33", | |
"title": "What cheeze are you?", | |
"subtitle": "This quiz isn't cheezy or anything like that...", | |
"content": [ | |
{ | |
"id": 0, | |
"text": "Pick a vacation destination", | |
"questions": [ | |
{ |
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
# ---------------------------------------------------------------------- | |
# | Activate CORS | |
# ---------------------------------------------------------------------- | |
<IfModule mod_headers.c> | |
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js|mjs|gif|png|jpe?g|svg|svgz|ico|webp)$"> | |
Header set Access-Control-Allow-Origin "*" | |
</FilesMatch> | |
</IfModule> |
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
SuexecUserGroup "#1020" "#1007" | |
ServerName example.example.example | |
ServerAlias www.example.example.example | |
ServerAlias mail.example.example.example | |
ServerAlias webmail.example.example.example | |
ServerAlias admin.example.example.example | |
DocumentRoot /home/example/public_html | |
ErrorLog /var/log/virtualmin/example.example.example_error_log | |
CustomLog /var/log/virtualmin/example.example.example_access_log combined | |
ScriptAlias /cgi-bin/ /home/example/cgi-bin/ |
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
KEYMAPOPTS="us us" | |
HOSTNAMEOPTS="-n alpine" | |
INTERFACESOPTS="auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet dhcp | |
hostname alpine | |
" | |
TIMEZONEOPTS="-z UTC" |
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
# Credits | |
# https://c-nergy.be/blog/?p=13655 | |
# https://askubuntu.com/questions/844245/how-to-compile-latest-pulseaudio-with-webrtc-in-ubuntu-16-04 | |
# https://askubuntu.com/questions/496549/error-you-must-put-some-source-uris-in-your-sources-list | |
# https://unix.stackexchange.com/questions/65167/enable-udev-and-speex-support-for-pulseaudio | |
# https://rudd-o.com/linux-and-free-software/how-to-make-pulseaudio-run-once-at-boot-for-all-your-users | |
# First, you should install XRDP and X11 Desktop Environment first. | |
# Step 1 - Install Some PreReqs |
You need to provide these variables
WORDPRESS_SMTP_HOST
- SMTP hostWORDPRESS_SMTP_PORT
- SMTP portWORDPRESS_SMTP_USERNAME
- SMTP usernameWORDPRESS_SMTP_PASSWORD
- SMTP passwordWORDPRESS_SMTP_FROM
- address from which emails are sent in wordpressWORDPRESS_SMTP_FROM_NAME
- name in wordpress emails
I'm using this with mailgun credentials and works great