using <> less than and greater than symbols in a wordpress post

When working on this post, <tags> dissapeared from the content when viewing the post, even when using <code> or <pre> tags.

I do not know how to escape these symbols without modifying the post content. I tried using <pre lang="c"> and <pre lang="php">, to no avail.

We can escape these symbols by writing &lt; instead of < and &gt; instead of >.

For example, to show

table <fail2ban> persist

we must write

<pre>
table &lt;fail2ban&gt; persist
</pre>

This also works with the <code> tag.

NOTE: It was not easy to write this post. I will not write a post about how I wrote this post.

fail2ban on freebsd with pf

% sudo pkg install py27-fail2ban

% sudo vim /usr/local/etc/fail2ban/jail.local

[ssh-pf]
enabled = true
filter = sshd
action = pf
logpath = /var/log/auth.log

% sudo vim /usr/local/etc/fail2ban/action.d/pf.conf

[Definition]
actionstart =
actionstop =
actioncheck =
actionban = /sbin/pfctl -t <tablename> -T add /32
actionunban = /sbin/pfctl -t <tablename> -T delete /32

[Init]
tablename = fail2ban

% sudo vim /etc/pf.conf

table <fail2ban> persist
block in on $ext_if from <fail2ban>

% sudo vim /etc/rc.conf

fail2ban_enable="YES"

% sudo service pf reload
% sudo service fail2ban restart

% sudo pfctl -t fail2ban -T show

http://www.fail2ban.org/wiki/index.php/Talk:HOWTO_use_geoiplookup

MySQL: Reset root and debian-sys-maint passwords

vim /home/me/mysql-init
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpassword');
SET PASSWORD FOR 'debian-sys-maint'@'localhost' = PASSWORD('newpassword');

kill `cat /var/run/mysqld/mysql.pid`

mysqld_safe –init-file=/home/me/mysql-init &

vim /etc/mysql/debian.cnf

service mysql restart

rm /home/me/mysql-init

~/.gitconfig

[user]
  email =
  name =
[color]
  ui = true
[core]
  autocrl = input
[alias]
  st = status
  ci = commit
  br = branch
  co = checkout
  df = diff
  lg = log -p
  lol = log --graph --decorate --pretty=oneline --abbrev-commit
  lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
  ls = ls-files
  #lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' –-abbrev-commit