This file contains hidden or 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
// OpenAL Test | |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"time" | |
openal "github.com/timshannon/go-openal/openal" | |
) |
This file contains hidden or 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
(begin | |
(define fib (lambda (n) | |
(if (< n 2) | |
1 | |
(+ (fib (- n 1)) (fib (- n 2)))))) | |
(define fib2 (lambda (n) | |
(begin | |
(define fib2Rec (lambda (a b n) | |
(if (eqv? n 0) |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"log" | |
"runtime" | |
_ "github.com/go-gl/gl/v3.2-core/gl" | |
"github.com/go-gl/gl/v3.3-core/gl" | |
"github.com/go-gl/glfw/v3.2/glfw" |
This file contains hidden or 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 requests | |
import sys | |
import json | |
from pprint import pprint | |
# Requirements: | |
# * Koboldcpp (or compatible api) | |
# | |
# Setup: | |
# conda create -n creator python=3.10 |
This file contains hidden or 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 requests | |
import sys | |
import json | |
from pprint import pprint | |
# Requirements: | |
# * Koboldcpp (or compatible api) | |
# | |
# Setup: | |
# conda create -n creator python=3.10 |
This file contains hidden or 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
# 1️⃣ Install required packages | |
# pip install kokoro soundfile sounddevice argparse | |
import sys | |
import argparse | |
from kokoro import KPipeline | |
import soundfile as sf | |
import sounddevice as sd | |
# 🇺🇸 'a' => American English, 🇬🇧 'b' => British English |
This file contains hidden or 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Custom Calendar Generator</title> | |
<link | |
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | |
rel="stylesheet" | |
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" |