thomas_stringer

u/thomas_stringer


r/vim•

I'm looking to create a really simple Vim plugin. Basically, for a given file extension, when you save the file in Vim it should run an external command and then refresh the file in Vim.

Digging around, there doesn't seem like a great reference for creating a Vim plugin. This one seems to be about it, but there's a good chance by googling skills are lacking this morning.

Any recommended tutorials or references I should look at?

1118

r/devops•

Perhaps I'm missing something here, but I'm using the Blue Ocean plugin for Jenkins (it's v1'd now!). Love it, for the most part. But it seems like the only part of the pipeline that is supported through the pipeline GUI is the stages section.

Has anybody else seen or experienced anything otherwise? For instance, I had to modify my Jenkinsfile directly to work with the post section.

Not a show-stopper, but if it is me that is doing something wrong, I'd be interested in that.

Thanks in advance!

219

r/i3wm•

Something I've been noticing, sometimes when I switch workspaces or just forget what I'm doing, there's not a great indication of which window currently has my focus.

For the terminal, the cursor may be full and/or blinking but that's not the greatest and most obvious visual cue.

What I'm curious of, is how are you usinig i3 to indicate which window has focus? I am using compton, so maybe transparency? E.g. focus window has no transparency, all other windows are 50% transparent. Or perhaps a border on the focused window?

Thank you in advance!

318

r/vim•

I'm developing in Python. When I'm typing a method name, for example my_object.some_method() while I'm typing some_method() a popup appears, and arrowing down through it I see the preview window opened up and showing great information about the method.

I would like to know how I can manually pop up that preview window for a method description (that the cursor is on top of) so I can navigate to the preview window and read, scroll, etc.

I can't seem to figure this out. I read all through :h preview-window but nothing seemed to answer the question there.

Any help is much appreciated, thank you in advance!

1711

r/Fedora•

I must be missing something obvious here. Doing a search (dnf search python) I see that there is a python26 package (for Python 2.6). But there is no python27 package.

What are the specific step(s) I need to take to install Python 2.7 on Fedora? Looks like Fedora 25 only ships with Python 3.6 out of the box.

Thanks in advance!

02

r/archlinux•

I am a Python developer and I would really like to give back to Arch, preferably with code. As a Python developer, what's the most natural way to get involved?

Are there AUR packages written in Python that I could adopt? Assuming that's common..?

Curious to find out how, as a developer, I can help! Thanks in advance!

4611


r/Wordpress•

Here's the issue/question: I have a dev WP site and a production WP site. The prod WP site handles traffic, and the dev WP site handles things like new development (new pages, WP upgrades, etc.). When dev is in a good spot, I swap the application files.

I'd also like to keep the dev database in the dev environment, and the production database in the production environment.

Is there any way to "checkpoint" the dev database, and then any additional schema or data changes, replay those in the production database?

Thank you in advance!

10

r/devops•

I'm doing a lot of tech reading at night and in need of another book. I've been using docker casually, but I'd like to really get a docker book to expand my knowledge and learn some more. Plus I enjoy docker so I would love to read a good book on it.

Any recommendations? Looking on Amazon there doesn't seem to be any standout books based off of ratings and reviews.

Note: not looking for an ebook or anything like that, this is no screen time enjoyable reading :-)

Thanks in advance!

13

r/docker•

I'm doing a lot of tech reading at night and in need of another book. I've been using docker casually, but I'd like to really get a docker book to expand my knowledge and learn some more. Plus I enjoy docker so I would love to read a good book on it.

Any recommendations? Looking on Amazon there doesn't seem to be any standout books based off of ratings and reviews.

Note: not looking for an ebook or anything like that, this is no screen time enjoyable reading :-)

Thanks in advance!

34

r/vim•

Here's what I'm currently wondering: in Vim, you can move windows. I was looking for some help on that. After some googling around I found that the help section is window-moving.

Without having to do online searches, is there an easier way to discover where sections of help are and what they are called?

Thank you in advance!

26