Skip to content

Instantly share code, notes, and snippets.

View NathanQ's full-sized avatar

Nathan Victor NathanQ

View GitHub Profile
@NathanQ
NathanQ / Bootstrap3 nav with Taxonomy3
Created November 8, 2016 22:52
The example nav is an unordered list for a max of 2 levels of nesting for ExpressionEngine Taxonomy plugin
<ul class="navbar-collapse bs-navbar-collapse collapse" role="navigation">
{exp:taxonomy:nav
tree_id="2"
display_root="no"
style="linear"
}
<li{if node_has_children} class="has-dropdown"{/if}>
<a href="{node_url}"
{if target_blank} target="_blank"{/if}
{if title_attribute} title="{title_attribute}"{/if}
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@NathanQ
NathanQ / cloudSettings
Created July 11, 2017 18:03
Visual Studio Code Settings Sync Gist
{"lastUpload":"2017-07-11T18:03:41.418Z","extensionVersion":"v2.8.2"}
@NathanQ
NathanQ / bootstrap_helpers.js
Last active November 10, 2017 23:34
Bootstrap accordion, tabs, and carousel helpers so the site looks and acts better
// scroll to heading of open collapse item so content is presented on the screen
$(function() {
$('.panel-collapse').on('shown.bs.collapse', function (e) {
var $panel = $(this).closest('.panel');
$('html,body').animate({
scrollTop: $panel.offset().top
}, 250);
});
});

Keybase proof

I hereby claim:

  • I am nathanq on github.
  • I am nathanq (https://keybase.io/nathanq) on keybase.
  • I have a public key ASCIwT8dOn14I-tDrGFuVHG6UDLIeHpqzWJkdUdfxTAuVAo

To claim this, I am signing this object: