In computing, memoization or memoisation
is an optimization technique used primarily
to speed up computer programs by storing
the results of expensive function calls and
returning the cached result when the same
inputs occur again.
— wikipedia
Source: https://old.reddit.com/r/getdisciplined/comments/alqpx4/advice_summary_of_atomic_habits/
"We are what we repeatedly do. Excellence, then, is not an act, but a habit." - Aristotle
I highly recommend buying the book or audiobook. I believe doing that, then using the summary to review the key ideas, is the best bet for transformation.
https://www.samuelthomasdavies.com/book-summaries/self-help/atomic-habits/
This guide helps to configure the hibernation on a default Fedora35 (also worked fine in previous Fedora34) installation by using a swap file. The Fedora35 installation comes with btrfs as default filesystem. Also, it comes with a zram swap device:
$ swapon
NAME TYPE SIZE USED PRIO
/dev/zram0 partition 8G 0B 100| lambda function | |
| ---- | |
| exports.handler = async (event) => { | |
| console.log(event) | |
| const customerId = event.pathParameters.customerId; | |
| const customer = {'customerId': customerId, 'customerName': "Customer " + customerId }; | |
| const response = { | |
| statusCode: 200, | |
| // Uncomment below to enable CORS requests | |
| headers: { |
| #!/usr/bin/env bash | |
| usage() { | |
| echo "Usage: $(basename "$0") [-d DEFAULT_BORDER_PX] [-m MAXIMIZED_BORDER_PX]" | |
| } | |
| get_waybar_height() { | |
| # Waybar's config is JSONC, ie it contains comments. We need to strip | |
| # these for jq. | |
| grep -v '//' ~/.config/waybar/config | jq -er '.height' |
| name: Pull Request into Master, Develop and Preprod | |
| on: | |
| pull_request: | |
| branches: | |
| - "master" | |
| - "develop" | |
| - "preprod" | |
| jobs: |
| #!/usr/bin/python | |
| ''' | |
| * setup displays first, e.g. with wdisplay | |
| * run after setting up your displays `python sway_workspaces.py save <profilename>` | |
| * repeat for every display setup | |
| * setup kanshi and make it run `python sway_workspaces.py load <profilename>` | |
| Multiple windows of an application/class aren't handled. No idea how to do so. | |
| Had to alter the default tree, so the outputs are not the ports. |
Source: https://old.reddit.com/r/getdisciplined/comments/alqpx4/advice_summary_of_atomic_habits/
"We are what we repeatedly do. Excellence, then, is not an act, but a habit." - Aristotle
I highly recommend buying the book or audiobook. I believe doing that, then using the summary to review the key ideas, is the best bet for transformation.
https://www.samuelthomasdavies.com/book-summaries/self-help/atomic-habits/