Kategorie: Allgemein

Leave a reply

Zabbix – Proxy (docker-compose)

You can easy install you Zabbix – Proxy with this docker-compose.yml file. Download LINK

Follow this steps:
– Make sure that you have the same path created if not use mkdir -p /volume1/docker/Zabbix/
– Generate PSK FILE by tipping this in your ssh session:“openssl rand -hex 32 >> /volume1/docker/Zabbix/zabbix_agentd.psk“
– change „XXX-IDENTITY“ to the Proxy Name
– change „xxx.xxx.xxx“ to the IP Adress or the DNS name of you Zabbix Server
– save the PSK Key (zabbix_agentd.psk) content and the „Proxy Name“ you will need it to install the proxy on you Zabbix Server

after downloading the docker-compose.yml you have to type:

sudo docker-compose up -d

Now you Proxy should start soon (depending on the Hardware it can take up to 5 minutes)

# Make sure that you have the same path created
# if not use mkdir -p /volume1/docker/Zabbix/
# Generate PSK FILE: 
# "openssl rand -hex 32 >> /volume1/docker/Zabbix/zabbix_agentd.psk"
# change "XXX-IDENTITY" to the Proxy Name 
# change "xxx.xxx.xxx" to the IP Adress or the DNS name of you Zabbix Server

version: "3"

services:
  Zabbix-Proxy:
    container_name: Zabbix-Proxy
    restart: always
    image: zabbix/zabbix-proxy-sqlite3:ubuntu-4.4-latest
    environment:
      ZBX_TLSCONNECT: psk
      ZBX_TLSACCEPT: psk
      ZBX_TLSPSKIDENTITY: XXX-IDENTITY
      ZBX_HOSTNAME: XXX-IDENTITY
      ZBX_SERVER_HOST: xxx.xxx.xxx
      ZBX_TLSPSKFILE: zabbix_agentd.psk
      ZBX_SERVER_PORT: 10051
    volumes:
      - /volume1/docker/Zabbix/zabbix_agentd.psk:/var/lib/zabbix/enc/zabbix_agentd.psk

Leave a reply

Apple Mail HTML Signature

With this little hack you can add a linked image to you Apple Mail signature and from this moment you can change the image on your Web-Server and all your signatures will use the new image.

First you have to upload the picture to a webserver. Make sure that you have the right image size, in my example it is „295 ├Ś 120 pixels“. After the upload you have to get the data-url it should look like:

https://www.schaupper.at/wp-content/uploads/2020/05/TAW_LOGO_Mail_Signatur.png

Open your Mail Application and create a new signature with the text you want to have and on the end of it add following characters: XXXXXX
Then close the Mail Application.

Now navigate to your User-Library folder on your Mac. This can be done with holding the Option-Key while pressing on „GO“ in the Finders Menu Bar. Then you can click on „Library“
(If you have problems with this you can visit HELP)


Now navigate to MAIL -> V7 -> MailData -> Signatures and open the AllSignatures.plist file with TextEdit (use right click „Open With“ -> „Other“ and then choose TextEdit)

Search in the document for the name you gave the signature before and you will get something like this.

<dict>
    <key>SignatureIsRich</key>
    <false/>
    <key>SignatureName</key>
    <string>Bildtest</string>
    <key>SignatureUniqueId</key>
    <string>D5DC8855-707B-4637-8614-E46B1A933E4D</string>
</dict>

With the ID (D5DC8855-707B-4637-8614-E46B1A933E4D) we can now search in the folder for the right signature file. In our example:

D5DC8855-707B-4637-8614-E46B1A933E4D.mailsignature

open it in the same way like the other file. (with TextEdit)

Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii
Message-Id: <468B855C-3BEF-4C0A-A997-59605984D508@2100.intern>
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))

<body dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, =
0); letter-spacing: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div dir=3D"auto" style=3D"caret-color: rgb(0, 0, =
0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div dir=3D"auto" style=3D"text-align: start; =
text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;"><div dir=3D"auto" style=3D"text-align: =
start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: =
space; line-break: after-white-space;"><div dir=3D"auto" =
style=3D"text-align: start; text-indent: 0px; word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;"><div =
class=3D"ApplePlainTextBody">XXXXXX</div></div></div></div></div></body>=

