• Stars
    star
    248
  • Rank 162,628 (Top 4 %)
  • Language
    Shell
  • Created about 5 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Dotfiles and automagic set-up scripts for Linux flavours

Dotfiles for Ubuntu 21.10

My preferred starting configuration. Currently using Ubuntu 21.10 Impish Indri + Pop_OS! Shell for tiling.

The installation script (scripts/install.sh) will install a suggested serving of programs and applications using scripts in the scripts/programs/ directory. Please verify that you want these before running the script.

Add or delete programs in scripts/install.sh and scripts/programs/ to modify your installation.

Usage

After installing your fresh OS, create any SSH keys you need to access GitHub. See copy-able commands for doing this below.

If not generating new keys, place the ones you need in .ssh/. Remember to run ssh-add as well as chmod 600 <key_name>. Then clone this repository:

git clone [email protected]:victoriadrake/dotfiles.git

# Or use HTTPS
git clone https://github.com/victoriadrake/dotfiles.git

You may optionally like to pass the --depth argument to clone only a few of the most recent commits.

Close Firefox if it's open, then run the installation script. (Read it first so you know what it does!)

cd dotfiles/scripts/
./install.sh

To install the Pop_OS! Shell for window tiling, see Installation in their repo.

Random Helpful Stuff (TM)

Clone all your remote repositories

Given a list of repository URLs, gh-repos.txt, run:

xargs -n1 git clone < gh-repos.txt

Use the firewood Bash alias (see .bashrc) to collect remote branches.

See How to write Bash one-liners for cloning and managing GitHub and GitLab repositories for more.

Terminal theme

There are plenty of themes for Gnome terminal at Mayccoll/Gogh.

Print a 256-color test pattern in your terminal:

for i in {0..255} ; do
    printf "\x1b[48;5;%sm%3d\e[0m " "$i" "$i"
    if (( i == 15 )) || (( i > 15 )) && (( (i-15) % 6 == 0 )); then
        printf "\n";
    fi
done

Saving and loading configuration settings

