Regex Cheat Sheet

Regex Cheat Sheet

Author: kamyar | Feb. 17, 2025, 7:28 a.m.

Regex (Regular Expressions) Cheat Sheet: Regular Expressions (Regex) can seem complicated and painful to work with at first, but once you get the hang of them, they make a lot of sense. They're an essential tool for developers when working with text, helping to search, match, and manipulate patterns efficiently. This cheat sheet explains each regex notation in detail with practical examples. Basic Syntax: . Matches any single character except …

Getting started with Linux

Getting started with Linux

Author: kamyar | Feb. 17, 2025, 7:27 a.m.

Linux is a Unix-like operating system developed by Linus Torvalds to create an open-source OS that anyone could modify. It comes in two main distro families: Debian-based (like Ubuntu and Kali), known for stability and ease of use, and Arch-based (like Arch and Manjaro), which prioritize customizability and cutting-edge updates. To understand Linux better, we should first look at Unix, the foundational OS developed by AT&T at Bell Labs. Unix …

Guide to Installing and Running Ollama Locally + Open WebUI + LM Studio

Guide to Installing and Running Ollama Locally + Open WebUI + LM Studio

Author: kamyar | Feb. 17, 2025, 7:26 a.m.

Ollama is a powerful tool for running AI models locally, and installing it is a straightforward process. First, visit the Ollama website and download the version compatible with your system. If you encounter a 403 error, use a VPN and connect to a U.S. location before retrying the download. Once installed, choose your model from the Models List and download it by running ollama run YOURMODEL in the terminal. To …

Fixing CTRL + L shortcut in VS-code

Fixing CTRL + L shortcut in VS-code

Author: kamyar | Feb. 17, 2025, 7:25 a.m.

In the world of VS Code, efficiency is key, and keyboard shortcuts play a crucial role in streamlining the coding experience. Among these, Ctrl + L is a powerful command that allows developers to quickly select the current line. However, users often encounter issues where this shortcut stops working due to conflicting keybindings, extensions overriding commands, or misconfigurations in the editor settings. To address this, developers can fine-tune their keybindings.json …

What is Docker?

What is Docker?

Author: kamyar | Feb. 17, 2025, 7:23 a.m.

This guide introduces Docker, an open-source platform that automates the deployment of applications inside lightweight, portable containers, making it easier for developers to ensure consistent. environments from development to production. Docker allows you to package an application with all its dependencies, eliminating the "it works on my machine" issue, and provides tools like Docker Compose for managing multi-container applications. In this guide, we focus on containerizing a Django application with …