Skip to content

Instantly share code, notes, and snippets.

View Sarverott's full-sized avatar
💭
I may be slow to respond.

Sett Sarverott Sarverott

💭
I may be slow to respond.
View GitHub Profile
@Sarverott
Sarverott / smelt.js
Created April 18, 2025 06:18
with darkpoint we trust that our member will be not lost...
/*
the Smeltry - included in Skriptonus and Blacksmith Organisation System
Copyright (C) 2025 Sett Sarverott A.A.B.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@Sarverott
Sarverott / gist:4bf460b5190794a7d683460c31f7bbb1
Created April 15, 2025 14:12 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
const CSS_SELECTOR = {
displayed_chat: ".x78zum5.xdt5ytf.x1iyjqo2.x6ikm8r.x1odjw0f.xish69e.x16o0dkt",
message_block: "div.x78zum5.xdt5ytf.x1n2onr6[role]"
}
function scrollingToCheckPast( docHook = CSS_SELECTOR.displayed_chat ){
document.querySelectorAll( // szuka WSZYSTKICH
docHook // selektor CSS ()
)[ 1 ].scrollTo(0,0) // scrolling do góry, wtedy ładuje
}
function getOutput( docHook = CSS_SELECTOR.message_block ){
[canon]
name=Crovley
repo=https://gist.github.com/a1d6bb152f628c718cc36fbea6e99e91.git
[version]
G = 0
R = 9
I = 1
H = 0
[deploy]
@Sarverott
Sarverott / .overlord.ini
Last active February 26, 2025 19:27
overlord default setup
[self]
mode = support
scope = local
target = %CWD%
type = project
setup = default
@Sarverott
Sarverott / kodowania-huffmana.ipynb
Last active December 17, 2024 13:38
kodowania-huffmana.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

another spontainous gist

again from resolving problem by using browser, it's devtools and js live console

today while trying new software for me, "Logwatch" common tool for work with logs I had problem to read through content of html raport and i was curious whith daemons are printed.

about Logwatch: https://ubuntu.com/server/docs/how-to-install-and-configure-logwatch

I used these commands to bring raport and show it in browser

function mergeIgnorotronsFiles(...gitignoresContent) {
return [
...new Set(
gitignoresContent
.join("\n")
.split("\n")
.filter((x) => x.charAt(0) != "#")
.map((x) => x = x.trim())
.filter((x) => x)
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>test of color pallet printing</title>
</head>
<body>
<!-- styles -->
<style>
@Sarverott
Sarverott / _verymessy-payload-o-execution-o-script-o-inator.py
Created December 13, 2023 23:57
good mood charm. this script is just as training for fun. it works, but it's not pretty, and it can suddenly autodestruct itself!
import subprocess
from os import path, system, remove
import sys
gitBashScript="""#!/usr/bin/env bash
case $1 in
"log") git -C "$2" log | cat ;;
"status") git -C "$2" status -s ;;
"add") git -C "$2" add * ;;