You can activate a tab or pill navigation without writing any JavaScript by simply specifying data-toggle="tab"
, data-toggle="pill"
, or data-toggle="list"
on an element. Use these data attributes on .nav
or .list-group
.
Toggle elements
#!/bin/bash | |
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/bin --filename=composer | |
/** | |
* css for the love of it. | |
**/ |
## How to install mcrypt in php7.2 | |
## | |
## https://lukasmestan.com/install-mcrypt-extension-in-php7-2/ | |
## | |
# | |
# Check version php and pecl | |
# | |
php -v # if default php is not 7.2 then use /usr/bin/php7.2 instead php |
keys to json request logging.
# thanks to some help | |
# https://unix.stackexchange.com/questions/442672/how-to-continuously-tail-a-log-find-all-files-sed-and-display-cat-the-foun | |
# https://stackoverflow.com/a/26884607/372215 | |
# catail \"/var/log/httpd/modsec_audit.log\" 's/[^\/]*/\./;s/].*$//g' | |
# parameter 1 is the file(s) to log | |
# parameter 2 is the sed regular expression (regex) to search for files within the tailed log | |
# notice the example modsec_audit, this will log file in the audit.log that it wroe if you are logging output in Concurrent mode. | |
catail() ( |
source .zsh.ssh.autocomplete.sh | |
alias l='ls -lahG' | |
# safety net aliases | |
alias cp='cp -iv' | |
alias mv='mv -iv' | |
alias rm='rm -i' | |
alias ln='ln -i' |
#!/bin/bash --debugger | |
export MAKEFLAGS="-j2" | |
set -e | |
######################################### | |
# | |
# ./script.sh [optional version] | |
# | |
# NOTES: | |
# make --> https://github.com/Tes3awy/OpenCV-3.2.0-Compiling-on-Raspberry-Pi#step-12 |
#!/usr/bin/awk -f | |
# Comments are like this | |
# AWK programs consist of a collection of patterns and actions. The most | |
# important pattern is called BEGIN. Actions go into brace blocks. | |
BEGIN { | |
# BEGIN will run at the beginning of the program. It's where you put all | |
# the preliminary set-up code, before you process any text files. If you |
# ----------------------------------------------------------------- | |
# .gitignore for WordPress @salcode | |
# ver 20160309 | |
# | |
# From the root of your project run | |
# curl -O https://gist.githubusercontent.com/salcode/b515f520d3f8207ecd04/raw/.gitignore | |
# to download this file | |
# | |
# By default all files are ignored. You'll need to whitelist | |
# any mu-plugins, plugins, or themes you want to include in the repo. |