Where SETTINGS_BACKUP is wherever you backed up/want to back up your settings (aptly named, isn't it?), load settings.dconf with:

dconf load /org/gnome/ < $(SETTINGS_BACKUP)/.config/dconf/settings.dconf

Back up new settings with:

dconf dump /org/gnome/ > $(SETTINGS_BACKUP)/.config/dconf/settings.dconf

Run man dconf on your machine for more.

Set up SSH Keys

Commands for setting up a new SSH key.

  1. Generate the key:

    ssh-keygen -t ed25519
  2. Add it to the ssh-agent:

    eval "$(ssh-agent -s)"
    ssh-add ~/.ssh/id_ed25519
  3. Set appropriate permissions:

    chmod 600 ~/.ssh/id_ed25519
  4. Show the public key so you can copy it to the service, e.g. GitHub:

    cat ~/.ssh/id_ed25519.pub

Your personal CLI tool Makefile

See the Makefile in this repository for some helpful command aliases. Read about self-documenting Makefiles on my blog.

More Repositories

1

hugo-theme-introduction

Minimal, single page, smooth-scrolling theme for Hugo static site generator.
HTML
667
star
2

hugo-theme-sam

A Simple and Minimalist theme for Hugo with a focus on typography and content.
CSS
417
star
3

hydra-link-checker

Hydra: a multithreaded site-crawling link checker in Python standard library
Python
121
star
4

kabukicho-vscode

Neon vaporwave dark theme for VS Code. Now with dreamy nostalgia ๐ŸŒ† and hints of hazy liquid synth. ๐ŸŽง
CSS
94
star
5

django-security-check

Helps you continuously monitor and fix common security vulnerabilities in your Django application.
Shell
88
star
6

neofeed-theme

A personal feed for Neocities, GitHub Pages, or anywhere else, built with Hugo. #IndieWeb friendly and all yours. It's better than Twitter.
HTML
86
star
7

simple-subscribe

Collect emails with a subscription box you can add to any page and build your own independent subscriber base.
Go
82
star
8

i3-linux-config-tokyo-rice

My config files for i3-gaps and Linux, first rice.
74
star
9

hugo-remote

GitHub Action to build and deploy a Hugo site to a remote repository. Deploy from a private repo to a public one!
Shell
66
star
10

link-snitch

:octocat: GitHub Action to scan your site for broken links so you can fix them ๐Ÿ”—
Shell
58
star
11

victoriadrake.github.io

๐ŸŒฑ Victoria's autonomous self-improving blockchain-fortified AI static website
HTML
32
star
12

jekyll-cd

:octocat: GitHub Action to build and deploy a Jekyll site to GitHub Pages ๐Ÿงช
Shell
24
star
13

start

A simple and pleasing new tab startpage or homepage.
JavaScript
23
star
14

hugo-theme-quint

Quint: Essence of Minimalism. A theme for Hugo static site generator.
HTML
22
star
15

heartbreak

Unlikes your Twitter Likes. ๐Ÿ’”
Go
21
star
16

victoriadrake

๐Ÿ‘‹๐ŸŒŽ
Go
20
star
17

chatgptmax

Python module to send large input to ChatGPT using preprocessing and chunking.
Python
16
star
18

git-rundown

๐Ÿ—ƒ Check the status of multiple git repositories in a folder
Shell
14
star
19

fancy-unicode

Turn boring plain text into pretty unicode characters.
JavaScript
13
star
20

open-mscs

Based on OMSCS. ๐ŸŽ“ Collaborative open source notes for graduate computer science courses.
13
star
21

hugo-latest-cd

:octocat: GitHub Action to build and deploy ๐Ÿš€ a Hugo site to GitHub Pages using latest extended Hugo
Shell
13
star
22

react-in-django

Basic scaffold for a Django Rest Framework + React app.
Python
12
star
23

github-guestbook

A retro 90s website guestbook powered by GitHub Actions
HTML
11
star
24

gitdo

๐Ÿฆพ Tools for doing things with Git repositories
Shell
11
star
25

acme-gallery

Automagical gallery page generator.
JavaScript
7
star
26

django-starter

Django best practices and developer tools in a starter repository for your next project. Clone and start building.
HTML
7
star
27

30-days-of-code

My solutions for HackerRank's 30 Days of Code challenges using Python 3.
Python
7
star
28

hugo-theme-memex

A personal memex theme.
HTML
6
star
29

utc

A UTC clock.
CSS
6
star
30

rss-mailer

A Lambda function for turning your RSS feed items into emails.
Go
6
star
31

xmas

A countdown clock. ๐ŸŽ„
4
star
32

simon

A futuristic, post-apocalypse, AI... Simon game.
JavaScript
4
star
33

standardnotes-to-markdown

Takes a Standard Notes JSON export and creates Markdown files
Python
4
star
34

author-afk

Post tweets with RSS links using AWS Lambda when you're afk.
Go
3
star
35

minimalist-calc

A simple responsive JavaScript calculator. Equivalent capabilities to a very smart monkey doing Grade 6 homework.
HTML
2
star
36

got-issues

A standard-library Python utility that uses the GitHub API to collect issues data from any repository.
Python
2
star
37

.github

๐Ÿ“‚ Default community health files for my account
2
star
38

chicago-api

Capitalize your title in something pretty close to Chicago Manual of Style title case.
TypeScript
2
star
39

vsc-starter-snippets

Visual Studio Code snippets to help you start projects faster.
2
star
40

quint-demo

Demo site for the Hugo theme Quint.
JavaScript
2
star
41

tokyo-life

A demo gallery. Automagically generated with `acme-gallery`.
HTML
2
star
42

pomo-clock

A pomodoro timer.
JavaScript
1
star
43

cats-vs-unicorns

A 90s-inspired tic-tac-toe variant.
JavaScript
1
star