Skip to content

Instantly share code, notes, and snippets.

View soasme's full-sized avatar
🐷
Peppa PEG v1.16.0 is released!

Ju soasme

🐷
Peppa PEG v1.16.0 is released!
View GitHub Profile

Core Problem: Users need a frictionless way to log daily actions and track their impact without overwhelming complexity.

Invariants for Success:

  1. Users can log actions in under 10 seconds.
  2. The feed clearly shows the relationship between actions and outcomes.
  3. The default view prioritizes today's activities.
  4. Reflection is optional and unobtrusive.

Must-Have Outcome of the MVP: A single screen that allows users to log actions quickly, view a feed of their logs, and see metrics associated with those actions.

Keyword Category Search Intent Notes
indie hacker Indie Development Community/identity Very high overlap with IH audience; good for blog/landing pages
indie developer tools Indie Development Tool discovery People actively look for resources to support indie projects
build side project Indie Development How-to/educational Entry point for your funnel
bootstrap startup Indie Development Founders searching for growth without VC Good for blog/landing pages
solo founder guide Indie Development Educational Clear match for your positioning
startup roadmap Growth & Roadmap How-to planning Competes with Notion/roadmap templates
startup checklist Growth & Roadmap Tactical Strong “template” content angle
indie hacker roadmap Growth & Roadmap How-to planning Niche-specific variant you can own
startup daily tasks Growth & Roadmap Practical guidance Perfect fit for “daily missions” angle
{ pkgs ? import <nixpkgs> {}}:
with pkgs; mkShell {
# Include C++ headers for regular clang calls:
NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [
"-I${lib.getDev libcxx}/include/c++/v1"
];
nativeBuildInputs = [
...
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
---- MODULE VirtualMachine ----
VM_Version == "1.0.0"
LOCAL INSTANCE Sequences
LOCAL INSTANCE Integers
LOCAL INSTANCE TLC
CONSTANT PC
CONSTANT SUBJ

Overview

In this document, I propose to separate SLI from SLO as a new data kind in OpenSLO specification. See discussion #29.

SLI

A service level indicator (SLI) represents how to gather data from metric sources.

apiVersion: openslo/v0.2.0-beta
# python3 /tmp/iterategosrc.py /tmp/go/src/
# check whether go grammar can pass all golang source files.
import os
import sys
import glob
import subprocess
root_dir = sys.argv[1]
total = 0
failed = 0
for filename in glob.iglob(root_dir + '**/**.go', recursive=True):
@soasme
soasme / go.peg
Last active August 23, 2021 02:44
newline = "\x0a";
@spaced @lifted @squashed
whitespace = " " / "\t" / "\r" / "\n";
@spaced @lifted @squashed
comment = "//" (!"\n" .)* "\n"?
/ "/*" (!"*/" .)* "*/";
unicode_char = !"\x0a" .;
# An idea of a new scripting language that focuses on glueing system commands.
# single line command
$ echo hello world
# multi-lines command
$(
python myscript.py
&& echo "done"
)
@soasme
soasme / attrs.c
Last active April 21, 2021 04:01
Attrs example.
// https://gist.github.com/soasme/7ede641156d2a7bee4b8bec2e87c2197
#include <stdio.h>
#include "attrs.h"
AttrsError CoordinatePrint(AttrsArgs args) {
AttrsRef self = AttrsGetSelf(args);
FILE* f = AttrsGetPtrArg(args, "f", FILE*); // Or, FILE* f = (FILE*) AttrsGetPtr (AttrsGetArg(args, "f"));
int x = AttrsGetInt(self, "x"); // Or, int x = AttrsGetInt(args, "self.x");