Skip to content

Instantly share code, notes, and snippets.

@LordVeovis
LordVeovis / upgrade-alpine-3.15.sh
Last active April 22, 2022 13:11
Upgrade Alpine 3.15
#!/bin/sh
# wget -O '/etc/local.d/upgrade-alpine-3.15.start' 'https://gist.github.com/LordVeovis/03da6d5e39e0cc487b2da2218d0304ee/raw/7468f5c31cd4d64094d9a2b59ef642967ba3f52c/upgrade-alpine-3.15.sh'
# chmod +x /etc/local.d/upgrade-alpine-3.15.start
CURRENT=3.14
NEXT=3.15
SCRIPT_ME=$PWD/$0
UPGRADE_LOCAL_SCRIPT=/etc/local.d/upgrade-alpine-3.15.start
<!-- Office 2021 enterprise client configuration file sample. To be used for Office 2021
enterprise volume licensed products only, including Office 2021 Professional Plus,
Visio 2021, and Project 2021.
Do not use this sample to install Office 365 products.
For detailed information regarding configuration options visit: http://aka.ms/ODT.
To use the configuration file be sure to remove the comments
The following sample allows you to download and install Office 2021 Professional Plus,
@LordVeovis
LordVeovis / expect_ubnt.sh
Created February 22, 2022 23:10
Backup core configuration of Ubiquity EdgeMAX routers
#!/usr/bin/expect -f
set prompt {(%|#|\$)\u001b\[00m $}
set output [open "prout.txt" "w"]
spawn ssh -oStrictHostKeyChecking=no veovis@ubnt.home.kveer.fr
expect "password: "
stty -echo
expect_user -timeout 600 -re "(.*)\[\r\n]"
@LordVeovis
LordVeovis / upgrade-alpine-3.14.sh
Last active January 12, 2022 09:16
upgrade-alpine-3.14.sh
#!/bin/sh
# wget -O '/etc/local.d/upgrade-alpine-3.14.start' 'https://gist.githubusercontent.com/LordVeovis/2e87e016e35ba109cb11ccc48ae9240c/raw/e8fc8eb8819ba79437485bfb1908de93591efceb/upgrade-alpine-3.14.sh'
# chmod +x /etc/local.d/upgrade-alpine-3.14.start
CURRENT=3.13
NEXT=3.14
SCRIPT_ME=$PWD/$0
UPGRADE_LOCAL_SCRIPT=/etc/local.d/upgrade-alpine-3.14.start
@LordVeovis
LordVeovis / upgrade-alpine-3.13.sh
Last active March 2, 2021 16:40
alpine 3.12->3.13
#!/bin/sh
CURRENT=3.12
NEXT=3.13
SCRIPT_ME=$PWD/$0
UPGRADE_LOCAL_SCRIPT=/etc/local.d/upgrade-alpine-3.13.start
# identify current step
go_step1=$(cat /etc/os-release | grep VERSION | grep $CURRENT | wc -l)
go_step2=$(cat /etc/os-release | grep VERSION | grep $NEXT | wc -l)
{
"ClientId": 000000000000000000,
"BotId": null,
"Token": "zerETGZERgzer5460zre5fzk.sedfrl.fgd540dgf_fv65d4fsg6v54sfdg",
"OwnerIds": [
000000000000000000
],
"LoLApiKey": "",
"GoogleApiKey": "hgfjhgfg_azera654f0azerfa65rf0zrfradqqd",
"MashapeKey": "",
@LordVeovis
LordVeovis / Remove-Crapware.ps1
Last active December 3, 2019 01:56
general crapware removal for windows 10 1809+
$appxPackage = @(
'Microsoft.Office.OneNote',
'Microsoft.XboxApp',
'Microsoft.WindowsFeedbackHub',
'Microsoft.XboxIdentityProvider',
'Microsoft.MixedReality.Portal',
'Microsoft.Getstarted',
'Microsoft.MinecraftUWP',
'Microsoft.MicrosoftOfficeHub',
'king.com.CandyCrushSaga',
@LordVeovis
LordVeovis / make install
Created November 22, 2018 20:28
manual install vs packaging system
>>> Install xmlrpc-c-1.39.11-r1 into /var/tmp/portage/dev-libs/xmlrpc-c-1.39.11-r1/image/ category dev-libs
make -j8 DESTDIR=/var/tmp/portage/dev-libs/xmlrpc-c-1.39.11-r1/image/ install
make -C include/ -f /var/tmp/portage/dev-libs/xmlrpc-c-1.39.11-r1/work/xmlrpc-c-1.39.11//include/Makefile \
install
make -C lib/ -f /var/tmp/portage/dev-libs/xmlrpc-c-1.39.11-r1/work/xmlrpc-c-1.39.11//lib/Makefile \
install
make -C src/ -f /var/tmp/portage/dev-libs/xmlrpc-c-1.39.11-r1/work/xmlrpc-c-1.39.11//src/Makefile \
install
/bin/sh /var/tmp/portage/dev-libs/xmlrpc-c-1.39.11-r1/work/xmlrpc-c-1.39.11/mkinstalldirs /var/tmp/portage/dev-libs/xmlrpc-c-1.39.11-r1/image//usr/lib64
/bin/sh /var/tmp/portage/dev-libs/xmlrpc-c-1.39.11-r1/work/xmlrpc-c-1.39.11/mkinstalldirs /var/tmp/portage/dev-libs/xmlrpc-c-1.39.11-r1/image//usr/include
@LordVeovis
LordVeovis / Dockerfile
Created October 15, 2018 12:00
speedtest history
FROM alpine:3.8
RUN set -xe; \
apk add --no-cache speedtest-cli; \
ln -s /usr/bin/python3 /usr/bin/python
@LordVeovis
LordVeovis / docker-compose.yml
Created August 23, 2018 17:39
radarr docker-compose
version: "3.5"
services:
radarr:
image: linuxserver/radarr:nightly
restart: unless-stopped
networks:
- docker1
environment:
TZ: Europe/Paris
PUID: 1033