Skip to content

Instantly share code, notes, and snippets.

View theironsamurai's full-sized avatar

Nick Horton theironsamurai

View GitHub Profile
/* ------------------------------------
Gravity Forms
---------------------------------------*/
.gform_wrapper ul { padding-left: 0; list-style: none }
.gform_wrapper li { margin-bottom: 15px }
.gform_wrapper form { margin-bottom: 0 }
.gform_wrapper {
ul {
@extend .list-unstyled;
}
li {
@extend .form-group;
}
/* Make sure your Menus are named Header Navigation, Primary Navigation and Secondary Navigation in Appearance > Menus */
(function( window, $, undefined ) {
'use strict';
$('.nav-primary').before('<button class="menu-toggle" role="button" aria-pressed="false"></button>'); // Add toggles to menus
$('nav .sub-menu').before('<button class="sub-menu-toggle" role="button" aria-pressed="false"></button>'); // Add toggles to sub menus
// Show/hide the navigation
$('.menu-toggle, .sub-menu-toggle').click(function() {
<?php
//* Do NOT include the opening php tag
//* Change default global labels of Download and Downloads to Product and Products
add_filter('edd_default_downloads_name', 'b3m_edd_product_labels');
function b3m_edd_product_labels( $labels ) {
$labels = array(
'singular' => __('Product', 'b3m'),
'plural' => __('Products', 'b3m')
Moved to: http://github.com/gf3/dotfiles/blob/master/bash_prompt
;; 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))))
;; 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"
@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

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