This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# git2code.sh | |
# | |
# lists all files in all commits between the supplied to HEAD, excludes all non-existing files. | |
# | |
# /// Louie 2021-04-23 and enormous imprevements by Wanders 2022-03-25 | |
# | |
IFS=$'\n' | |
COMMITID="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
This script will pick a random jpeg from '$HOME\Pictures\teams-bg\' and copy it to the | |
Teams background image folder. | |
To make it work, save this script somewhere and then rename *any* jpeg-image to 'stdbg.jpg' and | |
use it as a custom background in teams. This file will be overwritten with the ranom background | |
image everytime the script executes. | |
Then create a new scheduled task to execute 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' with | |
the argument: |
I hereby claim:
- I am the-louie on github.
- I am the_louie (https://keybase.io/the_louie) on keybase.
- I have a public key whose fingerprint is D65D 5C9F 7AD4 A9D1 5D71 C6E0 EBCD 0DF3 B103 835C
To claim this, I am signing this object: