[U] Scripts

This commit is contained in:
Azalea (on HyDEV-Daisy)
2022-08-01 12:26:39 -04:00
parent 08bb89b9ac
commit 2548fa8ec4
5 changed files with 36 additions and 3 deletions
+4
View File
@@ -1,3 +1,7 @@
Host localhost
HostName localhost
User root
Host home
HostName home.hydev.org
Port 10022
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Stop on error
set -e
# Check if package.json is present
[[ ! -f "package.json" ]] && echo "package.json not found, please make sure you're in the correct path" && exit -1
# Deploy npm
npm publish
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
# Stop on error
set -e
# Check if setup.py is present
[[ ! -f "setup.py" ]] && echo "Setup.py not found, please make sure you're in the correct path" && exit -1
# Remove old build
rm -rf dist
rm -rf build
# Build
python setup.py sdist bdist_wheel
# Check built files
twine check dist/*
# Upload
twine upload dist/*
+2 -3
View File
@@ -36,9 +36,8 @@ alias dc='docker-compose'
alias vsucode='sudo code --user-data-dir /root/.config/vscode --no-sandbox'
alias gpu-temp='while sleep 1; do clear; gpustat; done'
alias cpu-temp='s-tui'
# alias mine='nuxhashd --show-mining'
alias mine='sudo lolminer --algo ETHASH --pool stratum+ssl://daggerhashimoto.auto.nicehash.com:443 --user=3AcCeSHHwWJRf945iKCbxZ8cjUvy7Tmg3g.Daisy-lol'
# alias mine-zel='sudo lolminer --algo ZEL --pers BgoldPoW --pool stratum+tcp://zelhash.auto.nicehash.com:9200 --user=3AcCeSHHwWJRf945iKCbxZ8cjUvy7Tmg3g.Daisy-lol'
alias mine-zel='sudo lolminer --algo ZEL --pers BgoldPoW --pool stratum+tcp://zelhash.auto.nicehash.com:9200 --user=3AcCeSHHwWJRf945iKCbxZ8cjUvy7Tmg3g.Daisy-lol'
alias mount-external='sudo mount -t cifs //192.168.2.1/external /smb/external -o rw,user=azalea,uid=1000,gid=1000,pass='
alias ds-clean="sudo find ./ -name \".DS_Store\" -depth -exec rm {} \;"
@@ -46,7 +45,7 @@ alias ds-clean="sudo find ./ -name \".DS_Store\" -depth -exec rm {} \;"
alias catt="echo 🐱"
alias update-ssh-keys="curl -L https://github.com/Hykilpikonna.keys > ~/.ssh/authorized_keys"
export PATH="$SCR/python:$PATH"
export PATH="$SCR/bin:$PATH"
# Lisp wrapper
lisp() {