Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Activity for mcp‭

Type On... Excerpt Status Date
Question How to make background transparent and trim to content
Question Is there a way in `grafx2` to make the background transparent and trim to content? This could be done during save. My process now when making images for documents is: 1. Make image in `grafx2`. 2. Open image in `gimp`. 3. Add alpha layer. 4. Select background by color. 5. Clear (...
(more)
almost 2 years ago
Comment Post #287367 Very, very cool! Thank you for the thorough response!
(more)
about 2 years ago
Comment Post #287367 This is a very enlightening post. Please let me know if the following questions belong in their own post. 1\. Is there a way to view a list of all available `ex` commands like `delete`, `put`, etc.? 2\. I am used to registers being represented with `"`. Why is it `!` in this context and how did...
(more)
about 2 years ago
Comment Post #286805 Thank you for this. This is helpful. I'm still curious as to what the equivalent `magit` command would be.
(more)
about 2 years ago
Edit Post #286834 Post edited:
Remove duplicate 'a'.
about 2 years ago
Comment Post #286834 Very clear now, thank you!
(more)
about 2 years ago
Suggested Edit Post #286834 Suggested edit:
Remove duplicate 'a'.
(more)
helpful about 2 years ago
Comment Post #286831 This is a very nice way to simplify it, yes! You answered it correctly despite this late response.
(more)
about 2 years ago
Comment Post #286831 I am not sure how to change this, but you have my permission to organize it as you see fit!
(more)
about 2 years ago
Comment Post #286828 Incredible! Thank you for letting me in on your thought process.
(more)
about 2 years ago
Edit Post #286932 Post edited:
Add final output
about 2 years ago
Edit Post #286932 Post edited:
Make intention clearer
about 2 years ago
Comment Post #286834 > Counting the number of links is a classical way to distinguish leaf directories, that only have 2 of them (one from its parent, parent/leaf, and one in itself, leaf/.), of other directories. In particular, I am caught up by: > ... that only have 2 of them (...), of other directories.
(more)
about 2 years ago
Edit Post #287318 Initial revision about 2 years ago
Answer A: How to redraw screen putting specific line at top without moving cursor
The best I've come up with since, when the line in question is often returned to, is to go mark the line you want up top with `mz` and the line you are working on with `mw`. Returning your workspace to order then becomes: `'z` `zt` `'w`.
(more)
about 2 years ago
Edit Post #287311 Initial revision about 2 years ago
Question How to redraw screen putting specific line at top without moving cursor
MWE ```txt 5 4 3 2 1 0 ``` Go to the end of the file: `G`. Question Using spacemacs, how do I put the line with `3` at the top of the screen without moving the cursor? With moving the cursor that would be: `3k` `zt` `G`. Notes I use relative line numbering which explains the or...
(more)
about 2 years ago
Edit Post #286932 Post edited:
Specify ex mode in problem statement
over 2 years ago
Edit Post #286932 Initial revision over 2 years ago
Question How to make selection and overwrite from register all from ex mode
MWE ```txt line 1 line 2 line 3 line 4 line 5 line 6 line 7 ``` 1. Go to "line 4": `/line 4` `ENT`. 2. Delete into register: `dd`. 3. Replace everything with register using only ex mode. (Non-ex equivalent: `gg` `V` `G` `p`.) ```txt line 4 ``` Problem I am uncertain how to proc...
(more)
over 2 years ago
Comment Post #286828 Ah! That is very helpful! Did you come to that from `man xclip` or experience?
(more)
over 2 years ago
Comment Post #286831 These are good clarifying questions. I do not have any real hard requirement, besides it working in a linux terminal. The less dependencies the solution comes with, the better. I was hoping for one that uses GNU coreutils, but there's no penalty to documenting other solutions. I am using Arch ...
(more)
over 2 years ago
Edit Post #286831 Post edited:
Fix typo
over 2 years ago
Edit Post #286831 Post edited:
Fix headers
over 2 years ago
Edit Post #286831 Initial revision over 2 years ago
Question How to copy files preserving one directory up
Have ```sh mkdir -p d1/d1sd1/ d2/d2sd1/ touch d1/d1sd1/f1.txt d2/d2sd1/f1.txt ``` ```sh . ├── d1 │   └── d1sd1 │   └── f1.txt └── d2 └── d2sd1 └── f1.txt 4 directories, 2 files ``` Want ```sh . ├── d1 │   └── d1sd1 │   └── f1.txt ├── d1sd1 │   └── f1.tx...
(more)
over 2 years ago
Edit Post #286779 Post edited:
Add edit
over 2 years ago
Edit Post #286828 Initial revision over 2 years ago
Question How to track down target atom for svg to pass to xclip
Background The xclip manual mentions use of targets: > -t, -target > specify a particular data format using the given target atom. With -o the special target atom name > "TARGETS" can be used to get a list of valid target atoms for this selection. For more info...
(more)
over 2 years ago
Edit Post #286824 Post edited:
Add Altair tag
over 2 years ago
Edit Post #286824 Post edited:
Fix title typo
over 2 years ago
Edit Post #286824 Post edited:
Separate actions
over 2 years ago
Edit Post #286824 Initial revision over 2 years ago
Question What in the HTML is preventing CutyCapt from capturing Altair output
Question I am using Altair to generate plots using python and pandas. What is preventing CutyCapt from capturing the plot in the html output? CutyCapt writes a blank png. MWE I am outputting the .html with: ```py import pandas as pd import numpy as np import altair as alt df = pd.Dat...
(more)
over 2 years ago
Comment Post #286806 Ah, that's unfortunate. Yes `mm` was more of an example, but good suggestion considering.
(more)
over 2 years ago
Edit Post #286805 Post edited:
Differentiate from git checkout
over 2 years ago
Edit Post #286805 Post edited:
Remove backticks from title
over 2 years ago
Edit Post #286805 Initial revision over 2 years ago
Question What is the magit equivalent of git switch branch?
What is the magit equivalent of `git switch branch`? I'm particularly interested in the situation where you cloned a repo, and want to checkout a remote branch locally. From the commandline that usually looks like: ```sh $ git clone repo $ cd repo $ git branch -a remotes/origin/branch ...
(more)
over 2 years ago
Edit Post #286767 Post edited:
Add spacemacs binding
over 2 years ago
Edit Post #286763 Post edited:
Fix typo
over 2 years ago
Comment Post #286767 Isn't it great?! I started naming most of my text files with the `.md` extension as a habit now. This usually comes with the nice benefit of unobtrusive syntax highlighting and features like being able to open links (`markdown-do`, `markdown-follow-thing-at-point`, `markdown-follow-link-at-point` all...
(more)
over 2 years ago
Comment Post #286781 Yes, I am looking for a GUI solution and mentioned Gimp in the post. I linked to the original inspiring post that shows exactly how this image was created, but it doesn't seem like pandas supports this sort of thing easily. What I'm missing is how I would create "marks" and put a line exactly in b...
(more)
over 2 years ago
Comment Post #286785 @#36377 this is a very clever solution. How did you figure out the coordinates? Was it trial and error? Because this is such a manual process, and the coordinates are figured outside of the program, I'm thinking a point and click solution might be best here, even though I'm usually averse to such...
(more)
over 2 years ago
Edit Post #286781 Initial revision over 2 years ago
Question How to add vertical line in the middle of two marks on image
Have This .png image of a plot: Busy Bar Graph Want To add vertcal lines between the groupings: `(0, 1, 2) LINE (3, 4, 5) LINE (6, 7, 8)` I want to place the lines exactly in the middle of the grouping boundaries. The solution I envision is marking (``) the vertical edges of the bars...
(more)
over 2 years ago
Edit Post #286779 Initial revision over 2 years ago
Question How to jump to original mark after overwriting
MWE In Vim: 1. `mm`. 2. `o ESC` 3. `mm` (by accident, meant `mn`). Question How do I jump to the original mark `m` set in action 1.? Edit I'm sorry, what I meant was you issue `mm` when you meant `'m`. (It almost happened to me again.) Both are legitimate.
(more)
over 2 years ago
Edit Post #286767 Initial revision over 2 years ago
Answer A: How to blockquote region in Emacs
In `markdown-mode`, `markdown-blockquote-region` does the trick! Bound to `SPC m x Q` or the shortcut `, x Q` in spacemacs.
(more)
over 2 years ago