Now search for the XXXXXX and replace it with following:

<img src="PUT-YOUR-HTML-STRING-HERE"> 

in our example:

<img src="https://www.schaupper.at/wp-content/uploads/2020/05/TAW_LOGO_Mail_Signatur.png"> 

Press save and then open the Sub-Menu with a right click and open the Information by clicking on „Get Info“.

And lock it by clicking on „Locked“ if you forget this, Apple Mail will replace your changes with the original content of the signature.

After this you can use your Signature like you did before, with a benefit that you can replace the picture by just changing the file on your webserver.

Operation System.: Catalina 10.15.4
Apple Mail: Version 13.4 (3608.80.23.2.2)


Leave a reply

Mac ISO to USB-Device (Terminal)

  1. Connect your USB Device to your machine
  2. Type following in your Terminal Application
diskutil list
  1. Finde the device you want to be wiped an replaced with the contend of your ISO (in our case /dev/disk2)
  1. Unmount the USB Device by following command:
diskutil unmountDisk YOUR-USB-DEVICE

in our example:

diskutil unmountDisk /dev/disk2
  1. Use the dd command
sudo dd if=YOUR.iso of=YOUR-USB-DEVICE bs=1m

in our example:

sudo dd if=/Users/vschaupper/Downloads/2020-02-13-raspbian-buster.img of=/dev/disk2 bs=1m

Short Info:

diskutil list
diskutil unmountDisk YOUR-USB-DEVICE
sudo dd if=YOUR.iso of=YOUR-USB-DEVICE bs=1m

Leave a reply

KKmoon 20W Laser Graviermaschine

Here some hints for using the Laser Engraver KKmoon 20W also called the Vigor Engraver L7.

First you have to install the software
You can find it on http://vigotec.cn and download the VigoEngraverL7.
There you can find the offical manual.

I have also uploaded the software to my webserver, maybe it will not be available in a few years ­čśë
Download: VigoEngraverL7_v2.3
Download: VigoEngraverL7_Software_Installation_Manual_v2.3_Eng

After the installation you have to connect the laser engraver via USB to your machine. In the software you can now click on the top left on „Open Device“ now it should turn green and you are able to use it. I will not step into the basic usage of the software please read the Manual or try it by your own. ­čśë


You can use it to cut paper but also through thin wood. Sometimes you have to repeat the cutting to get trough the material. See the next table with some demo settings I found out by my own.

TypDepthSettingsTypeRep.
cut4mm500/100/10/5OUTLINE5
grave2mm5000/40/10/5Line/Gray1
cut4mm L├Ąrche
roh
100/100/15/5OUTLINE4
grave4mm L├Ąrche
roh
500/100/10/6Point/Binary1
graveW├Ąscheklammern Holz1000/20/15/5Point/Binary1

You can set the numbers of Repeat in the Settings section
500/100/10/5 this is the way I do document my settings

If you have some detailed objects what you want to have in the right scale you have to use DXF or GCode. The size of the „Image“ Setting is not very detailed.
I use SketchUp to generate Dxf Images. You have to take care about following if you want to use it too. You should take a template using milimeters because the maximum range of the engraver is 330 x 190 mm

1. Change the view to TOP
2. After creating what you want you have to use the Export function (2D)
3. Choose AutoCad DXF File (*.dxf) and the click at option
4. Choose Release 14 and use the same Settings as shown in the screenshot

This kind of dxf file is now possible to be imported to the Vigor Engraver L7 Software.

Here a nice example:

Working in progress


Leave a reply

Bilderr├Ątsel – Aufgaben 1-13

Versucht herauszufinden was auf diesen Bildern zu sehen ist.

Die Antwort findet ihr hier:

Bilderr├Ątsel – L├Âsung 1-13


Durch die weitere Nutzung der Seite stimmst du der Verwendung von Cookies zu. Weitere Informationen

Die Cookie-Einstellungen auf dieser Website sind auf "Cookies zulassen" eingestellt, um das beste Surferlebnis zu erm├Âglichen. Wenn du diese Website ohne ├änderung der Cookie-Einstellungen verwendest oder auf "Akzeptieren" klickst, erkl├Ąrst du sich damit einverstanden.

Schlie├čen