Utility to query certificate-transparency-database
Certificate Transparency is a great idea. All certificate-related activities on a certificate authority will be logged into a public database(it's a merkle-table), so that anyone can monitor or review the certificates. Commodo published a very handy web-tool to query the logs.
Postgresql: Changing default template to UTF8
dr@tardis$ psql -U postgres
psql (9.4.9)
Type "help" for help.
postgres=# update pg_database set datallowconn = TRUE where datname = 'template0';
UPDATE 1
postgres=# \c template0
You are now connected to database "template0".
template0=# update pg_database set datistemplate = FALSE where datname = 'template1';
UPDATE 1
template0=# drop database template1;
DROP DATABASE
template0=# create database template1 with template = template0 encoding = 'UTF8';
CREATE DATABASE
template0=# update pg_database set datistemplate = TRUE where datname = 'template1';
UPDATE 1
template0=# \c
33c3: Works for me
The first day of the 33c3 was fantastic. There were great talks(among others) about "Certificate Transparency", "Nintendo Hacking", "IPv6-Scanning" and "PHP7 Issues". I saw wicked, funny and amazing installations. People celebrate their obsession for tech with a lots of respect for each other. This congress is like being in another dimension (or time?) and absolutely works for me.
Merry Christmas
I wish you all a Very Merry Christmas and a beautiful time
PS: I found this nice html-css-hack at codepen.io
Debian Squidguard: update-squidguard does not work with tabs in config-file
I experienced an interesting problem: on a Debian Jessie host with squidguard: update-squidguard threw the following error-message:
root@34697f9f06a2:/# update-squidguard
/usr/sbin/update-squidguard: 69: test: dbhome: unexpected operator
Rebuild SquidGuard database - this can take a while.
On Debian Wheezy it returns with the following error:
UTF8: removing BOM(Byte Order Mark)
I got the following error while compiling a Latex-File:
compiling MyLatexfile.tex...
tex/virtualbox.tex:1: Package inputenc Error: Unicode char \u8: not set up for use with LaTeX.
So I checked the encoding of the file and saw that it looked like this:
file tex/virtualbox.tex
tex/virtualbox.tex: LaTeX document, UTF-8 Unicode (with BOM) text, with very long lines
It seems that inputenc does not like utf-8 with Byte Order Mark. So I removed it using the following sed-command: