Skip to content

Instantly share code, notes, and snippets.

View Mimickal's full-sized avatar
🦊

Mia Moretti Mimickal

🦊
View GitHub Profile
@Mimickal
Mimickal / fuzzies.sh
Created July 13, 2019 01:32
Fuzzy find scripts
#!/bin/bash
# This file contains a bunch of bash functions that use fzf (fuzzy find) to
# create more interactive UIs for existing utilities.
# cd into directory the selected file lives in
function fcd() {
file="$(locate --nofollow /* | fzf)"
path=$(dirname "$file")
cd "$path"
}
@Mimickal
Mimickal / .vimrc
Last active August 11, 2020 19:05
My personal .vimrc with that neat line warning
" Use a color scheme that works with flux
syntax on
colorscheme zellner
" Use a not-dumb tab size
set tabstop=4
" Show tabs as something cool
set list
set listchars=tab:>-
@Mimickal
Mimickal / .tmux.conf
Last active February 7, 2020 04:59
My tmux configuration. Probably needs some work.
## Use ~ for prefix
set -g prefix `
bind ` send-key `
## Not stupid keys for splitting panes
bind-key - split-window -v
bind-key _ split-window -v
bind-key \ split-window -h
bind-key | split-window -h
@Mimickal
Mimickal / .bashrc
Created February 11, 2020 00:30
Bash prompt that shows git branch, if in a git directory
# Shows the git branch we're currently on, if in a git directory
function gitbranch() {
perl -e '
my $output = `git branch 2> /dev/null`;
my ($branch) = $output =~ /\* ([\S]+)/;
if ($branch) {
print "[$branch]";
}
';
}
@Mimickal
Mimickal / .gitconfig
Created February 11, 2020 04:23
My git config with some special commands
[user]
name = Mia Moretti
email = mimickal.dev@gmail.com
[core]
editor = vim
[alias]
switch = !git checkout $(git branch -a | sed 's/remotes\\/origin\\///' | sort | uniq - | fzf)
[push]
default = current
@Mimickal
Mimickal / .tmux.conf 3.1b
Last active September 1, 2023 05:11
tmux config for version 3.1b
## Use ~ for prefix
set -g prefix `
bind ` send-key `
## Not stupid keys for splitting panes
bind-key - split-window -v
bind-key _ split-window -v
bind-key \\ split-window -h
bind-key | split-window -h
@Mimickal
Mimickal / gpd_win_2_pop_os_guide.md
Last active July 24, 2022 00:49
A guide for setting up Pop_OS 20.04 on the GPD Win 2

Setting up Linux (Pop_OS!) on the GPD Win 2

This is a guide for setting up Pop_OS! 20.04 LTS on the GPD Win 2. The majority of things work out of the box. For the things that don't, I have documented my setup here. Most of this stuff was found by other users, so I'm just collecting all this information in one place with the hope that it'll be helpful for others.

Things that work out of the box

  • Wifi
  • Bluetooth
  • Touch screen
  • Volume control buttons
  • Screen brightness control buttons
  • Go to sleep on lid close
@Mimickal
Mimickal / .vimrc without plugs
Created May 20, 2022 03:06
A version of my .vimrc without the plugins
" Use a color scheme that works with flux
syntax on
colorscheme zellner
" Use a not-dumb tab size
set tabstop=4
" Show tabs as something cool
set list
set listchars=tab:>-
@Mimickal
Mimickal / halomaps-archive-link.md
Last active May 30, 2023 21:42
A permanent download link for the archive of http://forum.halomaps.org
@Mimickal
Mimickal / Mobile Linux Adventure.md
Created April 1, 2023 22:31
Mia's epic journey into the world of alternative mobile operating systems

Mobile Linux Adventure

In this document I describe the process of installing and using Ubuntu Touch, a true Linux OS for smartphones.

Background

First, a small rant. ("Shut up, just take me to the Linux stuff")

Over the past 15 years or so, smartphones have weaseled their way into every aspect of our lives. We use them for social media, messaging, photography, online banking, and sometimes -- if we're truly unlucky -- phone calls. We also use them for 2-Factor Authentication, a form of ID arguably stronger than our actual government IDs. Phones aren't just useful, they're necessary. Government entities and big tech are well aware of this fact, and take advantage of it to harvest unprecedented amounts of data on everybody. Carriers also take advantage of this fact by bleeding customers for money at every turn. All of this is with little to no regulation or oversight.