#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6
Paragraph
#!/bin/bash | |
# 07.09.2018 | |
# Can be used a script or just as cli-oneliner | |
# First declare some variables | |
SDCARD=/path/to/sd-card | |
#[Example: SDCARD=/dev/mmcblk0] | |
IMG=/path/to/your/image | |
#[Example: IMG=/home/user1/my-sdcard.img] |
sudo snap find --section | |
No section specified. Available sections: | |
* developers | |
* featured | |
* finance | |
* games | |
* graphics | |
* music | |
* productivity | |
* server |
Problem: | |
Windows 10 with Update 1809 will not mount an SMBv1 Share any more. | |
Solution for OMV with Samba 3.6.6: | |
Put these two lines into the "Extra options" on the Webinterface: | |
min protocol = SMB2 | |
max protocol = SMB2 | |
Restart samba. |
The command | |
```bash | |
history | |
``` | |
will show the entries of last used commands. | |
With | |
```bash | |
history |cut -c 8- | |
``` |
# This will be an update. | |
## How do your format the Gist | |
Well i will try out the new gist | |
Let us see what happens | |
# Format | |
## Two formats |
#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6
Paragraph
The following content is part of Bings Copilot and me.
We had a long chat (for testing purposes) and this is the solution.
Also a part of jq
syntax was optimized (shortend, more specific) with the help of Copilot.
Especially the last part with the select
was a good example of how an AI can make things "elegant".
I wanted to have a solution to send me one value from a remote system to a Teams Channel aka webhook.
Using just httpie
and jq
with cron