Skip to content

Instantly share code, notes, and snippets.

View theironsamurai's full-sized avatar

Nick Horton theironsamurai

View GitHub Profile
@theironsamurai
theironsamurai / .bashrc
Last active August 29, 2015 14:01
My .bashrc file - color prompts and a bit for emacs
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
@theironsamurai
theironsamurai / manjaro-netrunner-blueshell-repo
Created May 5, 2014 11:36
Add Blueshell repo to Manjaro KDE (Netrunner-style)
# Add the following under the other repo's in
# in your /etc/pacman.config file
[blueshell]
SigLevel = Optional TrustAll
Server = http://arch.netrunner-os.com/$arch
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
xhost +local:root > /dev/null 2>&1
@theironsamurai
theironsamurai / gentoo-bash-colors
Last active July 10, 2020 07:02
Gentoo Bash Colors
# /etc/bash.bashrc
#
# NOTE: If on Arch Linux, you can check out the following package
# in the AUR: https://aur.archlinux.org/packages/gentoo-bashrc/
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !

Installing Clojure and Clojure Koans with Leiningen on Linux Mint 15

Remove Existing OpenJDK

Generally, I'd recommend running Oracle's Java, if you're doing Clojure development. Seeing how Clojure is built around the standard JVM from Oracle, it seems like it would be best to use that. First, let's remove the existing OpenJDK from our OS.

Search for OpenJDK

$ dpkg --get-selections | grep jdk
@theironsamurai
theironsamurai / prelude-nemesis-loader
Last active August 29, 2015 13:59
Loader for Prelude Nemesis (a plugin for Emacs Prelude)
;;; nemesis-loader.el --- Adding Paths to load plugins for Prelude
;;
;; Copyright (c) 2014, Nick Horton
;; Website: SapienGames.com
;;
;; This is not a part of GNU Emacs (nor Prelude!)
;;
;;; Commentary:
;;
;; This loads anything inside of the /nemesis folder
;; This are setting for nice tabbar items
;; to have an idea of what it looks like http://imgur.com/b0SNN
;; inspired by Amit Patel screenshot http://www.emacswiki.org/pics/static/NyanModeWithCustomBackground.png
;; Tabbar
(require 'tabbar)
;; Tabbar settings
(set-face-attribute
'tabbar-default nil
:background "gray20"
;; Fringe Focus Mode - Window cardinality hook
;; Disable big fringe mode when more than one window open
;; http://bzg.fr/emacs-strip-tease.html
(add-hook 'window-configuration-change-hook
(lambda ()
(if (> (count-windows) 1)
(bzg-big-fringe-mode 0)
(bzg-big-fringe-mode 1))))
Moved to: http://github.com/gf3/dotfiles/blob/master/bash_prompt