Skip to content

Instantly share code, notes, and snippets.

@birdie-github
birdie-github / mde_behavior_lab.py
Created October 15, 2026 08:24
A synthetic infostealer/ransomware hybrid that performs genuine operations against dummy files for testing a Linux antivirus
#!/usr/bin/env python3
"""Harmless Linux EDR behavioral exercise: works only with generated decoy data."""
import base64
import hashlib
import http.server
import os
from pathlib import Path
import shlex
import shutil
@tado
tado / emacs-ahkv2.ahk
Last active February 17, 2026 08:12
Emacs-like keybindings for AutoHotKey v2 (ref. https://qiita.com/asublue/items/0e3fad2667545793466d)
#Requires AutoHotkey v2.0
;;
;; An autohotkey script that provides emacs-like keybinding on Windows
;;
;; global constants
DEBUG_MODE := 0
;; global variables
@fathulfahmy
fathulfahmy / xfce-i3-guide.md
Last active November 5, 2026 20:23
A guide on how to setup XFCE with i3wm

How to XFCE with i3WM

Download

  1. Download XFCE Distribution
  2. Download i3 only (i3 status i3 lock dmenu is not needed)

Warning

Do not install preconfigured or distributed i3wm to avoid conflicts with XFCE settings
✅ Do sudo dnf install i3 --setopt=install_weak_deps=False
❎ Don't sudo dnf install i3 desktop or sudo dnf install @i3-desktop-environment

@TylerLeonhardt
TylerLeonhardt / azure-pipelines-style.yml
Last active April 23, 2020 01:13
Put this script in a `PowerShell` task in your Azure Pipelines YAML and the `PowerShell` task will use the daily build of PowerShell!
steps:
- powershell: |
Write-Host "Installing PowerShell Daily..."
# Use `AGENT_TEMPDIRECTORY` to make sure the downloaded PowerShell is cleaned up.
$powerShellPath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'powershell'
Invoke-WebRequest -Uri https://aka.ms/install-powershell.ps1 -OutFile ./install-powershell.ps1
./install-powershell.ps1 -Destination $powerShellPath -Daily
#region UX config
Import-Module posh-git
if (Get-Module PSReadLine) {
Import-Module oh-my-posh
$ThemeSettings.MyThemesLocation = "~/.config/powershell/oh-my-posh/Themes"
if (Get-Theme | Where-Object Name -eq Sorin-NL) {
Set-Theme Sorin-NL
@MHM5000
MHM5000 / BSG-Watch-order.md
Last active October 13, 2025 07:39
Battlestar Galactica watch order

Source 1 Source 2

به ترتیب ساخت و پخش

Production Order

The show's production order is probably the best viewing order as well, since this is the order the series originally aired in and is what most people viewed the series in. This also best protects later spoilers and crucial plot revelations.