Skip to content

Instantly share code, notes, and snippets.

View egze's full-sized avatar

Aleksandr Lossenko egze

View GitHub Profile
@egze
egze / yarn_checker.ex
Created June 1, 2021 05:34
Ensure Hex ans Npm have the same version
defmodule MyApp.YarnChecker do
use Credo.Check,
run_on_all: true,
category: :consistency,
base_priority: :high,
param_defaults: [
package_json: "assets/package.json",
yarn_lock: "assets/yarn.lock",
packages: ["phoenix", "phoenix_html", "phoenix_live_view"]
],
@egze
egze / snowjob.sh
Created December 15, 2023 11:24 — forked from sontek/snowjob.sh
Make your terminal snow
#!/bin/bash
LINES=$(tput lines)
COLUMNS=$(tput cols)
declare -A snowflakes
declare -A lastflakes
clear
@egze
egze / Youtube Shorts.1b
Created February 14, 2026 20:49
YouTube Shorts block list for 1Blocker
[
{
"id": "C9DA2214-6341-42EC-B627-E8D74589A16D",
"name": "YouTube Shorts",
"createdAt": 792793993.94854,
"rules": [
{
"type": {
"custom": {
"rule": {