Skip to content

Instantly share code, notes, and snippets.

View pheuberger's full-sized avatar

Philipp Heuberger pheuberger

View GitHub Profile
@ruvnet
ruvnet / *claude.md
Last active July 29, 2025 20:40
The Claude-SPARC Automated Development System is a comprehensive, agentic workflow for automated software development using the SPARC methodology with the Claude Code CLI

Claude-SPARC Automated Development System For Claude Code

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

The SPARC Automated Development System (claude-sparc.sh) is a comprehensive, agentic workflow for automated software development using the SPARC methodology (Specification, Pseudocode, Architecture, Refinement, Completion). This system leverages Claude Code's built-in tools for parallel task orchestration, comprehensive research, and Test-Driven Development.

Features

@cloudnull
cloudnull / solus-oh-my-zsh-theme.png
Last active September 30, 2024 15:26
Solus zsh theme for oh-my-zsh
solus-oh-my-zsh-theme.png
@subdigital
subdigital / minimal-vim.sh
Last active August 17, 2021 15:44
minimal vim setup for linux servers / vms + swift
#! /bin/bash
set -e
if [[ -f ~/.vimrc ]]
then
echo "You already have a ~/.vimrc. Aborting to avoid losing data..."
exit 1
fi
@pheuberger
pheuberger / NSData-Extension.swift
Last active October 19, 2017 16:58
NSData to hex string conversion in Swift 2
/*
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
@DTAIEB
DTAIEB / cloudantUpsert.js
Created September 1, 2015 14:27
Upsert a document in a cloudant/couch database
/**
* Update doc if exists, insert a new one if not
* @param: docId
* @param: callback(doc), return updated document by the caller
* @param: done( err, doc ) status callback
*/
this.upsert = function( db, docId, callback, done ){
var insert = function( body ){
//Let caller modify doc if already exists, caller can replace with entirely new doc, however, doc id will be reestablished if doc already exists
var id = body && (body._id || body.id);
@glen-cheney
glen-cheney / encoding-video.md
Last active November 24, 2024 10:09
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@tuxfight3r
tuxfight3r / vim-shortcuts.md
Last active July 26, 2025 22:01
VIM SHORTCUTS

VIM KEYBOARD SHORTCUTS

MOVEMENT

h        -   Move left
j        -   Move down
k        -   Move up
l        -   Move right
$        -   Move to end of line
0        -   Move to beginning of line (including whitespace)
@robatron
robatron / javascript-log-wrapping.md
Last active October 27, 2024 14:01
Wrapping `console.log` (et al.) in your own function to modify logging behavior.

JavaScript Log Wrapping

Wrapping console.log (et al.) in your own function to modify logging behavior.

Why?

You may want a simple way to:

@cdown
cdown / gist:1163649
Last active July 7, 2025 00:58
Bash urlencode and urldecode
urlencode() {
# urlencode <string>
old_lc_collate=$LC_COLLATE
LC_COLLATE=C
local length="${#1}"
for (( i = 0; i < length; i++ )); do
local c="${1:$i:1}"
case $c in