Skip to content

Instantly share code, notes, and snippets.

@stevespringett
stevespringett / docker-compose.yml
Created January 4, 2019 21:00
Dependency-Track sample compose file with PostgreSQL - This doesn't take into account startup/timing to ensure PostgreSQL is ready to accept connections before Dependency-Track startups up.
version: '3'
services:
postgres10:
environment:
- POSTGRES_USER=dtrack
- POSTGRES_PASSWORD=changeme
image: 'postgres:10.5'
volumes:
- './postgres-data:/var/lib/postgresql/data'
dtrack:
@gudmeong
gudmeong / domain.json
Last active December 21, 2025 18:14
LOD [ LoT of Domains ]
{
"bypass": [
"ouo.io",
"ouo.press"
],
"old_bypass": [
"ouo.io",
"ouo.press",
"link-to.net",
"direct-link.net",
@awni
awni / mlx_distributed_deepseek.md
Last active December 21, 2025 18:09
Run DeepSeek R1 or V3 with MLX Distributed

Setup

On every machine in the cluster install openmpi and mlx-lm:

conda install conda-forge::openmpi
pip install -U mlx-lm

Next download the pipeline parallel run script. Download it to the same path on every machine:

@BigRoy
BigRoy / maya_cycle_evaluation_error.py
Created January 12, 2022 00:36
Maya check Cycle Errors more thoroughly where maya.cmds.cycleCheck(list=True) fails.
from maya import cmds
import contextlib
@contextlib.contextmanager
def capture_cycle_errors():
"""Capture the plugs in Cycle Error warnings.
During this context "Cycle on 'x' may not evaluate as expected"
are captured and 'x' is extracted as plugs in the yielded list.
@jbfriedrich
jbfriedrich / nsmb.conf
Last active December 21, 2025 18:07
macOS 11.2 NSMB configuration
# /etc/nsmb.conf - macOS 11.3 - 2021-04-29
#------------------------------------------------------------------------------
# SMB configuration for macOS 11.3 <-> Synology
#------------------------------------------------------------------------------
# Additional information:
# -----------------------
# https://support.apple.com/de-de/HT211927
# https://support.apple.com/en-us/HT208209
# https://apple.stackexchange.com/questions/309016/smb-share-deadlocks-since-high-sierra
# https://photographylife.com/afp-vs-nfs-vs-smb-performance
@skrymets
skrymets / Cornell's Notes Template.md
Last active December 21, 2025 18:06
Cornell Note Template for Obsidian
cssclass
cornell-note
Cues

Notes

The Cornell Note-taking System is a popular and effective method for organizing and summarizing information during lectures, readings, or any other form of learning.

@rianvdm
rianvdm / brainstorming-planning.md
Last active December 21, 2025 18:06
Project brainstorming and spec creation

Project brainstorming and spec creation

Build ideas from scratch through guided discovery, then produce developer-ready specs and implementation prompts.


When to Use

  • Starting a new side project from a rough idea
  • Need structured thinking before jumping into code
@lopspower
lopspower / README.md
Last active December 21, 2025 18:03
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@0xdevalias
0xdevalias / beeper-custom-theme-styles.md
Last active December 21, 2025 18:02
Custom themes/CSS styling hacks/overrides for Beeper (universal chat app aggregator, built on top of matrix)
@F21
F21 / signing-gpg-keys.md
Last active December 21, 2025 18:00
Signing someone's GPG key

This is a quick guide of the commands we use to sign someone's GPG key in a virtual key signing party.

Note: The steps cover only the technical aspects of signing someone's key. Before signing someone's key, you must verify their identity. This is usually done by showing government-issued ID and confirming the key's fingerprint

The commands will work for both GPG and GPG2.

I use Julian's key for the examples. His key id is 2AD3FAE3. You should substitute with the appropriate key id when running the commands.

Signing the key

  1. List the keys currently in your keyring: gpg --list-keys.