Laur's blog
  • Home
  • About
  • Support my work
Sign in Subscribe
git

Avoid Typing Password on Git Every Time on Windows

  • Laur Ivan

Laur Ivan

Apr 14, 2016 • 1 min read
Avoid Typing Password on Git Every Time on Windows

Today I've updated Android Studio and, when I wanted to fetch stuff from git, it failed (connection issues). Initially, I thought it was because I'm behind a proxy, but all proxy settings were working OK (unchanged, also command line worked just fine).

Apparently, the git plugin doesn't ask (anymore?) for a password... So, I need a way to allow me not to type in the password every time (while still using https as protocol).

There are more ways to solve the problem:

  1. Put the passowrd in the URL. This is obviously the most insecure; you'd end up with something like

    git checkout https://user:password@host:port
    
  2. If you're using a git version > 1.8, then you can do (on windows):

    git config --global credential.helper wincred
    
  3. Newer git comes with its own management thing which uses the OS security. You'll get a nice dialog prompting you for credentials. It seems that once you've entered them correcly, they're reused every time (no timeout).

HTH,

Vibe Coding - Add a field to a Qdrant collection

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
Chunk and index text

Chunk and index text

This is part of the Use RAG with Continue.dev series. Once we have the dependencies installed, we can start filling up the vector db. Set up First part, is to create the LanceDB database and embedding model: from lancedb.embeddings import get_registry from lancedb import connect OLLAMA_HOST
Mar 12, 2025 3 min read
Prepare Ollama and LanceDB

Prepare Ollama and LanceDB

This is part of the Use RAG with Continue.dev series. Prerequisites I kept in line with the general prerequisites for the previous steps (python 3, uv for package management). In addition, I will assume you have ollama installed. Check here for different installation methods. Setup Ollama Once Ollama is
Mar 12, 2025 1 min read
Laur's blog © 2025
  • Sign up
Powered by Ghost