Skip to content

Instantly share code, notes, and snippets.

@asherber
asherber / 01 Overview.md
Last active February 16, 2026 06:01
Moving from Picasa to digiKam

Moving from Picasa to digiKam

For many years, I've used Picasa to manage my thousands of photos. I'm not a pro, so I shoot in JPG instead of RAW, and Picasa offered the things I needed: basic tag management, some basic non-destructive photo editing, and a star label to indicate which photos I had uploaded to my online albums.

I recently decided to move everything into digiKam, which meets all of my requirements and gives me room to expand my workflow. Getting my photos and stars into digiKam required a little bit of elbow grease, and I thought I'd share my process and the scripts I wrote. All of the scripts below are in C# and were run with LINQPad. Note that I'm on Windows, so things might need to be adjusted a bit for other OSes. (And LINQPad is Windows only, but the scripts should also run as C# apps.)

Getting separate copies of original and edited photos

Because I had made use of Picasa's non-destructive editing, all of my original photos on disk were

@karpathy
karpathy / microgpt.py
Last active February 16, 2026 06:00
microgpt
"""
The most atomic way to train and inference a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@pansila
pansila / huorong.json
Created February 9, 2022 13:38
一个火绒的防止流氓软件安装的规则
{
"ver":"5.0",
"tag":"hipsuser",
"data":[
{
"id":54,
"power":1,
"name":"禁垃圾软件",
"procname":"*",
"treatment":3,
@sliminality
sliminality / puz.md
Created November 14, 2018 06:40
Documentation for the Across Lite *.puz format, reformatted from https://code.google.com/archive/p/puz/wikis/FileFormat.wiki
@BeattieM
BeattieM / API Contract Example Spec.md
Last active February 16, 2026 05:52
An example of an API contract between the server and front-end devices

#Users

  • User object
{
  id: integer
  username: string
  email: string
  created_at: datetime(iso 8601)
  updated_at: datetime(iso 8601)
}
@nort3x
nort3x / readme.md
Last active February 16, 2026 05:51
Intellij License Activation 2025 - don't use ja-netfilter

Intro

I personally experienced slow downs and problems using ja-netfilter agent

i decided to inspect how jetbrains check for validity of licenses(because despite the fact i exclusivly told jetbrains to work-offline it still check the licesnse)

these are my conlusions: two domains are responsible for revoking invalid licenses: