Skip to content

Instantly share code, notes, and snippets.

@isigmund
isigmund / statusline-command.sh
Created June 27, 2026 17:12
Claude Code statusline: ~path + git branch/status + session cost (threshold-colored)
#!/bin/bash
input=$(cat)
cwd=$(echo "$input" | jq -r '.workspace.current_dir // .cwd // empty')
# show full path from home, abbreviated with ~
dir="$cwd"
case "$dir" in
"$HOME") dir='~' ;;
"$HOME"/*) dir="~${dir#"$HOME"}" ;;
esac
import sys
def main():
def calculate_sum(lst, idx):
if idx >= len(lst):
return 0
val = int(lst[idx])
term = (val ** 4) if val <= 0 else 0
return term + calculate_sum(lst, idx + 1)
def process_cases(cases_left):
if cases_left <= 0:
7ab9bd2ca7c810c862ce256d6e01e29e199449589e510e92c5ca1c747bcdafe5 @ 1782580325.7329004
7ab9bd2ca7c810c862ce256d6e01e29e199449589e510e92c5ca1c747bcdafe5 @ 1782580324.539637
@CareFlow-93
CareFlow-93 / gist:ca05b14b8cdec7f4dc0d63605285b514
Created June 27, 2026 17:11
대기 중 CO₂를 직접 포집하는 유전자 카세트
# Kepi-DNA 탄소 포집 — 출력용 전체 설계도 v2
**날짜:** 2026-06-28 | **상태:** candidateOnly=true | **Gist:** https://gist.github.com/CareFlow-93/4f654f6b13991c9fa1187b59e735aac6
## 1. 개요
- **목표:** 대기 중 CO₂를 직접 포집하는 유전자 카세트
- **숙주:** Synechocystis sp. PCC 6803 (또는 Synechococcus elongatus PCC 7942)
- **방법:** 합성생물학 — DNA 합성 → Gibson Assembly → 형질전환 → 검증
- **전체 크기:** 7,300 bp (v1 대비 -206 bp, CONTAMINATION 제거)
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created June 27, 2026 17:10
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Sunday, June 28, 2026, 2:10:06 AM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(2.4.1), HarmonyMod(2.4.2)
Loading Progress(ilyvion.LoadingProgress): ilyvion.LoadingProgress(0.11.0)
Better Stacktraces(aleksey.betterstacktraces): BetterStacktraces(1.0.0)
Core(Ludeon.RimWorld): (no assemblies)
Better Log - Fix your errors(ka.betterlog): 0PrepatcherAPI(1.2.0), 1Fishery(0.5.1.2), BetterLog(1.1.0), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
@jleechan2015
jleechan2015 / pr-7984-evidence.json
Created June 27, 2026 17:09
PR #7984 cold-start latency evidence — issue #7961 (240s → 21s)
{
"pr": 7984,
"branch": "fix/gunicorn-workers-1-cold-start",
"issue": 7961,
"head_sha_short": "132348f",
"summary": "Cloud Run cold-start latency reduced from 240s (4 min) to ~21s by switching GUNICORN_WORKERS default from (2*CPU)+1=17 to 1",
"before": {
"workers_per_instance": 17,
"concurrency_per_worker": "GUNICORN_THREADS=16 (defaults)",
"total_concurrency_capacity": 272,

Privacy Policy — Pillars (Personal Dashboard)

This is a personal-use application built and run entirely on my own computer. It is not distributed to, or used by, any other individuals.

Data Storage

All data — including data retrieved from the WHOOP API — is stored locally in a SQLite database on my own machine. No data is uploaded to any server, cloud service, or third party.

@Monfraal
Monfraal / log-❓・duvidas・restingstring86_32675.html
Created June 27, 2026 17:08
Log - Ticket #❓・duvidas・restingstring86_32675
<html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="icon" type="image/png" href="https://cdn.discordapp.com/icons/1396184864709017641/639008d1098d050b040f6f06920ee01f.png?size=16"/><title>❓・duvidas・restingstring86_32675</title><script>document.addEventListener("click",t=>{let e=t.target;if(!e)return;let o=e?.getAttribute("data-goto");if(o){let r=document.getElementById(`m-${o}`);r?(r.scrollIntoView({behavior:"smooth",block:"center"}),r.style.backgroundColor="rgba(148, 156, 247, 0.1)",r.style.transition="background-color 0.5s ease",setTimeout(()=>{r.style.backgroundColor="transparent"},1e3)):console.warn("Message ${goto} not found.")}});</script><script>window.$discordMessage={profiles:{"1470786642502750258":{"author":"Nezuko","avatar":"https://cdn.discordapp.com/avatars/1470786642502750258/34b8cf64842df124002a62a357008584.webp?size=64","roleColor":"#ff5dd6","roleIcon":"https://cdn.discordapp.com/role-icons/1481043678599577652/d1110323433c23536ef68
@feibish
feibish / gist:9afe574e848ff3a32aa2ce78d8659362
Last active June 27, 2026 17:12
springer-basic-no-doi.csl
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0"
class="in-text"
demote-non-dropping-particle="never"
default-locale="en-US">
<info>
<title>Springer Basic — No DOI</title>
<id>http://www.zotero.org/styles/springer-basic-no-doi</id>
<link href="http://www.zotero.org/styles/springer-basic-no-doi" rel="self"/>