Skip to content

Instantly share code, notes, and snippets.

View masihtehrani's full-sized avatar
🙎‍♂️

Mahmoud Masih Tehrani masihtehrani

🙎‍♂️
View GitHub Profile
# : << EOF
# https://github.com/gpakosz/.tmux
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license,
# without any warranty.
# Copyright 2012— Gregory Pakosz (@gpakosz).
# -- navigation ----------------------------------------------------------------
# if you're running tmux within iTerm2
@masihtehrani
masihtehrani / config.lua
Last active January 17, 2024 09:54
lunarvim golang python lvim neovim nvim ide ~/.config/lvim/config.lua
--[[
lvim is the global options object
Linters should be
filled in as strings with either
a global executable or a path to
an executable
]]
-- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT
-- general
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
// use onboard LED for convenience
#define LED (2)
// maximum received message length
#define MAX_MSG_LEN (128)
const char *ssid = "";
const char *password = "";
const char *mqttServer = "broker.hivemq.com";
{
"languageserver": {
"golang": {
"command": "gopls",
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
"filetypes": ["go"],
"initializationOptions": {
"usePlaceholders": true
}
},
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
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(
autojump
git
cp
fzf
@masihtehrani
masihtehrani / Spacevim.init.toml
Last active July 23, 2023 23:12
spacevim golang ide
#=============================================================================
# dark_powered.toml --- dark powered configuration example for SpaceVim
# Copyright (c) 2016-2017 Wang Shidong & Contributors
# Author: Wang Shidong < wsdjeg at 163.com >
# URL: https://spacevim.org
# License: GPLv3
#=============================================================================
[options]
lint_on_the_fly = true
upstream instagram_service {
server localhost:9500;
}
upstream sazitofront {
server localhost:5440;
}
#upstream backend {
# server localhost:3000;