Merge branch 'master' of github.com:hykilpikonna/zshrc
This commit is contained in:
Executable
+10
@@ -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
|
||||
Executable
+20
@@ -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/*
|
||||
@@ -10,6 +10,8 @@ print(f'Current url: {url}')
|
||||
if url.startswith('http'):
|
||||
print('> HTTP git remote detected, switching to SSH')
|
||||
repo = url.split('github.com/')[-1]
|
||||
if repo.endswith('.git'):
|
||||
repo = repo[:-4]
|
||||
print(f'> Repo detected: {repo}')
|
||||
new_url = f'git@github.com:{repo}.git'
|
||||
|
||||
+2
-3
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user