- Define project directory structure in ASCII format in your
README.md
, like below:- ProjectRoot - src - tests - data - unit - integration - docs
- examples
# ============================================= | |
# MINICONDA CHEATSHEET (Python Environment & Package Management) | |
# ============================================= | |
# Lightweight version of Anaconda for Python environments. | |
# Install: https://docs.conda.io/projects/miniconda/en/latest/ | |
# Docs: https://conda.io/projects/conda/en/latest/commands.html | |
# --------------------------------------------------------------------- | |
# 1. INSTALLATION & SETUP | |
# --------------------------------------------------------------------- |
# ============================================= | |
# UV CHEATSHEET (Python Package & Env Management) | |
# ============================================= | |
# Astral's ultra-fast alternative to pip/venv. | |
# Install: curl -LsSf https://astral.sh/uv/install.sh | sh | |
# Docs: https://github.com/astral-sh/uv | |
# --------------------------------------------------------------------- | |
# 1. VIRTUAL ENVIRONMENTS | |
# --------------------------------------------------------------------- |
##### Server Management ##### | |
# Start ollama server using commands - start or serve | |
ollama start | |
ollama serve | |
# Check if server is running | |
ollama ps | |
ollama ps --verbose # Check system resources |
ABC is a startup that has been through various bends and steep curves climbing up to the spot where it is today. The company's leadership is still unsettled, for their vision is to be the #1 brand in their game. The leadership team is hard-working, energetic and deeply passionate about what they do. In their quest to conquer the coveted position of being the #1 player in serving its customers, it is on a lookout for like minded individuals to join its team, who instead of carrying the job attitude of taking orders to implement it, wears the attitude of a smart player who is proactive in problem solving and constantly strives to improve his skill-sets. Are you that one?
This take home exercise is to help us understand you and your skill-sets better while giving you a taste of the chaos you would likely step into, every single day, here at our startup. This place is not for the faint hearted. This place is for the warriors who dreams bi
Conway's Game of Life, also known as the Game of Life is actually a zero-player game, meaning that its evolution is determined by its initial state, needing no input from human players. One interacts with the Game of Life by creating an initial population and observing how it evolves.
The universe of the Game of Life is an infinite two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, live or dead.
import lombok.Data; | |
@Data // Generates getters for all fields, a useful toString method, and hashCode and equals implementations that checkall non-transient fields. Will also generate setters for all non-final fields, as well as a constructor. | |
// @Data = @Getter + @Setter + @RequiredArgsConstructor + @ToString + @EqualsAndHashCode | |
public class Person { | |
private Long id; | |
private String name; | |
} | |
@Data |
public class Person { | |
private Long id; | |
private String name; | |
@Override | |
public int hashCode() { | |
return Objects.hash(id, name); | |
} | |
@Override | |
public boolean equals(Object obj) { | |
if (this == obj) |
public class Person { | |
private Long id; | |
private String name; | |
@Override | |
public int hashCode() { | |
final int prime = 31; | |
int result = 1; | |
result = prime * result + ((id == null) ? 0 : id.hashCode()); | |
result = prime * result + ((name == null) ? 0 : name.hashCode()); |
# Windows IP Config | |
ipconfig | |
Get-NetIPAddress -AddressFamily IPV4 -InterfaceAlias Wi-Fi | Select IPAddress | |
# When you want to download a list of files in files.txt having header as `sources,` | |
Import-Csv .\files.txt | Start-BitsTransfer | |
# Ping equivalent in PS | |
Test-Connection -ComputerName (hostname) -Count 1 |