Laur's blog
Sign in Subscribe

code

A collection of 4 posts
Vibe Coding - Add a field to a Qdrant collection
python

Vibe Coding - Add a field to a Qdrant collection

I have created a Qdrant collection off a repository of mine and I had the following payload fields: * file_name - the source code file name (path actually) * branch - the git repository branch that I have indexed * repository_name - the git repository name * chunk - the text chunk
Apr 2, 2025 2 min read
Multiline Regex in Visual Studio Code
code

Multiline Regex in Visual Studio Code

Setting up a multi-line regular expression in VS code is done by explicitly matching the CR/LF characters using \r?\n. For example, if I want to find all lines starting with a [, including subsequent blank lines, I can do: ^\[.*(\r?\n\s*)* HTH,
Jan 6, 2017
Use Git Bash as Integrated Terminal in VS Code
bash

Use Git Bash as Integrated Terminal in VS Code

TL;DR:: Install windows git to get bash and add "C:\\Program Files\\Git\\bin\\bash.exe" to "terminal.integrated.shell.windows" in VS Code's user settings. As I'm trying my hand at developing a node application today, I'm getting
Nov 18, 2016 1 min read
Drawing QR-Code on Browser in Javascript
browser

Drawing QR-Code on Browser in Javascript

In my quest to make the pages of one site a bit more mobile-friendly, I've got the idea to provide a QR-Code for an unique identifier generated for users. This is part of a wizard and the end-product is: QR Code in JavaScript To reach this outcome, I&
May 2, 2014 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost