Skip to content

chinwobble/dotfiles

Repository files navigation

Dotfiles

Installation

Windows

# in git bash
cd ~
git clone [email protected]:chinwobble/dotfiles
cd dotfiles
./windows.install.sh

Install VS2019 code snippets

" command prompt or powershell
git clone git@github.com:chinwobble/dotfiles

" delete empty folder
rd /S /Q "%userprofile%\documents\Visual Studio 2019\Code Snippets"

" symlink repository to VS studio documents folder
mklink /D "%userprofile%\Documents\Visual Studio 2019\Code Snippets" "%CD%\dotfiles\documents\Visual Studio 2019\Code Snippets"

inside vim run the following command

:PlugUpgrade

export linux packages on debian

dpkg --get-selections | grep -v deinstall | awk '{print S1}' > package.lst

import linux packages

sudo apt install package.lst

Set up conda env on ubuntu

source ~/miniconda3/etc/profile.d/conda.sh

conda create --name myrepo python=3.7
conda activate myrepo
pip install databricks-cli
conda env config vars set DATABRICKS_HOST=https://australiaeast.azuredatabricks.net
conda env config vars set DATABRICKS_TOKEN=xxxxxx

Setup linux with standard tools

sudo apt install jq ripgrep make unzip zip

Setup Linux c++ tools

sudo apt install socat cmake g++ gdb

Setup Postgres on Ubuntu

# install postgres
sudo apt install postgresql-16
sudo su - postgres
createuser -d benney

'''sql ALTER USER user_name WITH PASSWORD 'new_password';


Edit the hba file to allow local user login
```bash
sudo vim /etc/postgresql/16/main/pg_hba.conf
database  user   method
all       all    peer

Restart the server

sudo service postgresql restart

Install JDK on ubuntu

sudo apt install openjdk-21-jdk-headless
sudo apt install openjdk-17-jdk
sudo apt install openjdk-11-jdk-headless
# choose a specific java version
sudo update-java-alternatives -s java-1.21.0-openjdk-amd64

Setup Language Servers for vim on linux

:LspInstallServer gopls

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •