GithubHelp home page GithubHelp logo

dotfiles's Introduction

Hi there ๐Ÿ‘‹!

My name is Sean Campbell a.k.a natac13

I am a self-taught fullstack web developer from Canada.

Languages and Tools:

Natac13's github stats

dotfiles's People

Contributors

natac13 avatar

Watchers

 avatar  avatar

dotfiles's Issues

tmux move like vim

# act like vim
setw -g mode-keys vi
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+

bash_profile is loaded first

โˆด When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior.

Photos

Darktable
Rapid photo downloader

gh to update aliaes' gist

use new gh cli to update and pull aliases.... or do not do it at all anymore as I have this project????

https://cli.github.com/manual/gh_gist_edit

function pull_aliases() {
echo "Backing up current .bash_aliases file"
mv -v ~/.bash_aliases ~/.bash_aliases_orginal
echo "Updating Bash shell aliases."
echo "Writing new ~/.bash_aliases"
curl -L https://gist.github.com/natac13/"$gist_id"/raw > ~/.bash_aliases
source ~/.bashrc
cat ~/.bash_aliases
}
function push_aliases() {
FILE=/home/natac/.gist
if [ -f "$FILE" ]; then
echo "Sending .bash_aliases file to Gist"
docker container run -i --mount type=bind,source="$FILE",target=/root/.gist natac13/gistgem:1.0 -f .bash_aliases -u "$gist_id" <~/.bash_aliases
else
echo "$FILE does not exist"
fi
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.