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 Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for Trevor‭

Type On... Excerpt Status Date
Edit Post #293085 Initial revision 12 days ago
Question how to save the line number of a double-clicked line in tmux
In tmux I have the following command in my `.tmux.conf`, which will save a double-clicked line to the file `/tmp/tmuxline.txt`: ```tmux bind-key -n DoubleClick1Pane select-pane \; copy-mode -M \; send-keys -X select-line \; send-keys -X copy-pipe-and-cancel "cat > /tmp/tmuxline.txt" ``` Is there ...
(more)
12 days ago
Edit Post #293072 Initial revision 16 days ago
Question how do I get markdown to render # as a shell prompt and not a comment?
Note: This is a general question about Markdown formatting for any Markdown renderer (e.g., Gitlab, Github, Codidact). So this is not just a question about Codidact's renderer. When displaying shell commands in Markdown, I often want to use the hash sign (`#`) to indicate that I am running the com...
(more)
16 days ago
Edit Post #292973 Post edited:
about 1 month ago
Edit Post #292973 Initial revision about 1 month ago
Question empty line in table cell in reStructuredText (rst)
I would like to have an empty line in the cell of a table in reStructuredText. Consider the following example: ``` .. list-table:: :header-rows: 1 - aaa - bbb - ccc - ddd eee ``` Which produces this table: original rst table But I would like there to be an em...
(more)
about 1 month ago
Comment Post #291820 Yeah this community might not be a perfect fit for this question, but it was the closest I could find out of all the Codidact & TopAnswers communities (I'm trying to avoid StackExchange). Since ffmpeg is multi-platform, I figured Linux wasn't the right community.
(more)
6 months ago
Edit Post #291820 Post edited:
6 months ago
Edit Post #291820 Initial revision 6 months ago
Question ffmpeg - concatenating identical audio-only files results in "non-montonic DTS" warning
I am trying to join some video files and have an issue. I have boiled down the problem to the following minimal working example. I create a 2-second mp4 with a silent audio stream: ``` $ ffmpeg -f lavfi -i anullsrc -c:a aac -t 2 a.mp4 ``` I then create a file containing the file names to be con...
(more)
6 months ago
Comment Post #287851 Thank you for the suggestion
(more)
almost 2 years ago
Edit Post #287851 Post edited:
almost 2 years ago
Edit Post #287851 Initial revision almost 2 years ago
Question How to define an object with different subclasses in an if-statement?
Note: I asked this question on TopAnswers a couple weeks ago, but didn't get any response, so I figured I'd ask it here. I am currently learning C++. I have a parent class (Vehicle) and two subclasses (Car and Boat). I am wondering how to create an object that will either be Car or Boat, depen...
(more)
almost 2 years ago
Edit Post #286959 Post edited:
over 2 years ago
Edit Post #286959 Initial revision over 2 years ago
Answer A: ffmpeg: apply a filter from a start time to the end of the video
I think I found a solution myself. Instead of using the `between()` function, you can use the `gte()` (greater than or equal to) function. So the command above would be: ``` ffmpeg -i video.mp4 -vf "yadif:enable='gte(t,30)'" output.mp4 ``` I discovered this command by looking through the FFmpeg U...
(more)
over 2 years ago
Edit Post #286958 Initial revision over 2 years ago
Question ffmpeg: apply a filter from a start time to the end of the video
I'm using ffmpeg to apply a filter in between two time points. I am using the `between()` operator to specify the times. For example, to apply the yadif filter between 30 and 90 seconds I run: ``` ffmpeg -i video.mp4 -vf "yadif:enable='between(t,30,90)'" output.mp4 ``` However, I want to specif...
(more)
over 2 years ago
Edit Post #286570 Post edited:
made first sentence a little more specific
over 2 years ago
Edit Post #286570 Initial revision over 2 years ago
Question Vim: how to search for all instances of a string, except for those that are between two specific strings
Using Vim, I am trying to search for all instances of a specific string, except for those that fall somewhere in between two other specific strings. For example, I want to determine all instances of `bird`, except for those that fall somewhere between `abc` and `xyz`. So in the text below, a succe...
(more)
over 2 years ago