Skip to content
Snippets Groups Projects
Commit bb5ab65d authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.

parent acc008e3
No related branches found
No related tags found
No related merge requests found
function mslab-tunnel
if test (count $argv) != 0 ; and $argv[1] = b
if test (count $argv) != 0 ; and test $argv[1] = b
ssh -L 30627:127.0.0.1:30627 -Nf msbackup.recolic
else
ssh -L 30627:127.0.0.1:30627 -Nf ms.recolic
......
function nupkg-repak
set nu $argv[1]
mkdir -p $nu.wd ; cd $nu.wd
unzip ../$nu ; or unzip $nu ; or return 1
cd content/Redist
rm remote/*.lib ; rm remote/*.pdb ; cd ..
zip -r r.zip Redist ; or return 2
echo "DONE. CHECK r.zip"
end
......@@ -134,12 +134,11 @@ function alliant_oneclick () {
[[ ! -f $fname ]] || [[ $budget_cny = "" ]] && echo "
Prog Usage:
1. Export Alliant 60d history as CSV file
2. Download Alliant statement
3. Delete all unrelated Tx from CSV file (DO NOT delete the title line)
4. Run this script like
2. Delete all unrelated Tx from CSV file (DO NOT delete the title line)
3. Run this script like
alliant_oneclick 1.csv 7000
5. Visual check: check if month_txt is correct
6. Send HTML as email
4. Visual check: check if month_txt is correct
5. Send HTML as email
" && exit 1
## start working
......
......@@ -25,6 +25,7 @@ host16 |local\Administrator|sh://rsec OVL_HOST_RDP|10.10.18.31
host18 |local\Administrator|sh://rsec OVL_HOST_RDP|10.10.18.29
host32 |local\Administrator|sh://rsec OVL_HOST_RDP|10.10.10.94
host33 |local\Administrator|sh://rsec OVL_HOST_RDP|10.10.10.92
hosttm |local\Administrator|sh://rsec OVL_HOST_RDP|10.10.21.28
host1030 |local\Administrator|sh://rsec OVL_HOST_RDP|10.10.10.37
host2021 |local\Administrator|sh://rsec OVL_HOST_RDP|10.10.15.30
kedardbg |local\Administrator|sh://rsec OVL_HOST_RDP|10.10.12.79
......
......@@ -90,8 +90,8 @@ function low_battery_check_cron () {
_alarm hard "battery lower than 20"
return
fi
if [[ "$bat_percent" -lt 50 ]]; then
_alarm soft "battery lower than 50"
if [[ "$bat_percent" -lt 40 ]]; then
_alarm soft "battery lower than 40"
return
fi
}
......
// GPT-4o generated. NOT thread safe.
// v2502.1
#ifndef SIMPLE_LOGGER_H
#define SIMPLE_LOGGER_H
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment