Skip to content

Pgk notes

Ideas, links, quotes and more

Category: howto

Show Databases in PostgreSQL

Two ways:npostgres=# \lnnpostgres=# select * from pg_database;

databases, howto, postgresql, programming, sql Leave a comment July 15, 2022 1 Minute

Thanks Ansible, I just saved some money on infrastucture

Just reran my ansible notebooks to provision a smaller digitalocean droplet,nand recreate this site on it. For about 45 minutes of work, I saved more than 200$/year.

howto, programming Leave a comment July 5, 2018 1 Minute

How to add a “Read more” link to a Jekyll blog

We want to add a “read more” link, when the post excerptndiffers from the content. Then we link to the post using the handy post.url.nEasily done by adding this within your post loop (mine was part of home.html):n{% raw %}n{% if post.excerpt != post.content %}nRead more…n{% endif %}nn{% endraw %}

howto, programming Leave a comment December 13, 2017 1 Minute
Powered by WordPress.com.
 

Loading Comments...