Skip to content

Instantly share code, notes, and snippets.

@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active January 9, 2025 15:34
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@devinschumacher
devinschumacher / cloud-gpus.md
Last active January 9, 2025 15:33
Cloud GPUs // The Best Servers, Services & Providers [RANKED!]

Cloud GPUs: Servers, Providers & Everything You Would Ever Need

Your company's GPU computing strategy is essential whether you engage in 3D visualization, machine learning, AI, or any other form of intensive computing.

There was a time when businesses had to wait for long periods of time while deep learning models were being trained and processed. Because it was time-consuming, costly, and created space and organization problems, it reduced their output.

This problem has been resolved in the most recent GPU designs. Because of their high parallel processing efficiency, they are well-suited for handling large calculations and speeding up the training of your AI models.

When it comes to deep learning, good Cloud GPUs can speed up the training of neural networks by a factor of 250 compared to CPUs, and the latest generation of [cloud GPUs is reshaping data science](https://www.perplexity.ai/page/best-cloud-gpu-rental-provider-HNR3Ws

@matsuu
matsuu / config
Last active January 9, 2025 15:31
Ghostty
# カーソルの色変更
cursor-color = purple
cursor-opacity = 0.7
cursor-style = block
# https://github.com/yuru7/udev-gothic
font-family = UDEV Gothic NF
# UDEV Gothicではリガチャが有効になってしまうので無効化
font-feature = -dlig
@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active January 9, 2025 15:31
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.
@lee8oi
lee8oi / startProcess.go
Last active January 9, 2025 15:31
Using os.StartProcess() in Go for platform-independent system command execution.
package main
import (
"os"
"os/exec"
)
func Start(args ...string) (p *os.Process, err error) {
if args[0], err = exec.LookPath(args[0]); err == nil {
var procAttr os.ProcAttr
@Hypnosphi
Hypnosphi / docker-shell.sh
Created November 29, 2019 17:53 — forked from falvarez/docker-shell.sh
Run docker container, mount current working directory and get interactive shell
docker run -ti -v $(pwd):/tmp -w /tmp DOCKER_IMAGE /bin/bash
@j33ty
j33ty / print-memory.go
Created May 22, 2019 20:54
Go print current memory
package main
import (
"runtime"
"fmt"
"time"
)
func main() {
// Print our starting memory usage (should be around 0mb)
using UnityEngine;
using TMPro;
// NOTE: Make sure to include the following namespace wherever you want to access Leaderboard Creator methods
using Dan.Main;
namespace LeaderboardCreatorDemo
{
public class LeaderboardManager : MonoBehaviour
{