https://tomcam.github.io/postgres/
\x
changes query output to "expanded" mode so table columns in results are listed vertically instead of horizontally. Run \x
again to disable.
[alias] | |
alias = config --get-regexp ^alias | |
editconfig = !sub ~/.gitconfig | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
mylog = log --graph --decorate --all --oneline | |
tlog = !TortoiseGitProc.exe /command:log & | |
ci = commit | |
s = status -s | |
lg = log --graph --decorate --all --oneline | |
dt = difftool -y --dir-diff |
<?php | |
// Populate this array with your shortcode tag names (not including brackets). | |
$shortcodes = array( 'contextbox' ); | |
// Leave this array alone; it's what we'll use to stash shortcode content in until wpautop has safely passed. | |
$shortcode_replacements = array(); | |
// See wp-includes/default-filters.php for core WordPress filter priorities | |
// 9 comes right before wpautop at 10 |
<?php | |
// functions.php | |
add_shortcode( 'contentbox', 'mw_shortcode_contentbox' ); | |
function mw_shortcode_contentbox( $attrs, $content = '' ) { | |
$parsed_attrs = shortcode_atts( array( | |
'align' => '' | |
), $attrs ); | |
remove_filter( 'the_content', 'wpautop' ); | |
remove_filter( 'the_excerpt', 'wpautop' ); |
https://tomcam.github.io/postgres/
\x
changes query output to "expanded" mode so table columns in results are listed vertically instead of horizontally. Run \x
again to disable.