This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
# Clear default scene | |
bpy.ops.object.select_all(action='SELECT') | |
bpy.ops.object.delete() | |
# ------------------------------- | |
# Load Background CapCut Export | |
# ------------------------------- | |
bg = bpy.ops.import_image.to_plane(files=[{"name":"capcut_bg.mp4"}]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sudo tee and EOF removed for scriptable runs. | |
#sudo tee /etc/update-motd.d/00-custom > /dev/null <<'EOF' | |
#!/usr/bin/env bash | |
# Colors | |
GREEN="\e[32m" | |
YELLOW="\e[33m" | |
CYAN="\e[36m" | |
MAGENTA="\e[35m" | |
RED="\e[31m" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# go-cli-wrapper.sh - A wrapper for running Go-based CLI tools | |
# Colors for terminal output | |
GREEN='\033[0;32m' | |
YELLOW='\033[0;33m' | |
RED='\033[0;31m' | |
NC='\033[0m' # No Color | |
# Check if Go is installed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# sudo tee /dev/null <<'EOF' | |
# ============================================================================== | |
# Streamctl - Wayland/Wlroots Display Streaming Tool (Hardened, Parallel-Enabled) | |
# | |
# A versatile, fault-tolerant streaming control utility with support for: | |
# • HLS, MJPEG, RTSP streaming modes with graceful fallback | |
# • Custom streaming profiles (e.g. YouTube with your stream key) | |
# • OBS WebSocket configuration (port 4455) for eventual integration | |
# • Desktop recording mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ========================================================================= | |
# Enhanced File Finder Script with FZF Integration | |
# | |
# Created by: David Cannan | |
# Email: [email protected] | |
# GitHub: https://github.com/Cdaprod | |
# YouTube: https://youtube.com/@Cdaprod | |
# | |
# Save to /usr/local/bin/f and make executable with: chmod +x /usr/local/bin/f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo tee /etc/wpa_supplicant/wpa_supplicant.conf > /dev/null <<EOF | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
country=US | |
network={ | |
ssid="YourWiFiSSID" | |
psk="YourWiFiPassword" | |
key_mgmt=WPA-PSK | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Self-install if not already in /usr/local/bin | |
INSTALL_PATH="/usr/local/bin/streamctl" | |
if [[ "$0" != "$INSTALL_PATH" ]]; then | |
echo "[+] Installing streamctl to $INSTALL_PATH..." | |
mkdir -p "$(dirname "$INSTALL_PATH")" | |
cp "$0" "$INSTALL_PATH" 2>/dev/null || cat > "$INSTALL_PATH" | |
chmod +x "$INSTALL_PATH" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
echo "===> Setting up auto desktop terminal for shellfish-* tmux sessions..." | |
# Determine user and home directory | |
USER_NAME="${SUDO_USER:-$USER}" | |
USER_HOME=$(eval echo "~$USER_NAME") | |
AUTOSTART_DIR="$USER_HOME/.config/autostart" | |
BIN_DIR="$USER_HOME/bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# === CONFIG === | |
SESSION_NAME="shellfish" | |
DISPLAY_NAME=":0" | |
STREAM_PORT="8090" | |
FFMPEG_PATH=$(which ffmpeg) | |
WFREC_PATH=$(which wf-recorder) | |
GNOME_TERM=$(which gnome-terminal) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import time | |
import threading | |
from collections import defaultdict | |
# Settings | |
HOST = '0.0.0.0' # Listen on all interfaces | |
PORT = 22 # SSH default port | |
LOG_FILE = "attackers.log" | |
BLOCK_THRESHOLD = 5 # Number of attempts before blocking |
NewerOlder