Skip to content

Instantly share code, notes, and snippets.

View BlueBeret's full-sized avatar
⚰️
dead

click_here BlueBeret

⚰️
dead
View GitHub Profile
@BlueBeret
BlueBeret / hide-bluecheck-posts.user.js
Last active June 29, 2026 09:41
Hide blue checkmark (verified) posts on X/Twitter - Tampermonkey userscript
// ==UserScript==
// @name Hide Blue Checkmark Posts (X / Twitter)
// @namespace https://gist.github.com/BlueBeret/1a692a84937e31f75efceb4e9cf610ba
// @version 1.1.0
// @description Hide posts from verified (blue checkmark) users on X/Twitter timelines, optionally keeping accounts you follow
// @author BlueBeret
// @match https://x.com/*
// @match https://twitter.com/*
// @run-at document-start
// @grant none
@BlueBeret
BlueBeret / open-hotfix.zsh
Created May 21, 2025 11:10
Script to open hotfixes PR
#!/bin/zsh
# CONFIG
REPO_BASE_URL="https://github.com/StackGuardian/dashboard" # Change this to your repo
CODE_EDITOR="code" # or "code", "vim", etc.
PR_TEMPLATE_FILE="/tmp/pr_template.md" # Temporary file for PR template
DASH_BASE_BRANCH="develop" # Change as needed
PROD_BASE_BRANCH="main" # Change as needed
# REQUIRED COMMANDS CHECK
@BlueBeret
BlueBeret / Rieman.py
Created April 3, 2023 15:49
A simple implementation of a function to calculate definite integral with Rieman sum method
from math import exp
def fx(x):
return (x+7) * exp(x)
def jumlahanRiemanKiri(function, a, b, n = 10e7):
"""
Fungsi untuk menghitung integral tentu menggunakan metode jumlah rieman kiri
Parameters