Skip to content

Instantly share code, notes, and snippets.

View UltraInstinct0x's full-sized avatar
πŸ’’
Always online on Discord!

Goku UltraInstinct0x

πŸ’’
Always online on Discord!
View GitHub Profile
@swiss-shift-ch
swiss-shift-ch / README.md
Created May 12, 2026 21:41
Receipt processing for Swiss accounting firms β€” n8n template (Email β†’ OCR β†’ AI β†’ Drive β†’ Sheet). 15 nodes, Claude Haiku 4.5. MIT License.

Receipt Processing for Swiss Accounting Firms β€” n8n Template

A 15-node workflow for automated receipt processing: Email β†’ OCR β†’ AI classification β†’ client matching β†’ Google Drive routing β†’ Sheet journaling. Uses Claude Haiku 4.5 (~$0.001 per receipt).

Use-case: Clients email PDF receipts to your accounting firm. The workflow extracts the PDF text, classifies it with Claude (invoice / payroll / receipt / etc.), automatically matches the right client, files the PDF into the correct Drive folder, and logs the result in a journal Sheet. Low-confidence cases land in a _Unzugeordnet ("unassigned") folder for human review.

Public template β€” initial release 2026-05-11 by Swiss Shift (Basel, Switzerland).

Note: the workflow's internal node names are in German because it was built for Swiss accounting firms. The structure and logic are language-agnostic. Setup instructions below are in English.

"""
The most atomic way to train and run inference for 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
@jlia0
jlia0 / agent loop
Last active July 20, 2026 00:03
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@VictorTaelin
VictorTaelin / ai_reasoning_challenge_v2.md
Last active March 8, 2026 07:24
INVERT A BINARY TREE - $10k AI REASONING CHALLENGE (v2)

THE PROBLEM

🌲 Invert a binary tree! 🌲

Except with 3 catches:

  1. It must invert the keys ("bit-reversal permutation")
  2. It must be a dependency-free, pure recursive function
  3. It must have type Bit -> Tree -> Tree (i.e., a direct recursion with max 1 bit state)
@jongpie
jongpie / generate-retrieve-commands.cls
Last active June 11, 2026 07:53
SFDX: Retrieve All EmailTemplates
// Get the email templates
Set<String> folderNames = new Set<String>();
List<EmailTemplate> emailTemplates = [SELECT Id, DeveloperName, FolderName FROM EmailTemplate ORDER BY FolderName, DeveloperName];
for (EmailTemplate emailTemplate : emailTemplates) {
folderNames.add(emailTemplate.FolderName);
}
// Get the folder dev names - this assumes the Folder.Name (display name) is unique in the org
Map<String, String> folderDisplayNameToDevName = new Map<String, String>();
for (Folder folder : [SELECT Id, DeveloperName, Name FROM Folder WHERE Name IN :folderNames and Name != 'Unfiled Public Classic Email Templates']) {
@iamsonal
iamsonal / package.xml
Created December 15, 2018 00:51
Package.xml to retrieve all metadata from salesforce org
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>ActionLinkGroupTemplate</name>
</types>
<types>
<members>*</members>
<name>AnalyticSnapshot</name>
</types>