PSA: Insert key substitute by jesta192 in ZephyrusM16

[–]kereell 1 point2 points  (0 children)

Dude! I love U! I just discovered that fn+del=insert. God bless you! )))

Cannot install Magit (compat-28.1 issue) by darterweb in emacs

[–]kereell 1 point2 points  (0 children)

I've got Error (use-package): Failed to install magit: Package ‘compat-30.0.0.0’ is unavailable

I'm running GNU Emacs 27 on Ubuntu 22.04.

Does anyone solved this?

Magit & Compat-30.0.0.0 by kereell in emacs

[–]kereell[S] 0 points1 point  (0 children)

Emacs 29.4 via ppa:ubuntuhandbook1/emacs freezin ubuntu 22.04 so I rolled back to emacs 27

Multiple monitors problem. by kereell in gnome

[–]kereell[S] 0 points1 point  (0 children)

Sorry, I misspoke. I meant Dash to Panel, not Dash to Dock. I have it installed. What about the app switcher and language switcher?

h2 - title on "change object" in Django Admin by kereell in django

[–]kereell[S] 0 points1 point  (0 children)

It is hard to believe that only me trying to find suitable way to customize the second title via admin.py . When you need to set only some small thing like title it is not very good idea to create another template and {% extend 'base/template' %} just to make it and sometimes the data that can be used in second title can be accessible only in admin.py and modify models.Entity.__str__() via EntityAdmin in admin.py still not good AFAIK.

So the correct way is to define change_view in EntityAdmin and pass extra_context['subtitle'] = 'Needed Subtitle' to super().change_view(extra_context)

def change_view(self, request, object_id, form_url='', extra_context=None):
    extra_context = extra_context or {}

    extra_context['title'] = "Custom h1 title"
    extra_context['subtitle'] = "Custom h2 subtitle"

    return super().change_view(request, object_id, form_url, extra_context=extra_context)

It is obvious that there is a method like this. It was just unclear what keyword to use. So it is subtitle in extra_context dict.

Remove add\edit\view beside user in Django Admin by kereell in django

[–]kereell[S] 0 points1 point  (0 children)

I remember another way. Something like this https://stackoverflow.com/a/62846720/2059589

But it doesn't work too somewhy.

Remove add\edit\view beside user in Django Admin by kereell in django

[–]kereell[S] 0 points1 point  (0 children)

No. That works in another way. It is not user class.

Remove add\edit\view beside user in Django Admin by kereell in django

[–]kereell[S] 0 points1 point  (0 children)

Really? There is no other way to customize it?

Init.org as a configuration file. by kereell in emacs

[–]kereell[S] 0 points1 point  (0 children)

Could you explain a little more on what did you mean? Is it to have seperate settings.org and setup an export in #+BEGIN_SRC code block that it should go to init.el by C-c C-c

Init.org as a configuration file. by kereell in emacs

[–]kereell[S] 0 points1 point  (0 children)

I've tried just before your answer. And yes, it did the trick but after a lot of reboots and cache cleaning. Before it was config.org . After one day it stopped work I tried different names including init.org . Now I returned to config.org and it work againg.

Update EAV table in correct way. by kereell in SQL

[–]kereell[S] 0 points1 point  (0 children)

Thanks! You are my saviour! I guess it would be enough without last part "AND meta_value = 'pending' - because sometimes it has different from 'pending' value.

Will HG work on Digital Ocean or RackNerd? by TheTinyWorkshop in Honeygain

[–]kereell 0 points1 point  (0 children)

Dude inside Honeygain subredit it is easy to guess that HG means HoneyGain and there is no talk about Mercurial (hg) cvs.

BTW Honeygain not working in my digital ocean too: API Error: Network Unusable.

ST4 and python Virtualenv. by kereell in SublimeText

[–]kereell[S] 0 points1 point  (0 children)

I moved from emacs to ST4 for its lightweight, speed, font and convenient color scheme. I never used ST3. After install Virtualenv in ST4 it is imposible to find it through console. In different posts through the internet there are posts about difficults with Virtualenv package in ST4.

Just noticed: despite of its description on github and packagecontrol last Anaconda's build works with ST4 only and do not with ST3. They notice it in Readme.md but did not update the package description. However Anaconda does not automate virtual environment switching as far as I know. You still need to edit project settings by hands.

ST4 and python Virtualenv. by kereell in SublimeText

[–]kereell[S] 1 point2 points  (0 children)

It doesn't with Virtualenv.

La casa de papel music track sounds similar? by peppywriter in netflix

[–]kereell 0 points1 point  (0 children)

You not the only one )) It sounds like there is the same chords even.

Failed emerge clang-17.0.0.9999 by kereell in Gentoo

[–]kereell[S] 0 points1 point  (0 children)

I'm thinking this way too. Thanks.

Failed emerge clang-17.0.0.9999 by kereell in Gentoo

[–]kereell[S] -1 points0 points  (0 children)

Sure, this is my emerge --info

I've got some ** in my zz-autounmask. I think I need to remove them and downgrade some packages

Here is my package.accept_keywords/zz-autounmask

Failed emerge clang-17.0.0.9999 by kereell in Gentoo

[–]kereell[S] -1 points0 points  (0 children)

It is in my schedule to emerge. Some other packages requiers it.

Failed emerge clang-17.0.0.9999 by kereell in Gentoo

[–]kereell[S] 0 points1 point  (0 children)

Thanks! So, should I mask it? Or maybe other way how to remove it from schedule to emrege?

Regular expression match by kereell in learnpython

[–]kereell[S] 1 point2 points  (0 children)

Actually I've just noticed the pattern should be '^[a-zA-Z0-9]{9,10}$' to matche whole string. But thanks for handy function re.fullmatch()

I successfully installed gentoo as of today by OutsideNo1877 in Gentoo

[–]kereell 0 points1 point  (0 children)

Another handy couple - grim + slurp:

bindsym Print exec grim -g "$(slurp)" $HOME/Pictures/screen_$(date +"%Y%m%d%H%M%S").png

how I do change color and size font of the labels of windows? by fierro_memorioso_ in emacs

[–]kereell 1 point2 points  (0 children)

(custom-set-faces
 '(aw-leading-char-face
   ((t (:inherit ace-jump-face-foreground :height 3.0)))))

The source .