This file contains hidden or 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
#!/usr/bin/env zsh | |
# | |
# Install dotfile dependencies | |
# | |
# {{{ Lib functions | |
local function dots_show_usage () { | |
echo "USAGE:" | |
echo " dots-tool-installer [neovim|devtools|langs|fonts]" | |
echo "" |
This file contains hidden or 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
{ | |
"configurations": { | |
"python-debug": { | |
"default": true, | |
"adapter": "debugpy", | |
"filetypes": [ "python" ], | |
"breakpoints": { | |
"exception": { | |
"all": "N", | |
"uncaught": "Y" |
This file contains hidden or 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
# Basic Tmux Config | |
# Compatible with version: 1.8 | |
# Remap prefix to Ctrl+a | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# Reload tmux config | |
bind r source-file ~/.tmux.conf |
This file contains hidden or 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
set -o vi # use vi keybindings |
This file contains hidden or 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
[alias] | |
# Show git status | |
st = status | |
# Commit staged changes with editor | |
ct = commit | |
# Push to remote | |
pu = push | |
# Pull from remote | |
pl = pull | |
# Fetch remote data |
This file contains hidden or 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
#!/usr/bin/env zsh | |
if [[ -z $ZDOTDIR ]]; then | |
ZDOTDIR=$HOME | |
fi | |
if ! command -v brew 1>/dev/null; then | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
fi |
This file contains hidden or 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
#!/usr/bin/env bash | |
set -e | |
sudo apt-get update | |
sudo apt-get install -y bison gcc make pkg-config automake autoconf libncurses5-dev libevent-dev | |
mkdir -p ~/src | |
git clone https://github.com/tmux/tmux ~/src/tmux |
This file contains hidden or 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 | |
# Copyright (c) 2000-2014 Synology Inc. All rights reserved. | |
################### NOTE ################### | |
# | |
# Adjust following settings to match your LDAP server. | |
# | |
# If using TLS or ldaps://, you have to append LDAP server's certificate to | |
# your client (in the file specified by tls_cacert in ldap.conf). | |
# |
This file contains hidden or 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
#!/usr/bin/env bash | |
DOTS_REMOTE="https://github.com/NickCrew/dotfiles.git" | |
DOTS_REPO="$HOME/.dots.git" | |
DOTS_BRANCH=master | |
git clone --bare $DOTS_REMOTE $DOTS_REPO | |
function cfg { | |
git --git-dir=$DOTS_REPO --work-tree=$HOME $@ |
This file contains hidden or 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
Set-Alias -Name iconda -Value Initialize-Anaconda -Force | |
function Initialize-Anaconda { | |
# !! Contents within this block are managed by 'conda init' !! | |
(& "${HOME}\anaconda3\Scripts\conda.exe" "shell.powershell" "hook") | Out-String | Invoke-Expression | |
} | |
function Send-InputTo ($target) { | |
# Pipe output to args of $target |