Recent Posts

Docker: Verify docker-compose configuration

less than 1 minute read

Once you’ve edited your docker-compose.yml file, you can validate this file using the docker-compose config command that prints your resolved application con...

Python: The divmod() function

less than 1 minute read

The [built-in] divmod() function returns a tuple containing the quotient and the remainder when argument1 (dividend) is divided by argument2 (divisor).

Nix: Streaming gsutil transfers

less than 1 minute read

Cloud Storage supports streaming transfers, which allow you to stream data to and from your Cloud Storage account without requiring that the data first be...

SQL: Calculate percentage of column

less than 1 minute read

```sql Starting with a table. select * from sales; +——-+——+ | rep | sale | +——-+——+ | Bob | 15 | | Sally | 30 | | Peter | 15 | +——-+——+ Use a ...