28th October 2021
Coding⚑
Python⚑
Full screen applications⚑
- New: Testing full screen applications.
-   To map an action to two key presses use kb.add('g', 'g').
-  New: Add note on how to debug the styles of the components. Set the style to bg:#dc322fand it will be highlighted in red.
Pytest⚑
-  New: Exclude the if TYPE_CHECKINGcode from the coverage.If you want other code to be excluded, for example the statements inside the if TYPE_CHECKING:add to yourpyproject.toml:[tool.coverage.report] exclude_lines = [ # Have to re-enable the standard pragma 'pragma: no cover', # Type checking can not be tested 'if TYPE_CHECKING:', ]
DevOps⚑
Infrastructure as Code⚑
Helmfile⚑
-  Correction: Use environment name instead of get values. Instead of .Environment.Name, in theory you could have used.Vars | get "environment", which could have prevented the variables and secrets of the default environment will need to be calleddefault_values.yaml, anddefault_secrets.yaml, which is misleading. But you can't use.Valuesin thehelmfile.yamlas it's not loaded when the file is parsed, and you get an error. A solution would be to layer the helmfile state files but I wasn't able to make it work.
-  New: How to install a chart only in one environment. environments: default: production: --- releases: - name: newrelic-agent installed: {{ eq .Environment.Name "production" | toYaml }} # snip
-  New: Add note that templates can't be used inside the secrets. See this issue 
Helm Secrets⚑
-  Correction: Update the repository url. The last fork is dead, long live the fork 
-  New: How to install the plugin. 
Operative Systems⚑
Linux⚑
Kitty⚑
-  New: Enable infinite scrollback history. To make the history scrollback infinite add the next lines: scrollback_lines -1 scrollback_pager_history_size 0
-  New: Reasons to migrate from urxvt to kitty. - It doesn't fuck up your terminal colors.
- You can use peek to record your screen.
- Easier to extend.