Skip to content

Instantly share code, notes, and snippets.

@Mr-Precise
Mr-Precise / vs_buildtools_dl_list.md
Created February 28, 2024 05:33
MSVC / VS / Buildtools download link collection list
@Hansimov
Hansimov / install-pytorch-with-cuda.md
Last active March 13, 2025 09:31
Install PyTorch with CUDA enabled

Check if CUDA is available by torch:

import torch

def check_cuda():
    print(torch.version.cuda)
    cuda_is_ok = torch.cuda.is_available()
    print(f"CUDA Enabled: {cuda_is_ok}")
@bettse
bettse / SIO.md
Last active March 13, 2025 09:30
iClass

SIO

If you've only got an SIO and you wonder what the length of the credential is, this information, experimentally derived and provided on Discord, may help.

SIO Payload Length PACS Minimum Size PACS Maximum Size
21 Bytes 25 bits 32 bits
22 Bytes 33 bits 40 bits
23 Bytes 41 bits 48 bits
@Twanne
Twanne / joke_generator.yaml
Last active March 13, 2025 09:30
Home Assistant Blueprint: Joke Generator
blueprint:
name: Joke generator
author: AntonH
description: |
Version 1.1
This blueprint selects a random rude joke from a list.
There are 3 types of jokes to choose from: funny insults, yo momma jokes and dad jokes
It speaks The 9 most common languages in Europe: German, English, French, Italian, Spanish, Dutch, Portuguese, Turkish and Russian.
source_url: https://gist.github.com/Twanne/8c09e6a876befcfda1828dc0829612db
domain: automation
@jlia0
jlia0 / agent loop
Last active March 13, 2025 09:27
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@CriDos
CriDos / launch.json
Last active March 13, 2025 09:25
Debugging .NET Projects in Cursor with netcoredbg: launch.json Example
{
"version": "0.2.0",
"configurations": [
{
"name": "Client (Debug)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-client-debug",
"program": "${workspaceFolder}/Build/Debug/HardClient.exe",
"args": [],
#!/usr/bin/env ruby
require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem 'premailer'
gem 'nokogiri'
gem 'base64'
gem 'mail'

Next.js Starters

A list of CLI generators, starter kits / boilerplates and toolkits to kick start your Next.js apps.

  • What is included in this list:
    • Has ~1K+ Github stars
    • Actively maintained / up to date
    • Includes a style / css solution or UI Framework
    • Includes a database
  • Includes authentication / authorization
@stared
stared / My Clippings.txt
Last active March 13, 2025 09:23
Convert Kindle highlights and notes into Markdown - to be used in Obsidian or Static Site Generator
The Design of Everyday Things: Revised and Expanded Edition (Norman, Don)
- Your Highlight on page 101 | location 2210-2212 | Added on Wednesday, 11 May 2016 21:05:40
It is a profoundly erroneous truism, repeated by all copy-books and by eminent people when they are making speeches, that we should cultivate the habit of thinking of what we are doing. The precise opposite is the case. Civilization advances by extending the number of important operations which we can perform without thinking about them. (Alfred North Whitehead, 1911.)
==========
The Design of Everyday Things: Revised and Expanded Edition (Norman, Don)
- Your Highlight on page 111 | location 2395-2396 | Added on Saturday, 18 June 2016 19:33:53
unless it is triggered by some external event or unless we deliberately keep it in mind through constant repetition (which then prevents us from having other conscious thoughts).
==========