This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install make and clang | |
sudo apt install make clang | |
# cs50.h library install | |
curl -s https://packagecloud.io/install/repositories/cs50/repo/script.deb.sh | sudo bash | |
sudo apt install libcs50 | |
# put this into ~/.bashrc | |
export CC="clang" | |
export CFLAGS="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# aliases for devops tools | |
alias tf='terraform' | |
alias k='kubectl' | |
alias h='helm' | |
# some more ls aliases | |
alias ll='ls -alF' | |
alias la='ls -A' | |
alias l='ls -CF' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo add-apt-repository -y ppa:git-core/ppa | |
sudo apt update && sudo apt upgrade -y | |
sudo apt install git -y && git --version | |
sudo snap install go hugo dart-sass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download docker and dockerd from here: https://download.docker.com/win/static/stable/x86_64/ | |
New-LocalGroup -Name 'docker-users' -Description 'docker Users Group' | |
Add-LocalGroupMember -Group 'Administrators' -Member ('docker-users') –Verbose | |
Add-LocalGroupMember -Group 'docker-users' -Member ('your-win-username','Administrators') –Verbose | |
# also install buildx https://github.com/docker/buildx | |
# and run teminal or VS Code with admin rights |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac | |
# append to the history file, don't overwrite it | |
shopt -s histappend | |
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) | |
HISTSIZE=1000 | |
HISTFILESIZE=2000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// As a first step: install extensions Prettier and Hashicorp Terraform | |
// update json user_config in VS Code | |
{ | |
"terminal.integrated.enableMultiLinePasteWarning": "never", | |
"git.autofetch": true, | |
"explorer.confirmDragAndDrop": false, | |
"git.confirmSync": false, | |
"files.exclude": { | |
"**/.terraform": true, | |
"**/.terraform.lock.hcl": true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"files.autoSave": "afterDelay", | |
"explorer.confirmDelete": false, | |
"git.autofetch": true, | |
"terminal.external.osxExec": "iTerm.app", | |
"terminal.explorerKind": "external", | |
"terminal.integrated.defaultProfile.osx": "zsh", | |
"terminal.integrated.fontFamily": "MesloLGS NF", | |
"workbench.colorTheme": "Default Dark+", | |
"redhat.telemetry.enabled": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable Powerlevel10k instant prompt. | |
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" | |
export PATH="/opt/homebrew/bin:$PATH" | |
export PAGER="less" | |
export LESS="-FXR" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Name Surname | |
email = [email protected] | |
[core] | |
editor = code --wait | |
[push] | |
autoSetupRemote = true |