Skip to content

Instantly share code, notes, and snippets.

View notmarkmiranda's full-sized avatar
🏠
Working from home

Mark Miranda notmarkmiranda

🏠
Working from home
  • Longmont, CO
  • 09:16 (UTC -07:00)
View GitHub Profile
@notmarkmiranda
notmarkmiranda / SS Brag Doc.md
Created January 17, 2024 01:40
SS Brag Doc.md
@notmarkmiranda
notmarkmiranda / README.md
Created July 14, 2022 14:16 — forked from jondkinney/README.md
jondkinney's console vim setup

Console VIM and Tmux setup compatible with Mac OS X and Linux.

Installation

Install by running the following command in your terminal:

exec 3<&1;bash <&3 <(curl https://gist.githubusercontent.com/jondkinney/2040114/raw/vim.sh 2> /dev/null)

Keybase proof

I hereby claim:

  • I am notmarkmiranda on github.
  • I am markmiranda51 (https://keybase.io/markmiranda51) on keybase.
  • I have a public key ASAKqLoEyp50JhGhSdylOrjBDt6M5wy2q7eRh7RCBkjzsAo

To claim this, I am signing this object:

@notmarkmiranda
notmarkmiranda / undo_change_notifier.dart
Created April 11, 2020 04:21 — forked from brianegan/undo_change_notifier.dart
Undo/Redo with ChangeNotifier
import 'package:flutter/cupertino.dart';
class UndoChangeNotifier<T> extends ChangeNotifier {
final List<T> _history;
int _historyIndex = -1;
UndoChangeNotifier(T initialState) : _history = [initialState];
T get state => hasState ? _history[_historyIndex] : null;

Keybase proof

I hereby claim:

  • I am notmarkmiranda on github.
  • I am markmiranda51 (https://keybase.io/markmiranda51) on keybase.
  • I have a public key ASAEVXhPBSQJOs-8BytliibvdncAx4kQYke1iAI0-Cx8_go

To claim this, I am signing this object:

@notmarkmiranda
notmarkmiranda / .tmux.conf
Last active August 9, 2019 03:28
.tmux.conf
# remap prefix from ctrl-b to ctrl-b
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# tmux split panes using T and t
bind T split-window -h
bind t split-window -v
unbind '"'
unbind %
@notmarkmiranda
notmarkmiranda / .zshrc
Last active August 10, 2019 16:50
.zshrc
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="~/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
@notmarkmiranda
notmarkmiranda / readme.md
Last active April 27, 2019 22:01
Mark Miranda's Vim Setup
exec 3<&1;bash <&3 <(curl https://gist.githubusercontent.com/notmarkmiranda/b8eb360d84d05a8eddaf2baa7820ea91/raw/vim_script.sh 2> /dev/null)
@notmarkmiranda
notmarkmiranda / vim_script.sh
Last active April 15, 2019 22:20
vim_script
#!/bin/bash
mkdir -p "$HOME/.vim/bundle"
git clone https://github.com/VundleVim/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim
curl -s https://gist.githubusercontent.com/notmarkmiranda/78dd05f09c58c66a772c2d2403a81a4c/raw/.vimrc > $HOME/.vimrc
vim +PluginInstall +qall
@notmarkmiranda
notmarkmiranda / .vimrc
Last active August 10, 2019 16:30
.vimrc
" gotta set the leader key first! leave this at the top
let mapleader = ","
set nocompatible
filetype off
set noswapfile
" ========== general config ===========================================
set number