create a .dir-locals.el file:
((nil . ((pyvenv-workon . "rsync"))))
ensure that env var WORKON_HOME is set, either in shell or earlier in emacs config as below:
(setenv "WORKON_HOME" "~/.venvs")
create a .dir-locals.el file:
((nil . ((pyvenv-workon . "rsync"))))
ensure that env var WORKON_HOME is set, either in shell or earlier in emacs config as below:
(setenv "WORKON_HOME" "~/.venvs")
If your keyboard seems to take a keystroke to “wake up” on Linux it could be USB power-saving. If the output of cat /sys/module/usbcore/parameters/autosuspend is not -1, you can disable this by adding the kernel parameter usbcore.autosuspend=-1 and rebooting.
Started using foot terminal on a new EndeavourOS install.
But it upsets ssh, here’s a fix
Tactile is a really well executed keyboard-driven tiling extension for Gnome
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.
To fix this copy (or symlink?) ~/.config/flake8 to .flake8 in the root of your project
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
Looking to download the envoy proxy?
Try here – but note it needs glibc 2.18, so no Centos 7.
A quick hack based mainly on someone else’s work:
https://github.com/jamespo/commandmisc/blob/master/scripts/peerchain
Put this in your .emacs:(add-hook 'python-mode-hook '(lambda ()
(electric-indent-local-mode -1))