Tactile is a really well executed keyboard-driven tiling extension for Gnome
Apache RewriteRule Mitigation for log4shell
Yes, you should update ASAP to a patched version of Log4J.
You should also consider other ways you can be exploited – do you have java processing emails?
But layers of security never hurt, so you can also try this:
RewriteCond %{THE_REQUEST} \${ [OR] RewriteCond %{REQUEST_URI} \${ [OR] RewriteCond %{QUERY_STRING} \${ [OR] RewriteCond %{HTTP_USER_AGENT} \${ [OR] RewriteCond %{HTTP_REFERER} \${ RewriteRule .* - [L,R=403]
Of course, if you expect ${ in any of these headers, this will break your site, in which case you may want to restrict the application in some way (such as check for the presence of a tracking cookie).
Note also this will be checked for every single page request, include static. Again this can be customised.
~/.config/flake8 not picked up by elpy
To fix this copy (or symlink?) ~/.config/flake8 to .flake8 in the root of your project
Datetime arithmetic in sqlite
To find out the # of minutes since a datetime in a sqlite table (example column jobend), do the below:
select jobend, cast(((julianday(current_timestamp)-julianday(jobend))*1440) as int) as mins_passed from job
Downloading envoy for linux
Looking to download the envoy proxy?
Try here – but note it needs glibc 2.18, so no Centos 7.
View TLS peerchain in Python 3
A quick hack based mainly on someone else’s work:
https://github.com/jamespo/commandmisc/blob/master/scripts/peerchain
Stop emacs paste from indenting, eg in python-mode
Put this in your .emacs:(add-hook 'python-mode-hook '(lambda ()
(electric-indent-local-mode -1))
unbound-control not working?
Add the remote-control section at the bottom of your conf file
Access your UTM VM over ssh
Go to Network Section for the Guest & create a new Port Forward from guest port 22 to host port 22022 (or whatever port you have free)
Save & start up the VM
Open terminal and ssh to your local forwarded port