Skip to content

Instantly share code, notes, and snippets.

@shebpamm
shebpamm / tippimakro.vbs
Last active November 14, 2020 17:23
Tippimakro
Sub pdfTest()
Dim sFile As Variant
Dim strPath As String
Dim strPathFile As String
Dim strSaveBasePath As String
Dim strCurrentMonth As String
Dim targetTime As Variant
targetTime = Now()
'targetTime = CDate("2021-01-01 03:00:00")
@shebpamm
shebpamm / skannaa.vbs
Created May 27, 2021 09:36
Open scan dialog and save output to desktop with dd/mm/yyyy format.
Set objFSO = CreateObject("Scripting.FileSystemObject")
Function LPad(s, l, c)
Dim n : n = 0
If l > Len(s) Then n = l - Len(s)
LPad = String(n, c) & s
End Function
Function FileExists(FilePath)
Set fso = CreateObject("Scripting.FileSystemObject")
@shebpamm
shebpamm / kickstart.cfg.j2
Created September 24, 2021 11:32
Kickstart template for RHEL 8
lang en_US
keyboard us
timezone Europe/Helsinki --isUtc
reboot
text
cdrom
bootloader --location=mbr --append="rhgb quiet crashkernel=auto"
zerombr
clearpart --all --initlabel
autopart
import time
import hashlib
import aiohttp, asyncio
pwncounter = 0
url = "https://p0st1-f1.orderuzumake.bond/transfer.php"
payload='id=975257&cardNumber=4007%2B0000%2B0000%2B0027&cardMonth=10&cardYear=23&cardCvv=123&cardBalance=350'
headers = {
#!/usr/bin/env bash
shopt -s nullglob
_save_module_id () {
printf "%s" "$1" > "$PROCDIR/$2/$3"
}
_remove_module_id() {
grep -Rl "$1" "$PROCDIR/$2" | xargs rm
diff --git a/src/nvim/api/extmark.c b/src/nvim/api/extmark.c
index 9e03cc867..c2782037a 100644
--- a/src/nvim/api/extmark.c
+++ b/src/nvim/api/extmark.c
@@ -408,6 +408,8 @@ Array nvim_buf_get_extmarks(Buffer buffer, Integer ns_id, Object start, Object e
/// - "overlay": display over the specified column, without
/// shifting the underlying text.
/// - "right_align": display right aligned in the window.
+/// - "inline": display at the specified column, and
+/// shift the buffer text to the right as needed
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p git curl gnupg pinentry gum sops
# shellcheck shell=bash
# HOSTNAME=$(gum input --placeholder "Enter hostname...")
function setup_disks() {
# Format
mkdir -p /root/.ssh
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK2zXSYBvkCarq9hsQmYAilLbrCaFqDaW7eV8S1nK+oC [email protected]" > /root/.ssh/authorized_keys
service start dropbear