Skip to content

Instantly share code, notes, and snippets.

@jclc
jclc / vhbackup.py
Last active November 28, 2022 17:25
#!/bin/env python3
import os, sys, datetime, lzma, tarfile
MAX_BACKUPS = 10
BACKUP_DIR = "backups"
SERVER_DIR = "" # set your server installation directory here, eg. /home/vhserver
DIRS_TO_BACKUP = [
"lgsm/config-lgsm",
"savedir",
panic: runtime error: slice bounds out of range
goroutine 19 [running]:
golang.org/x/tools/internal/span.ToUTF16Column(0x3, 0x21, 0x30, 0xc0001ac120, 0x30, 0x30, 0x14, 0x0, 0x0)
/home/jclc/devel/go/src/golang.org/x/tools/internal/span/utf16.go:41 +0x57a
golang.org/x/tools/internal/lsp/protocol.(*ColumnMapper).Position(0xc0068e83c0, 0x3, 0x21, 0x30, 0x4000000000000000, 0x4033000000000000, 0x0, 0x0)
/home/jclc/devel/go/src/golang.org/x/tools/internal/lsp/protocol/span.go:62 +0x63
golang.org/x/tools/internal/lsp/protocol.(*ColumnMapper).Range(0xc0068e83c0, 0xc007b87e80, 0x3f, 0x3, 0x14, 0x23, 0x3, 0x21, 0x30, 0x0, ...)
/home/jclc/devel/go/src/golang.org/x/tools/internal/lsp/protocol/span.go:54 +0x4b1
golang.org/x/tools/internal/lsp.toProtocolDocumentSymbols(0xc0068e83c0, 0xc0000c0180, 0x1, 0x1, 0xc0000c0180, 0x1, 0x1)
Reading symbols from /home/jclc/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo_linux64...(no debugging symbols found)...done.
[New LWP 20024]
[New LWP 20030]
[New LWP 20031]
[New LWP 20057]
[New LWP 20053]
[New LWP 20033]
[New LWP 20059]
[New LWP 20056]
[New LWP 20074]
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
CPU Family: 0x6
# Shadow
shadow = false;
# no-dnd-shadow = true;
# no-dock-shadow = true;
# clear-shadow = true;
# shadow-radius = 7;
# shadow-offset-x = -7;
# shadow-offset-y = -7;
# shadow-opacity = 0.7;
# shadow-red = 0.0;