Skip to content

Instantly share code, notes, and snippets.

@Vinzz
Vinzz / postconf.sh
Created July 30, 2020 07:07
PostConf for a linux VM
#!/bin/sh
echo "Updating packages ..."
apt update
apt upgrade -y
@Vinzz
Vinzz / MacroBridge
Created January 8, 2018 20:23
Insert cards symbols in black or red within LibreOffice Writer (map these with a toolbar with card symbols as names)
REM ***** BASIC *****
Sub InsertSymbol(text As String, color As long)
Dim oVC As Object
Dim oCursor As Object
Dim savColor as long
oVC = thisComponent.getCurrentController.getViewCursor
oCursor = oVC.getText.createTextCursorByRange(oVC)