A prompt to boost your lazy "do this" prompts. Install with one of the buttons below.
| ARG CUDA_VERSION=12.8.1 | |
| FROM nvidia/cuda:${CUDA_VERSION}-devel-ubuntu20.04 AS vllm_gpt-oss | |
| ARG CUDA_VERSION | |
| ARG PYTHON_VERSION=3.12 | |
| ### --- Stuff from default Dockerfile ---- ### | |
| # The PyPA get-pip.py script is a self contained script+zip file, that provides | |
| # both the installer script and the pip base85-encoded zip archive. This allows | |
| # bootstrapping pip in environment where a dsitribution package does not exist. |
| #!/usr/bin/python3 | |
| # Script to help migrate Pylint config to Ruff. | |
| # | |
| # It lists enabled Pylint rules, Pylint rules that are enabled but already covered by Ruff rules, | |
| # and the Ruff rules not enabled yet that match enabled Pylint rules. | |
| # | |
| # Largely based on https://github.com/astral-sh/ruff/issues/970 | |
| import re | |
| import subprocess | |
| from collections.abc import Mapping, Sequence |
| #!/bin/bash | |
| TEST_RUN_FILE="$HOME/Downloads/alo.txt" | |
| TEST_RUN= | |
| round() { | |
| printf '%.0f' "$1" | |
| } | |
| get_stats() { |
| # Save the transcripts using the "Save Page WE" Chrome Extension | |
| # This script was generated by ChatGPT | |
| import sys | |
| from bs4 import BeautifulSoup | |
| # Check if a file was provided as a command line argument | |
| if len(sys.argv) < 2: | |
| print("Please provide an HTML file as a command line argument.") | |
| sys.exit(1) |
How to break up a monorepo using git subtree:
$ NEW_REPO_PATH=
$ OLD_REPO_PATH=
This is a guide that I put together which is primarily aimed at Steam Deck enthusiasts and developers. I will be updating this over time as I think of more things to put in here.
| #!/bin/bash | |
| # root privilege required | |
| if cd /sys/bus/platform/drivers/ehci-platform >& /dev/null; then | |
| for dev in *.usb; do | |
| echo -n $dev > unbind | |
| echo -n $dev > bind | |
| done | |
| fi |
| using System.Collections.Generic; | |
| using DiceKingdoms.Game; | |
| using DiceKingdoms.Interface; | |
| using Unity.Mathematics; | |
| using UnityEditor; | |
| using UnityEditor.U2D; | |
| using UnityEngine; | |
| using UnityEngine.Experimental.Rendering; | |
| using UnityEngine.U2D; | |
| using Utility; |