update packages
sudo apt update
go to tmp folder
cd /tmp/
| /* | |
| ========================================== | |
| N26 Monthly Statements Auto Downloader (Browser Console) | |
| ========================================== | |
| Description: | |
| Automatically downloads all N26 account statements (PDFs) | |
| starting from a specified month up to the current month. | |
| How it works: | |
| - Fetches URLs in the format: |
| blueprint: | |
| name: Sync Entity State to Multiple Targets | |
| description: > | |
| Set the state of a source entity (e.g. KNX switch) on one or more target entities (e.g. Zigbee lights). | |
| domain: automation | |
| input: | |
| source_entity: | |
| name: Source Entity | |
| description: The entity to watch (switch, light, etc.) | |
| selector: |
| *PPD-Adobe: "4.3" | |
| *cupsMandatory: attributes-charset attributes-natural-language printer-uri | |
| *% PPD created by ipp2ppd (v2:Feb 1 2018) | |
| *FormatVersion: "4.3" | |
| *FileVersion: "2.0" | |
| *LanguageVersion: English | |
| *LanguageEncoding: ISOLatin1 | |
| *PSVersion: "(3010.000) 0" | |
| *LanguageLevel: "3" | |
| *FileSystem: False |
| # Load the necessary user32.dll functions | |
| Add-Type @" | |
| using System; | |
| using System.Runtime.InteropServices; | |
| public class User32 { | |
| [DllImport("user32.dll")] | |
| [return: MarshalAs(UnmanagedType.Bool)] | |
| public static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect); | |
| [DllImport("user32.dll")] |
| #!/bin/bash | |
| ############################################################ | |
| # Script META # | |
| ############################################################ | |
| MetaName="secs.sh" | |
| MetaDesc="Add publicly accessible GitHub user SSH public keys to 'authorized_keys'" | |
| MetaVersion="2023.6.1" | |
| # Some functions may require PS v6 or later - so let`s install it first | |
| iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI" | |
| # ------------------------------------------------------------ | |
| # add local service account | |
| $username = "svc_passwordsecure" | |
| $password = Read-Host -AsSecureString | |
| New-LocalUser -Name $username -Password $password -FullName "Netwrix Password Secure" -Description "Service account" | |
| Add-LocalGroupMember -Group Administrators -Member $username |
| version: '3.7' | |
| services: | |
| mailpit-server: | |
| image: axllent/mailpit:latest | |
| container_name: mailpit-server | |
| hostname: mailpit-server | |
| restart: unless-stopped | |
| volumes: |