Skip to content

Instantly share code, notes, and snippets.

View smileart's full-sized avatar
:octocat:

Serge Bedzhyk smileart

:octocat:
View GitHub Profile
@smileart
smileart / setup-mattpocock-skills.sh
Created May 28, 2026 10:00
Matt Pocock skills installer for Stow-like .file management tools where .claude is a symlink
#!/usr/bin/env bash
#
# setup-mattpocock-skills.sh
#
# Installs (or refreshes) mattpocock/skills and works around the installer's
# broken-symlink behaviour. See upstream bugs:
# https://github.com/mattpocock/skills/issues/216
# https://github.com/mattpocock/skills/issues/141
#
# The installer puts skills into ~/.agents/skills/ and writes symlinks into
@smileart
smileart / spoiler-callout.css
Last active July 17, 2024 07:18
Obsidian Custom Spoiler Callout CSS Snippet
-- Simple version
[data-task="#"] {
filter: blur(8px);
-webkit-filter: blur(8px);
}
[data-task="#"]:hover {
filter: none;
-webkit-filter: none;
@smileart
smileart / Day_1.md
Last active November 14, 2023 08:06
Euruko 2023
@smileart
smileart / README.md
Created August 8, 2023 17:16
🇺🇦 Ruscism.plist :: MacOS text replacement preset to be able to talk about ᵣussia online

Ruscism – also known as Rashism, Russism, or ᵣussian fascism, is a term used by a number of scholars, politicians and publicists to describe the political ideology and the social practices of the ᵣussian state in the late 20th and early 21st centuries, especially during the rule of vladimir putin. — Ruscism

Russophobia – Anti-ᵣussian sentiment, commonly referred to as Russophobia, is dislike or fear or hatred of ᵣussia, the ᵣussians, ᵣussian culture, or ᵣussian policy. The Collins English Dictionary defines it as intense and often irrational hatred of ᵣussia. It is often related to anti-Soviet and occasionally also to anti-Slavic sentiment. The opposite of Russophobia is Russophilia. — Russophobia

drawing © https://snowowl.kiev.ua<

@smileart
smileart / amazon_books_scraper.js
Created July 11, 2023 12:02
A script to scrape Digital Content Lists from Amazon
// NOTE: It's supposed to be used in DevTools console only, depends on `copy`, `$`, `$$`, etc.
// NOTE: these backups needed cause after a new page loaded $, $$, etc. are undefined for the script running 🤷‍♂️
const selector = $
const selectorAll = $$
const clipboardCopy = copy
let allBooksList = []
function scrapBooks() {
const titles = selectorAll('.digital_entity_title').map((b)=>{ return b.innerText })
@smileart
smileart / rpsls.py
Created January 18, 2023 19:21
Rock Paper Scissors Lizard Spock :: Python Version
import random
##
# Rock Paper Scissors Lizard Spock ASCII Art
#
# Rock
rock = """
_______
@smileart
smileart / RPS_ASCII_Art.py
Last active January 11, 2023 14:41 — forked from wynand1004/RPS_ASCII_Art.py
Rock, Paper, Scissors ASCII Art
# Rock
print("""
_______
---' ____)
(_____)
(_____)
(____)
---.__(___)
@smileart
smileart / github_butternut_squash.js
Last active November 9, 2022 19:09
🎃 A user-script to auto-choose "Auto-merge Squash" in the PR unless it's a release PR
// ==UserScript==
// @name Butternut Squash
// @namespace http://tampermonkey.net/
// @version 0.3
// @description Choose Auto-merge Squash unless it's a release PR
// @author Serge Bedzhyk
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.io
// @match https://github.com/*
// ==/UserScript==