Skip to content

Instantly share code, notes, and snippets.

View YanSte's full-sized avatar
🌎
Working from Zurich

Yannick Stephan YanSte

🌎
Working from Zurich
View GitHub Profile
@YanSte
YanSte / dgx-qwen-claude.md
Last active October 12, 2026 20:26
DGX Spark + Qwen3.5 + Claude Code Setup

DGX Spark + Qwen3.5 + Claude Code Setup

Local AI coding assistant using Claude Code with a local model on NVIDIA DGX Spark.

This setup allows Claude Code to run without using the Anthropic cloud API by redirecting requests to a local vLLM inference server running Qwen3.5. oai_citation:0‡vLLM


Architecture

@YanSte
YanSte / Langchain FastAPI and Stream Response.py
Created April 19, 2024 11:02
Langchain FastAPI and Stream Response
# Fast API
```
@router.get("/myExample")
async def mySpecialAPI(
session_id: UUID,
input="Hello",
) -> StreamResponse:
# Note: Don't write await we need a coroutine
invoke = chain.ainvoke(..)
@YanSte
YanSte / semi_structured_rag_v1.ipynb
Created February 10, 2024 08:21 — forked from esenthil2018/semi_structured_rag_v1.ipynb
Semi_Structured_RAG_V1.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@YanSte
YanSte / VibrationService.swift
Last active April 16, 2021 08:34
Vibration service on iOS
//
// Vibration.swift
//
// Created by Yannick Stephan on 2020-11-21.
//
import UIKit
import AudioToolbox
enum VibrationService {
reate session foo and attach
$ tmux new -s foo
create detached session foo
$ tmux new -s foo -d
list sessions
$ tmux ls
attach
@YanSte
YanSte / gist:6daf33db74d34b1945b2629b1253339d
Created December 24, 2018 02:05
Reset ssh connection to Raspberry : WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
ssh-keygen -R "you server hostname or ip"
@YanSte
YanSte / gist:12e9f388dff9ccd85bb26eeaddd228df
Last active December 24, 2018 02:08
Build Swift project
In project
swift build
swift run myTargetName
@YanSte
YanSte / gist:7140ced292ac4938fef96c880ed81eeb
Created December 24, 2018 01:39
Copy Folder Mac to Raspberry
scp -r /Users/xxxx/Documents/Dev/rpi/ pi@x.x.x.x:~
@YanSte
YanSte / gist:ea9c1561b916bf0491265c727f397277
Created December 24, 2018 01:20
How create package with Swift 4.1.2, raspbian
swift package init --type executable
swift package tools-version --set 4.1.2
swift package update
swift package generate-xcodeproj