Skip to content

Instantly share code, notes, and snippets.

@MaxDac
MaxDac / zig-launch.json
Last active February 11, 2024 19:02
Zig VSCode tasks.json
{
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug",
"program": "${workspaceFolder}/zig-out/bin/<your-project-name>",
"args": [],
"cwd": "${workspaceFolder}",
@MaxDac
MaxDac / .tmux.conf
Created October 26, 2023 22:19
tmux configuration
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'git@github.com:user/plugin'
# set -g @plugin 'git@bitbucket.com:user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
@MaxDac
MaxDac / i3_config
Created October 26, 2023 20:27
i3 default configuration
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@MaxDac
MaxDac / config.yaml
Created August 31, 2023 17:17
Credo efm-langserver configuration
version: 2
tools:
mix_credo: &mix_credo
lint-command: "MIX_ENV=test mix credo suggest --format=flycheck --read-from-stdin ${INPUT}"
lint-stdin: true
lint-formats:
- '%f:%l:%c: %t: %m'
- '%f:%l: %t: %m'
lint-category-map:
R: N
@MaxDac
MaxDac / .p10k.zsh
Created August 28, 2023 15:01
ZSH Power10k configuration
# Generated by Powerlevel10k configuration wizard on 2023-08-10 at 15:53 UTC.
# Based on romkatv/powerlevel10k/config/p10k-classic.zsh, checksum 08648.
# Wizard options: nerdfont-complete + powerline, small icons, classic, unicode, darkest,
# 12h time, angled separators, sharp heads, flat tails, 1 line, sparse, many icons,
# fluent, transient_prompt, instant_prompt=verbose.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with classic powerline prompt style. Type `p10k configure` to generate
# your own config based on it.
#
@MaxDac
MaxDac / .zshrc
Last active August 29, 2023 11:40
ZSH configuration
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
@MaxDac
MaxDac / init_scripts.sh
Last active November 28, 2023 09:50
Script to install initial dependencies
export ASDF_VERSION=v0.13.1
export NEOVIM_VERSION=0.9.4
export TMUX_VERSION=3.3a
export ZSH_THEME=powerlevel10k/powerlevel10k
export ERLANG_VERSION=26.1.2
export ELIXIR_VERSION=1.15.7-otp-26
export NODEJS_VERSION=18.18.2
export ZSH_THEME=powerlevel10k/powerlevel10k
export KERL_BUILD_DOCS=yes