initial addition of essential crypto, encoders, workflows and LLM instructions
This commit is contained in:
16
scripts/orly.service
Normal file
16
scripts/orly.service
Normal file
@@ -0,0 +1,16 @@
|
||||
# systemd unit to run orly as a service
|
||||
[Unit]
|
||||
Description=orly
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=mleku
|
||||
ExecStart=/home/mleku/.local/bin/orly
|
||||
Restart=always
|
||||
Wants=network-online.target
|
||||
# waits for wireguard service to come up before starting, remove if running it directly on an
|
||||
# internet routeable connection
|
||||
After=network.target network-online.target wg-quick@wg0.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
7
scripts/reload.sh
Executable file
7
scripts/reload.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/bash
|
||||
until false; do
|
||||
echo "Respawning.." >&2
|
||||
sleep 1
|
||||
reset
|
||||
go run ./cmd/realy/.
|
||||
done
|
||||
2
scripts/runtests.sh
Normal file
2
scripts/runtests.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
go test -v ./... -bench=. -run=xxx -benchmem
|
||||
14
scripts/ubuntu_install_libsecp256k1.sh
Executable file
14
scripts/ubuntu_install_libsecp256k1.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
sudo apt -y install build-essential autoconf libtool
|
||||
cd $SCRIPT_DIR
|
||||
rm -rf secp256k1
|
||||
git clone https://github.com/bitcoin-core/secp256k1.git
|
||||
cd secp256k1
|
||||
git checkout v0.6.0
|
||||
git submodule init
|
||||
git submodule update
|
||||
./autogen.sh
|
||||
./configure --enable-module-schnorrsig --enable-module-ecdh --prefix=/usr
|
||||
make -j1
|
||||
sudo make install
|
||||
Reference in New Issue
Block a user