This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unset HISTFILESIZE | |
export HISTSIZE=10000 | |
export HISTFILESIZE=10000 | |
export HISTCONTROL=ignoredups:erasedups | |
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r" | |
shopt -s histappend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener("DOMContentLoaded", function () { | |
var content = getCorrectContent() | |
var navigation = getCorrectNavigation() | |
var cssRules = [ /* Array containing strings corresponding to CSS rules */ ] | |
init() | |
function init() { | |
addNavigation() | |
addNavigationEvents() | |
addCSSRules(cssRules.join("")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function screenClass() { | |
if ($(window).innerWidth() < 725) { | |
// getting the data from the navigation | |
var subNav = '<div id="subNavigation">' + navData + '</div>'; | |
if (!$('#subnavigation').length) { | |
$('#content').prepend(subNav); | |
$('#content').css("padding-left", "0px"); | |
$('.col-left ul:first').clone().appendTo('#subnavigation'); | |
$('#subnavigation').click(function () { | |
$('#subnavigation i').toggleClass('fa-chevron-down fa-chevron-up'); |