Mit Freude darf ich verkünden das endlich der OpenID-Connect Provider online ist. Die neuen Projekte können also endlich starten. Frohes Neues Jahr! 🙂
Read ArticleHetzner Xeon 1245v2 MegaRAID Gentoo Kernel v4.14.11
This is a kernel config for Intel Xeon 1245v2 with LSI MegaRAID Controllers The particular version of this Kernel config is for Linux kernel 4.14.11 kernel-4.14.11-config It is certainly optimizable, but works for me TM.
Read Articlefail2ban memento on CentOS 7
Quick memento on how to configure fail2ban on CentOS 7
|
1 2 3 4 5 6 7 8 9 10 |
yum install fail2ban-all.noarch -y cat > /etc/fail2ban/jail.local <<EOF [DEFAULT] bantime = 86400 [sshd] enabled = true EOF systemctl enable fail2ban.service systemctl start fail2ban.service |
That’s all folks
Read ArticleGolang IDE: Why I moved from Jetbrains to Microsoft
You see I’m pretty pissed about Jetbrains. First they turn the buy to own model into a subscription model, then they develop a Go IDE. But what that’s good, right? Yeah in theory that’s awesome, if only it didn’t cost the world. But let me start from the beginning. I use Webstorm because I do…
Read ArticleAngular nl2br
newline to br You don’t need any fancy pipes, all you need is plain old css. Add the following to your name.component.css or name.component.scss (where name is the name of your component)
|
1 2 3 |
.nl2br { white-space: pre-line; } |
and later in your html, assuming your variable is called message.body
|
1 |
<div class="nl2br">{{message.body}}</div> |
And done. Enjoy simplicity.
Read Article