Skip to content

smalinux/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to setup my dotfiles step-by-step

BlockTube

chrome-extension://bbeaicapbccfllodepmimpkgecanonai/src/ui/options.html

AdBlock — best ad blocker

chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/options.html#customize

Redirector

chrome-extension://ocgpenflpmgnfapjedencafcfakcekcd/redirector.html

User JavaScript and CSS

chrome-extension://nbhcbdghjpllgmfilhnhkllmkecfmpld/options.html
sudo passwd -d root
sudo passwd -d smalinux

Please MAKE SURE TO RUN .~/dotfiles/scripts/apt.sh MULTIPLE TIMES…​

Also, since there are so many private repos, please, configure git & passwd correct here. Later on I have to automate this step.

sudo apt update
sudo apt-file update
yes | sudo apt install git

cd ~
git clone https://github.com/smalinux/dotfiles

cd dotfiles
./main.sh

run this scripts as you need.

dotfiles/install/install-bat.sh
dotfiles/install/install-bcc.sh
dotfiles/install/install-fd.sh
dotfiles/install/install-fzf.sh
dotfiles/install/install-mpvplugin.sh
dotfiles/install/install-pcp.sh
dotfiles/install/install-tpm.sh
cd ~/.vim/bundle/fzf/
sudo ./uninstall
sudo ./install

Don’t use the package manager for this package.

sh ~/dotfiles/install-fzf.sh

you can pip any thing any time to fzf and your life will be much faster :)

# fzf wiki
https://github.com/junegunn/fzf/wiki/examples
sudo -s
curl -sL install-node.now.sh/lts | bash
exit
sh ~/dotfiles/scripts/coc.vim.sh

Run :CheckHealth is a very nice command.

:cocInstall coc-git
:cocInstall coc-pyright

Install:

cd /home/smalinux/.vim/bundle/vimspector
./install_gadget.py --enable-c

bash command to copy .vimspector.json to current directory:

vimspector
# config file here:
~/dotfiles/.muttrc ~/.muttrc
# then edit the file, set your passwd

this command

cd /project/dir
patch -p1 < dwm-autostart-20210120-cb3f58a.diff

sometimes this command fail. if he fail to apply specific hunk will generate file called file.rej

so open your file and file.rej, compare …​ apply them manually…​

Edit this file ~/.strc and just hit this command:

strc
https://stackoverflow.com/questions/5343068/is-there-a-way-to-cache-https-credentials-for-pushing-commits
./scripts/pkg.sh
./scripts/dotfiles-pkg.sh

TODO: Catch these files

~/.xinitrc
~/.dwm/autostart.sh
change st font dynamically with ctrl+shift+ +, -

redirector:

Description:
YouTube
Example URL:
https://www.youtube.com/watch?v=dWa0UTkq1bc&ab_channel=BugsWriter
Include pattern:
^(https?://(?:[a-zA-Z0-9_-]*\.)?(?:youtube\.com|youtu\.be|youtube-nocookie\.com)/.*)
Redirect to:
http://localhost:9010/$1

update you dotfiles manually!

-important- take copy from your yt-local subscription list.

append to $ crontab -e

# yt-local
# --------
# run:
# conda create --name yt-local python=3.9.0
@reboot /home/smalinux/anaconda3/envs/yt-local/bin/python3 /home/smalinux/repos/yt-local/server.py 2>> /home/smalinux/yt-local

# Update my Git repos
0 */3 * * * bash /home/smalinux/dotfiles/scripts/crontab.sh
sudo systemctl status cron.service
sudo systemctl enable cron.service
sudo systemctl restart cron.service
sudo snap install ~/dotfiles/obsidian_1.1.16_amd64.snap --dangerous --classic

add these lines to /etc/hosts

127.0.0.1       localhost
127.0.1.1       pc
127.0.0.1       mysite.com
127.0.0.1       lichess.org
127.0.0.1       chess.com
127.0.0.1       whatsapp.com
127.0.0.1       web.whatsapp.com
127.0.0.1       web.telegram.org
127.0.0.1       telegram.org
127.0.0.1       twitter.com
127.0.0.1       linkedin.com
127.0.0.1       instagram.com

Google: How to Manage Bluetooth Devices on Linux Using bluetoothctl

$man bluetoothctl

sudo systemctl status bluetooth
sudo systemctl enable bluetooth
sudo systemctl start bluetooth
bluetoothctl scan on
bluetoothctl discoverable on
bluetoothctl pair FC:69:47:7C:9D:A3
bluetoothctl connect FC:69:47:7C:9D:A3
bluetoothctl paired-devices
bluetoothctl devices
bluetoothctl trust FC:69:47:7C:9D:A3

bluetoothctl untrust FC:69:47:7C:9D:A3
bluetoothctl remove FC:69:47:7C:9D:A3
bluetoothctl disconnect FC:69:47:7C:9D:A3
bluetoothctl block FC:69:47:7C:9D:A3
mullvad connect # enables wireguard VPN systemwide
mullvad disconnect # disables VPN
  • Google: seedbox

  • Google: how to hide vpn mullvad

  • Google: how to encrypt connection mullvad

  • Google: how to encrypt connection vpn

  • Google: how to hide connection vpn

  • Google: how to hide connection vpn torrent

  • Google: vpn mullvad europe torrenting guide

# For a new connection:
nmcli dev wifi connect <mySSID> password <myPassword>

# Or if a connection was already set up:
nmcli con up <mySSID>

# (or if that does not work, try nmcli con up id <mySSID>)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published