Skip to content

Instantly share code, notes, and snippets.

@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active May 4, 2025 22:36
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@Te-k
Te-k / threat_intel.md
Last active May 4, 2025 22:35
Threat Intelligence platforms
@pustovitDmytro
pustovitDmytro / abubis_notify.sh
Last active May 4, 2025 22:33
Anubis: download torrents to usb
#!/bin/bash
# Variables (replace with your bot token and chat ID)
BOT_TOKEN=""
CHAT_ID="238585617"
# Function to send notification to Telegram
send_telegram_message() {
local message="$1"
curl -s -X POST "https://api.telegram.org/bot$BOT_TOKEN/sendMessage" \
@gergelyorosz
gergelyorosz / climbing_a_mountain.py
Created April 29, 2025 11:47
Climbing a moving mountain
# Example code for The Pragmatic Engineer article "Robotics for software engineers: humanoid robots"
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as animation
from mpl_toolkits.mplot3d import Axes3D # Needed for 3D plotting
# Dynamic Cone Function
eps = 1e-6 # small epsilon to avoid division by zero
@usrbinkat
usrbinkat / README.md
Last active May 4, 2025 22:32
Ollama + Open-Webui + Nvidia/CUDA + Docker + docker-compose

image

UPDATE: This is tested and working on both Linux and Windows 11 used for LlaMa & DeepSeek

Here's a sample README.md file written by Llama3.2 using this docker-compose.yaml file that explains the purpose and usage of the Docker Compose configuration:

ollama-portal

A multi-container Docker application for serving OLLAMA API.

@ansarizafar
ansarizafar / visualstudio2019Key.txt
Created August 10, 2020 19:41
Visual Studio 2019 Product Key
Visual Studio 2019 Product Key
[Please Star this gist]
Follow My Account --> https://github.com/ch-kashif @ch-kashif
Lets do a code together
Join Cloud Disk repository --> https://github.com/ch-kashif/CloudDisk
@YuriyGuts
YuriyGuts / link-ollama-models-to-lm-studio.py
Last active May 4, 2025 22:28
Expose Ollama models to LM Studio by symlinking its model files. Just run `python3 link-ollama-models-to-lm-studio.py`. On Windows, run it as admin.
@the-eversio
the-eversio / qb-createTorrent.sh
Created February 25, 2025 00:02
qbittorrent create torrent scripts
#!/bin/bash
if [[ $# -ne 2 ]]; then
echo "usage: $0 PATH TORRENT" >&2
echo "" >&2
echo "PATH - Path to the file(s) you want to upload" >&2
echo "TORRENT - Path where the .torrent file will be created " >&2
exit 2
fi
@manuelbl
manuelbl / README.md
Created August 3, 2019 09:12
ESP32 as Bluetooth Keyboard

ESP32 as Bluetooth Keyboard

With its built-in Bluetooth capabilities, the ESP32 can act as a Bluetooth keyboard. The below code is a minimal example of how to achieve it. It will generate the key strokes for a message whenever a button attached to the ESP32 is pressed.

For the example setup, a momentary button should be connected to pin 2 and to ground. Pin 2 will be configured as an input with pull-up.

In order to receive the message, add the ESP32 as a Bluetooth keyboard of your computer or mobile phone:

  1. Go to your computers/phones settings
  2. Ensure Bluetooth is turned on
#include <stdio.h>
#include "tb.h"
int main()
{
TB_Arena a = {0};
tb_arena_create(&a, "ABOBA");
TB_Module* m = tb_module_create(TB_ARCH_X86_64, TB_SYSTEM_LINUX, false);
printf("m = %p\n", m);