Compare commits
36 Commits
Author | SHA1 | Date |
---|---|---|
PandaCoderPL | 88580ed5ce | |
PandaCoderPL | 579939c2b0 | |
PandaCoderPL | 3e0e04d538 | |
PandaCoderPL | c5dd948f61 | |
PandaCoderPL | 797609a1d3 | |
PandaCoderPL | 095d4d3969 | |
PandaCoderPL | 6dce6e8749 | |
PandaCoderPL | c50f672f75 | |
PandaCoderPL | 9778c6c2d4 | |
PandaCoderPL | 40d1278350 | |
PandaCoderPL | d890288734 | |
PandaCoderPL | 21b80332f3 | |
PandaCoderPL | 73bb9823fd | |
PandaCoderPL | b853281ee0 | |
PandaCoderPL | 584c670d28 | |
PandaCoderPL | 7e03f9d288 | |
PandaCoderPL | 244c43875b | |
PandaCoderPL | 60b7c3b640 | |
PandaCoderPL | 3f0e1f93ca | |
PandaCoderPL | 1e4f354144 | |
PandaCoderPL | d7d4fbf299 | |
PandaCoderPL | 065b420625 | |
PandaCoderPL | b97fc56be9 | |
PandaCoderPL | fffc6e5fab | |
PandaCoderPL | fd88eb9455 | |
PandaCoderPL | d514d11153 | |
PandaCoderPL | cc9b104599 | |
PandaCoderPL | e7e96eb378 | |
PandaCoderPL | 7f00713034 | |
PandaCoderPL | cd535b8027 | |
PandaCoderPL | 73c86bf866 | |
PandaCoderPL | 014e7f0adf | |
PandaCoderPL | 0cfde9865c | |
PandaCoderPL | 6362fe4121 | |
PandaCoderPL | 425a0a79ae | |
PandaCoderPL | b5e72ea708 |
153
CHANGELOG.md
153
CHANGELOG.md
|
@ -4,9 +4,157 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [1.8.1] - 2021-11-28
|
||||||
|
### Added
|
||||||
|
- Alias with proxy for PIP to [Bash Config](home/.bashrc)
|
||||||
|
|
||||||
|
## [1.8.0] - 2021-11-27
|
||||||
|
### Added
|
||||||
|
- [Polish Readme](README.pl.md).
|
||||||
|
|
||||||
|
## [1.7.10] - 2021-11-26
|
||||||
|
### Added
|
||||||
|
- Missing date to [Changelog](CHANGELOG.md)
|
||||||
|
|
||||||
|
## [1.7.9] - 2021-11-26
|
||||||
|
### Changed
|
||||||
|
- Names of some sections into questions in [Readme](README.md)
|
||||||
|
|
||||||
|
## [1.7.8] - 2021-11-25
|
||||||
|
### Added
|
||||||
|
- Proxy for Git protocol to [Git Config](home/.config/git/config)
|
||||||
|
- git-proxy script.
|
||||||
|
|
||||||
|
## [1.7.7] - 2021-11-23
|
||||||
|
### Changed
|
||||||
|
- Style of some aliases in [Git Config](home/.config/git/config)
|
||||||
|
|
||||||
|
## [1.7.6] - 2021-11-22
|
||||||
|
### Added
|
||||||
|
- Code to include secret config in [Bash Config](home/.bashrc)
|
||||||
|
|
||||||
|
## [1.7.5] - 2021-11-22
|
||||||
|
### Added
|
||||||
|
- Timeout to SSH agent in [Bash Config](home/.bashrc)
|
||||||
|
|
||||||
|
## [1.7.4] - 2021-11-22
|
||||||
|
### Added
|
||||||
|
- Proxy for Lokinet to [SSH Config](home/.ssh/config)
|
||||||
|
|
||||||
|
## [1.7.3] - 2021-11-19
|
||||||
|
### Added
|
||||||
|
- Proxy for Lokinet to [Git Config](home/.config/git/config)
|
||||||
|
|
||||||
|
## [1.7.2] - 2021-11-19
|
||||||
|
### Added
|
||||||
|
- Alias to [Git Config](home/.config/git/config)
|
||||||
|
|
||||||
|
## [1.7.1] - 2021-11-19
|
||||||
|
### Fixed
|
||||||
|
- Alias in [Git Config](home/.config/git/config)
|
||||||
|
|
||||||
|
## [1.7.0] - 2021-11-19
|
||||||
|
### Added
|
||||||
|
- [I2PD Config](home/.i2pd/i2pd.conf)
|
||||||
|
|
||||||
|
## [1.6.2] - 2021-11-17
|
||||||
|
### Added
|
||||||
|
- Code to include secret config in [Tor Config](usr/etc/tor/torrc)
|
||||||
|
|
||||||
|
## [1.6.1] - 2021-11-17
|
||||||
|
### Changed
|
||||||
|
- Disabled NoExec and Sandbox in [Tor Config](usr/etc/tor/torrc)
|
||||||
|
|
||||||
|
## [1.6.0] - 2021-11-15
|
||||||
|
### Added
|
||||||
|
- [Tor Config](usr/etc/tor/torrc)
|
||||||
|
|
||||||
|
## [1.5.7] - 2021-11-13
|
||||||
|
### Added
|
||||||
|
- Interactive calculator to Tmux session.
|
||||||
|
|
||||||
|
## [1.5.6] - 2021-11-13
|
||||||
|
### Fixed
|
||||||
|
- Alias in [Git Config](home/.config/git/config)
|
||||||
|
|
||||||
|
## [1.5.5] - 2021-11-13
|
||||||
|
### Added
|
||||||
|
- Aliases to Configs section in [Bash Config](home/.bashrc)
|
||||||
|
|
||||||
|
## [1.5.4] - 2021-11-12
|
||||||
|
### Added
|
||||||
|
- Aliases to [Git Config](home/.config/git/config)
|
||||||
|
|
||||||
|
## [1.5.3] - 2021-11-11
|
||||||
|
### Added
|
||||||
|
- Missing line to [Readme](README.md)
|
||||||
|
|
||||||
|
## [1.5.2] - 2021-11-11
|
||||||
|
### Added
|
||||||
|
- Code for starting ssh-agent to [Bash Config](home/.bashrc)
|
||||||
|
|
||||||
|
## [1.5.1] - 2021-11-11
|
||||||
|
### Added
|
||||||
|
- ProxyCommand to [SSH Config](home/.ssh/config)
|
||||||
|
|
||||||
|
## [1.5.0] - 2021-11-11
|
||||||
|
### Added
|
||||||
|
- [SSH Config](home/.ssh/config)
|
||||||
|
|
||||||
|
## [1.4.1] - 2021-11-10
|
||||||
|
### Added
|
||||||
|
- Code for starting Tmux to [Bash Config](home/.bashrc)
|
||||||
|
|
||||||
|
## [1.4.0] - 2021-11-10
|
||||||
|
### Added
|
||||||
|
- [Tmux Config](home/.tmux.conf)
|
||||||
|
|
||||||
|
## [1.3.0] - 2021-11-08
|
||||||
|
### Added
|
||||||
|
- [Git Config](home/.config/git/config)
|
||||||
|
|
||||||
|
## [1.2.6] - 2021-11-08
|
||||||
|
### Changed
|
||||||
|
- Short to long options in [Bash Config](home/.bashrc)
|
||||||
|
|
||||||
|
## [1.2.5] - 2021-11-03
|
||||||
|
### Added
|
||||||
|
- Clipboard aliases to [Bash Config](home/.bashrc)
|
||||||
|
|
||||||
|
## [1.2.4] - 2021-11-03
|
||||||
|
### Fixed
|
||||||
|
- Typo in [Changelog](CHANGELOG.md)
|
||||||
|
|
||||||
|
## [1.2.3] - 2021-11-02
|
||||||
|
### Fixed
|
||||||
|
- Typo in [Changelog](CHANGELOG.md)
|
||||||
|
|
||||||
|
## [1.2.2] - 2021-11-02
|
||||||
|
### Added
|
||||||
|
- Configs section in [Bash Config](home/.bashrc)
|
||||||
|
|
||||||
|
## [1.2.1] - 2021-11-02
|
||||||
|
### Added
|
||||||
|
- Comment to [Bash Config](home/.bashrc)
|
||||||
|
|
||||||
|
## [1.2.0] - 2021-10-24
|
||||||
|
### Added
|
||||||
|
- [Termux Config](home/.termux/termux.properties)
|
||||||
|
|
||||||
|
## [1.1.3] - 2021-10-20
|
||||||
|
### Added
|
||||||
|
- Link to contact informations.
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
- List of contact informations.
|
||||||
|
|
||||||
|
## [1.1.2] - 2021-10-18
|
||||||
|
### Added
|
||||||
|
- Missing files to [Changelog](CHANGELOG.md)
|
||||||
|
|
||||||
## [1.1.1] - 2021-10-15
|
## [1.1.1] - 2021-10-15
|
||||||
### Fixed
|
### Fixed
|
||||||
- Typo in [README.md](README.md)
|
- Typo in [Readme](README.md)
|
||||||
|
|
||||||
## [1.1.0] - 2021-10-15
|
## [1.1.0] - 2021-10-15
|
||||||
### Added
|
### Added
|
||||||
|
@ -15,4 +163,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
## [1.0.0] - 2021-10-12
|
## [1.0.0] - 2021-10-12
|
||||||
### Added
|
### Added
|
||||||
- [Changelog](CHANGELOG.md)
|
- [Changelog](CHANGELOG.md)
|
||||||
|
- [License](LICENSE)
|
||||||
|
- [Readme](README.md)
|
||||||
|
- [Version](VERSION)
|
||||||
- [Bash Config](home/.bashrc)
|
- [Bash Config](home/.bashrc)
|
||||||
|
|
25
README.md
25
README.md
|
@ -1,3 +1,5 @@
|
||||||
|
[Polski](README.pl.md)
|
||||||
|
|
||||||
# dotfiles
|
# dotfiles
|
||||||
|
|
||||||
Repository with my dotfiles.
|
Repository with my dotfiles.
|
||||||
|
@ -5,11 +7,11 @@ Repository with my dotfiles.
|
||||||
## Contents
|
## Contents
|
||||||
|
|
||||||
* [Configuration Files](#configuration-files)
|
* [Configuration Files](#configuration-files)
|
||||||
* [Downloading](#downloading)
|
* [How to download?](#how-to-download)
|
||||||
* [Using Git](#using-git)
|
* [Using Git](#using-git)
|
||||||
* [Using Curl](#using-curl)
|
* [Using Curl](#using-curl)
|
||||||
* [Using Wget](#using-wget)
|
* [Using Wget](#using-wget)
|
||||||
* [Installation](#installation)
|
* [How to install?](#how-to-install)
|
||||||
* [Contact](#contact)
|
* [Contact](#contact)
|
||||||
* [License](#license)
|
* [License](#license)
|
||||||
|
|
||||||
|
@ -17,9 +19,15 @@ Repository with my dotfiles.
|
||||||
|
|
||||||
* [Bash](http://www.gnu.org/software/bash/) - [
|
* [Bash](http://www.gnu.org/software/bash/) - [
|
||||||
.bashrc](home/.bashrc)
|
.bashrc](home/.bashrc)
|
||||||
|
* [Git](https://git-scm.com/) - [config](home/.config/git/config)
|
||||||
|
* [I2PD](https://i2pd.website/) - [i2pd.conf](home/.i2pd/i2pd.conf)
|
||||||
|
* [SSH](https://www.openssh.com/) - [config](home/.ssh/config)
|
||||||
|
* [Termux](https://termux.com/) - [termux.properties](home/.termux/termux.properties)
|
||||||
|
* [Tmux](https://github.com/tmux/tmux) - [.tmux.conf](home/.tmux.conf)
|
||||||
|
* [Tor](https://www.torproject.org/) - [torrc](usr/etc/tor/torrc)
|
||||||
* [Vim](https://www.vim.org/) - [.vimrc](home/.vimrc)
|
* [Vim](https://www.vim.org/) - [.vimrc](home/.vimrc)
|
||||||
|
|
||||||
## Downloading
|
## How to download?
|
||||||
|
|
||||||
### Using Git
|
### Using Git
|
||||||
|
|
||||||
|
@ -33,20 +41,13 @@ Repository with my dotfiles.
|
||||||
|
|
||||||
wget -O - https://codeberg.org/PandaCoderPL/dotfiles/archive/main.tar.gz | tar -xzf -
|
wget -O - https://codeberg.org/PandaCoderPL/dotfiles/archive/main.tar.gz | tar -xzf -
|
||||||
|
|
||||||
## Installation
|
## How to install?
|
||||||
|
|
||||||
rsync -qa home/ ~/
|
rsync -qa home/ ~/
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
|
|
||||||
* [Anonymous Messenger](https://anonymousmessenger.ly/) - request link using other contact option.
|
[Contact](https://codeberg.org/PandaCoderPL/PandaCoderPL#contact)
|
||||||
* [Briar](https://briarproject.org/) - request link using other contact option.
|
|
||||||
* [Lemmy](https://lemmy.ml/) - [@PandaCoderPL](https://lemmy.ml/u/PandaCoderPL)
|
|
||||||
* [Mastodon](https://mastodon.technology/) - [@PandaCoderPL](https://mastodon.technology/@PandaCoderPL)
|
|
||||||
* [Reddit](https://reddit.com/) - [u/PandaCoderPL](https://reddit.com/user/PandaCoderPL/)
|
|
||||||
* [Session](https://getsession.org/) - 053c069245d5f47802d86cc2d4b259b53f710e668fd0fd367e5b4e42b812e54372
|
|
||||||
* [Tox](https://tox.chat/) - 33C3B60F4E26DF3FD637959CA9C57F0F014CA3FBC35415E359123E4F0DCA990F9D91D4434FFE
|
|
||||||
* [XMPP](https://404.city/) - PandaCoderPL@404.city
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,54 @@
|
||||||
|
[English](README.md)
|
||||||
|
|
||||||
|
# dotfiles
|
||||||
|
|
||||||
|
Repozytorium z moimi plikami konfiguracyjnymi.
|
||||||
|
|
||||||
|
## Contents
|
||||||
|
|
||||||
|
* [Pliki konfiguracyjne](#pliki-konfiguracyjne)
|
||||||
|
* [Jak pobrać?](#jak-pobrać)
|
||||||
|
* [Używając Git](#używając-git)
|
||||||
|
* [Używając Curl](#używając-curl)
|
||||||
|
* [Używając Wget](#używając-wget)
|
||||||
|
* [Jak zainstalować?](#jak-zainstalować)
|
||||||
|
* [Kontakt](#kontakt)
|
||||||
|
* [Licencja](#licencja)
|
||||||
|
|
||||||
|
## Pliki konfiguracyjne
|
||||||
|
|
||||||
|
* [Bash](http://www.gnu.org/software/bash/) - [
|
||||||
|
.bashrc](home/.bashrc)
|
||||||
|
* [Git](https://git-scm.com/) - [config](home/.config/git/config)
|
||||||
|
* [I2PD](https://i2pd.website/) - [i2pd.conf](home/.i2pd/i2pd.conf)
|
||||||
|
* [SSH](https://www.openssh.com/) - [config](home/.ssh/config)
|
||||||
|
* [Termux](https://termux.com/) - [termux.properties](home/.termux/termux.properties)
|
||||||
|
* [Tmux](https://github.com/tmux/tmux) - [.tmux.conf](home/.tmux.conf)
|
||||||
|
* [Tor](https://www.torproject.org/) - [torrc](usr/etc/tor/torrc)
|
||||||
|
* [Vim](https://www.vim.org/) - [.vimrc](home/.vimrc)
|
||||||
|
|
||||||
|
## Jak pobrać?
|
||||||
|
|
||||||
|
### Używając Git
|
||||||
|
|
||||||
|
git clone --depth=1 git://codeberg.org/PandaCoderPL/dotfiles.git
|
||||||
|
|
||||||
|
### Używając Curl
|
||||||
|
|
||||||
|
curl -L https://codeberg.org/PandaCoderPL/dotfiles/archive/main.tar.gz | tar -xzf -
|
||||||
|
|
||||||
|
### Używając Wget
|
||||||
|
|
||||||
|
wget -O - https://codeberg.org/PandaCoderPL/dotfiles/archive/main.tar.gz | tar -xzf -
|
||||||
|
|
||||||
|
## Jak zainstalować?
|
||||||
|
|
||||||
|
rsync -qa home/ ~/
|
||||||
|
|
||||||
|
## Kontakt
|
||||||
|
|
||||||
|
[Kontakt](https://codeberg.org/PandaCoderPL/PandaCoderPL#contact)
|
||||||
|
|
||||||
|
## Licencja
|
||||||
|
|
||||||
|
[MIT](LICENSE)
|
31
home/.bashrc
31
home/.bashrc
|
@ -1,4 +1,31 @@
|
||||||
|
# Tmux
|
||||||
|
if [[ -z "${TMUX}" ]]; then
|
||||||
|
if ! tmux has-session; then
|
||||||
|
eval $(ssh-agent -st 1h)
|
||||||
|
tmux new-session -n calculator bc -iq
|
||||||
|
else
|
||||||
|
tmux new-window
|
||||||
|
fi
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Config
|
||||||
|
alias bashconfig='vim ${HOME}/.bashrc'
|
||||||
|
alias gitconfig='git config --global --edit'
|
||||||
|
alias i2pdconfig='vim ${HOME}/.i2pd/i2pd.conf'
|
||||||
|
alias sshconfig='vim ${HOME}/.ssh/config'
|
||||||
|
alias termuxconfig='vim ${HOME}/.termux/termux.properties'
|
||||||
|
alias tmuxconfig='vim ${HOME}/.tmux.conf'
|
||||||
|
alias torconfig='vim ${PREFIX}/etc/tor/torrc'
|
||||||
|
alias vimconfig='vim ${HOME}/.vimrc'
|
||||||
|
|
||||||
|
# Utils
|
||||||
|
alias copy='termux-clipboard-set'
|
||||||
alias l='ls'
|
alias l='ls'
|
||||||
alias lh='l -h'
|
alias lh='l --human-readable'
|
||||||
alias ll='lh -l'
|
alias ll='lh -l'
|
||||||
alias la='ll -a'
|
alias la='ll --all'
|
||||||
|
alias paste='termux-clipboard-paste'
|
||||||
|
alias pip='pip --proxy "socks5h://${RANDOM}:${RANDOM}@127.0.0.1:9050"'
|
||||||
|
|
||||||
|
source ~/.bashrc-secret
|
||||||
|
|
|
@ -0,0 +1,65 @@
|
||||||
|
[alias]
|
||||||
|
a = add
|
||||||
|
ae = a -e
|
||||||
|
ba = branch
|
||||||
|
bach = "!f() { \
|
||||||
|
git ba \"$1\" \
|
||||||
|
&& git ch \"$1\"; \
|
||||||
|
}; f"
|
||||||
|
bd = ba -d
|
||||||
|
bfd = ba -D
|
||||||
|
ch = checkout
|
||||||
|
cl = clone
|
||||||
|
cl1 = cl --depth=1
|
||||||
|
co = commit -sm
|
||||||
|
coa = "!f() { \
|
||||||
|
local message=\"$1\"; \
|
||||||
|
local author=\"$2\"; \
|
||||||
|
git co \"${message}\" --author \"${author}\"; \
|
||||||
|
}; f"
|
||||||
|
cota = "!f() { \
|
||||||
|
local version=\"v$(cat VERSION)\"; \
|
||||||
|
git co \"$1\" \
|
||||||
|
&& git ta \"${version}\"; \
|
||||||
|
}; f"
|
||||||
|
fu = "!f() { \
|
||||||
|
git fetch upstream \
|
||||||
|
&& git ch master \
|
||||||
|
&& git rebase upstream/master; \
|
||||||
|
}; f"
|
||||||
|
fup = !git fu && git pat
|
||||||
|
p = push
|
||||||
|
pa = push --all
|
||||||
|
pt = push --tags
|
||||||
|
pat = !git pa && git pt
|
||||||
|
r = remote
|
||||||
|
ra = r add
|
||||||
|
ru = r set-url
|
||||||
|
rua = ru --add
|
||||||
|
rud = ru --delete
|
||||||
|
rl = r -v
|
||||||
|
rr = r remove
|
||||||
|
s = status
|
||||||
|
t = tag
|
||||||
|
ta = "!f() { \
|
||||||
|
git t -am \"$1\" \"$1\"; \
|
||||||
|
}; f"
|
||||||
|
td = t -d
|
||||||
|
tl = t -l
|
||||||
|
[commit]
|
||||||
|
gpgSign = true
|
||||||
|
[core]
|
||||||
|
editor = vim
|
||||||
|
gitProxy = git-proxy
|
||||||
|
pager = less
|
||||||
|
[include]
|
||||||
|
path = ~/.config/git/config-secret
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
[http]
|
||||||
|
proxy = socks5h://127.0.0.1:9050
|
||||||
|
[http "http://*.loki"]
|
||||||
|
proxy =
|
||||||
|
[tag]
|
||||||
|
forceSignAnnotated = true
|
||||||
|
gpgSign = true
|
|
@ -0,0 +1,10 @@
|
||||||
|
daemon = false
|
||||||
|
ipv4 = true
|
||||||
|
ipv6 = true
|
||||||
|
share = 100
|
||||||
|
[http]
|
||||||
|
enabled = false
|
||||||
|
[httpproxy]
|
||||||
|
port = 4444
|
||||||
|
[socksproxy]
|
||||||
|
port = 4447
|
|
@ -0,0 +1,9 @@
|
||||||
|
Host *.loki
|
||||||
|
ProxyCommand nc %h %p
|
||||||
|
|
||||||
|
Host *
|
||||||
|
AddKeysToAgent yes
|
||||||
|
HashKnownHosts yes
|
||||||
|
IdentitiesOnly yes
|
||||||
|
ProxyCommand nc -x 127.0.0.1:9050 -X 5 %h %p
|
||||||
|
User git
|
|
@ -0,0 +1,3 @@
|
||||||
|
extra-keys-style = none
|
||||||
|
use-black-ui = true
|
||||||
|
bell-character = ignore
|
|
@ -0,0 +1,5 @@
|
||||||
|
set-option -gs exit-empty off
|
||||||
|
set-option -gs exit-unattached off
|
||||||
|
|
||||||
|
set-option -g base-index 1
|
||||||
|
set-option -g bell-action none
|
|
@ -0,0 +1 @@
|
||||||
|
nc -X 5 -x 127.0.0.1:9050 $1 $2
|
|
@ -0,0 +1,23 @@
|
||||||
|
AvoidDiskWrites 1
|
||||||
|
ControlPort 0
|
||||||
|
ControlSocket 0
|
||||||
|
HardwareAccel 1
|
||||||
|
NoExec 0
|
||||||
|
SafeLogging 1
|
||||||
|
Sandbox 0
|
||||||
|
TruncateLogFile 1
|
||||||
|
|
||||||
|
AllowNonRFC953Hostnames 0
|
||||||
|
CircuitPadding 1
|
||||||
|
ReducedCircuitPadding 1
|
||||||
|
ClientOnly 1
|
||||||
|
ClientUseIPv6 1
|
||||||
|
ConnectionPadding 1
|
||||||
|
HTTPTunnelPort 8118
|
||||||
|
ReducedConnectionPadding 1
|
||||||
|
DownloadExtraInfo 0
|
||||||
|
EnforceDistinctSubnets 1
|
||||||
|
SocksPort 9050 IsolateClientAddr IsolateSOCKSAuth IsolateClientProtocol IsolateDestPort IsolateDestAddr
|
||||||
|
UseEntryGuards 1
|
||||||
|
|
||||||
|
%include /data/data/com.termux/files/usr/etc/tor/torrc-secret
|
Loading…
Reference in New Issue