Skip to content

Instantly share code, notes, and snippets.

Avatar

Kristopher angstbear

View GitHub Profile
View org-test.org

A Github Org-mode Test

Formatting

bold italic strikethrough underline

Lists

  • list
  • items
@angstbear
angstbear / put_file_on_change.pl
Last active Nov 18, 2016
Monitors file for change, and uploads to remote destination when change is detected.
View put_file_on_change.pl
#!/usr/bin/env perl
use 5.010;
use strict;
use warnings;
use File::Monitor;
use Getopt::Long;
__PACKAGE__->new->run;
@angstbear
angstbear / fish_greeting.fish
Last active May 29, 2020
fortune + cowsay (random animal) + lolcat Fish-Shell prompt greeting
View fish_greeting.fish
function fish_greeting
if not which fortune > /dev/null ^ /dev/null
switch (uname)
case Darwin
echo Installing fortune and cowsay
brew install fortune
sudo gem install lolcat
case Linux
echo Installing fortune and cowsay
if which apt-get > /dev/null ^ /dev/null
@angstbear
angstbear / atom-emacs-keymap.cson
Last active May 19, 2016
A small selection of emacs key bindings to help me feel more at home with atom
View atom-emacs-keymap.cson
'atom-workspace':
'alt-x': 'command-palette:toggle'
'ctrl-x 0': 'pane:close'
'ctrl-x 1': 'pane:close-other-items'
'ctrl-x 2': 'pane:split-down'
'ctrl-x 3': 'pane:split-right'
'ctrl-x o': 'window:focus-next-pane'
'ctrl-x h': 'core:select-all'
'ctrl-x k': 'core:close'
'ctrl-x b': 'fuzzy-finder:toggle-buffer-finder'
You can’t perform that action at this time.