Posts
Go scripting.
- Get link
- X
- Other Apps
As suggested in the HN thread , by replacing // with /**/ , we can dodge the formatting problem! So, in my scripts going forward, I will be using: /*usr/local/go/bin/go run "$0" "$@"; exit; */ package main import "fmt" func main () { fmt.Println( "Hello world" ) } Note here the semicolon on exit; , it will not work without it. https://lorentz.app/blog-item.html?id=go-shebang
i'm not a beta tester :)
- Get link
- X
- Other Apps
LSP is great thing.. until completely doesn't: i vigorously ditched LSP thanks to its flood of issues which render IDE completely useless in no time + LSP literally bombards user w/ ridiculously annoying warnings. in short, i barely have a Time for my own projects to waste it for things like that :)
How to for Universum Vox..
- Get link
- X
- Other Apps
bash> tam.rst ... -universum-vox-conf-dir "/tst/uv_configs" command: {lst universum vox} command: {universum vox >Number of config in list< 0} Example of JSON. Main config.. { "type_":"morph", "alg0":17, "num_of_channels":2, "sound_duration":15000, "num_of_rnd_samples":233, "sample_rate":44100, "bits_per_sample":32, "sample_format":"f32", "bar_sample":0.999, "fading_duration":452, "silent_step":200, "fading_step":0.65, "step_factor":220, "old_freq":-0.9, "new_freq":500.1, "range":2.0, "scale":10.0, "step_freq":1.0, "coef":[1.1,0.35,0.37,0.35,0.03], "plus_minus_freq":true, "select_channel":0, "geoms":[{"tria":{"a":1.2,"b":0.1,"step":0.04,"bar":0.94,"direct":false}}, ...
Incremental Poweroff.
- Get link
- X
- Other Apps
qdbus org.kde.ActivityManager /ActivityManager/Activities SetCurrentActivity 8fa63726-6d6a-4f8f-ba47-88a7c02f9918;sudo custom_poweroff cat (which custom_poweroff) #!/bin/bash sync batchkill;sleep 7;extdrives2off;sleep 13;macchanger enp6s0 -m cc:cc:cc:cc:cc:cc;sleep 10;ethtool -s enp6s0 wol g;sleep 1;systemctl poweroff cat (which batchkill) #!/bin/bash #sync pkill -9 qbitt pkill -9 transmi pkill -9 deluge pkill -9 rsync pkill -9 dolphin pkill smpla pkill -9 chrom pkill -9 opera pkill -9 vival pkill -9 water pkill -9 telegr pkill -9 AppRun.wr pkill -9 vlc cat (which extdrives2off) #!/bin/bash toffusbstuff usb_ext4 toffusbstuff UEFI_NTFS toffusbstuff pock toffusbstuff bkp1 toffusbstuff evr cat (which toffusbstuff) #!/bin/bash sync name=$(lsblk -o label,name|grep -i $1|grep -io sd[a-z][0-9]) umount -lf /dev/$name udisksctl power-off -b /dev/$name echo $name