Which editor can align tables in reStructuredText for Sphinx? [closed] - emacs

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I tried several editors to write reStructuredText for Sphinx documentation, but found none with a comprehensive support of the reST capabilities.
Which editor can align tables while typing?
The Emacs combination rest-mode + table-mode for example has many bugs and does not support Sphinx tables with = like:
+--------+--------+
| Letter | Number |
| (any) | (>1) |
+========+========+
| a | 9 |
+--------+--------+
| c | 3 |
+--------+--------+
There is a similar question, but mine aims on an editor that also can manage = in tables.

With Vim and the Unicode-RST-Tables plugin you can do this without issue.
In vim one assigns a that usually is at the defaul "\". I will assume that is the case here. Once you have installed Unicode-RST-Tables it is a matter of:
\\c to create the table and whenever you have changed the content issuing \\f to rearrange the table.

Related

How to style pills in a Word document? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
In an MS Word document, how can I style text into pills, for example like the Bootstrap pills or in the image below?
Doesn't have to be exactly like this, just something similar.
I can highlight a word but it is very limited.
Apologies if this is off topic. I could find a better location.
Additionally, I would rather keep the elements within the flow of the page, so that it can scraped correctly by CV scanners.
I.E. I don't want to insert a load of floating textboxes.
Use a combination of range.border and font properties
Option Explicit
Public Sub MakePill(ByVal ipRange As Word.Range)
' Ensure a space before and after the text in the range
myRange.InsertBefore Text:=" "
ipRange.InsertAfter Text:=" "
myRange.Borders.Enable = True
myRange.Font.Shading.BackgroundPatternColor = wdColorAqua
End Sub

Collect Senders Email Addresses From Specific Folder At Thunderbird [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
as my title mentioned I am searching for a solution to get all email addresses that I have received from people and saved inside a certain folder in my Thunderbird.
I need them for marketing purposes, because those email addresses belong to people I have done business with.
Thanks for help.
Best
RS
You can use Message Filter in order to organize your messages.
Read this article: https://support.mozilla.org/en-US/kb/organize-your-messages-using-filters
Updated:
Select all the emails in that folder and saved them on a directory as a *.eml file format.
In the terminal: cd /path/to/eml/directory Then run:
find . -type f -exec cat {} \; | nl | grep "From" | grep -o '[[:alnum:]+\.\_\-]*#[[:alnum:]+\.\_\-]*' | uniq -ui | sort > collected-emails.csv
Now, All the collected emails will be saved in collected-emails.csv

How do I extract the first x lines from a large CSV file? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Improve this question
How do I extract the first 100,000 lines from a large CSV file (1GB+) using only Powershell on a Windows machine?
Not sure why the below answer was marked as not helpful when it answers the question.
-TotalCount<Int64>
Gets the specified number of lines from the beginning of a file or other item. The default is -1 (all lines).
You can use the "TotalCount" parameter name or its aliases, "First" or "Head".
The performance of the command can be improved by
Get-Content -TotalCount 100000 -ReadCount 0 filename.csv
Get-Content -TotalCount 100000 filename.csv

syntax aware diff tools? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Are there any (ideally GUI) diff tools that are aware of syntax?
As an example of the kind of thing I'm looking for, I keep finding that my current tool miss aligns repetitive code:
Foo = { 'hello': 'world', | Foo = { 'hello': 'world',
'goodnight': 'moon' | 'goodnight': 'moon'
} <
<
Bar = { 'picture': 1000, <
} | }
I'd like a tool that would try and make matching braces on one side align with matching braces on the other.
Edit: I'm looking for a tool that can automatically spot that condition and correct it's alignment.
Not GUI based, but completely syntax driven: my company's Smart Differencer tools for many langauges (incluiding Java, C#, C++, PHP, Python, JavaScript, HTML, XML, COBOL,...)
The Smart Differencer parses the source text like the compiler, so it understands that language syntax and structures the way the compiler does. It compares these structures (using ASTs) to determine the "least edit distance" in terms of edit actions (move, copy, delete, replace, rename-identifier-in-block) on these structures and report them.
In your example, it would know the curly brace on the right belongs to foo, not bar, and would tell you that the entire statement involving bar was simply deleted.
The output style is diff-like if you want to feed the result to another tool, or more human readable if you want to examine it directly.
Beyond Compare will let you realign lines that it mismatches. I generally have good luck with it matching lines properly.
I think Beyond Compare has what you are looking for
http://www.scootersoftware.com/index.php
I like Source Gear's DiffMerge.
The Pretty Diff tool is syntax aware automatically. The process it uses is to minify code in order to remove comments and then beautify the code so as to normalize formatting and white space. It only supports a few web client-side languages though. This tool works on the client side so you can test it out in your browser and there is a sample page containing some demos.

File compare tool with combined file view feature [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for a file compare tool with a "combined file" view. To me, this makes the best use of screenspace because unchanged lines are only shown once and also I don't have to move my eyes much to move from "before" to "after". The screenshot below shows what I mean - the blue and red text show the differences, the black text on white background is the unchanged portion of the file.
I checked Beyond Compare and WinMerge and CompareIt from the master list, but they don't have this feature (unless I'm missing it?). MKS Visual Difference has "combined file" view, but you can only get that as part of an expensive toolkit of 400 programs. I'm looking for a cheaper option. I'd like a GUI not a command-line tool, and I like to be able to view all the unchanged lines not just some of them.
alt text http://img186.imageshack.us/img186/9503/visualdifference2.png
I've never tried it, but Guiffy is a cross platform diff/merge tool. It has a 3-way merge view and is reasonably priced. Here's a screenshot of 3-way merge.
EDIT (MarkJ) 3-way merge wasn't what I was looking for, but the Guiffy "together view" looks great! I found a screenshot of that:
alt text http://img41.imageshack.us/img41/4558/guiffytogether.png
Of course there is diff -u which will produce output very close to what you describe.
$ diff -10 -u 1 2
--- 1 2009-08-19 12:48:12.847750000 +0200
+++ 2 2009-08-19 12:48:50.925875000 +0200
## -1,13 +1,13 ##
Dim bOk As Integer
Select Case Col
Case giCOL_OPTPOLNAME
- Value = gParamRecOpt.PolName(Row)
+ Value = Trim$(gParamRecOpt.PolName(Row))
Case giCOL_OPTINCLUDE
Value = Format$(gParamRecOpt.Include(Row))
Case giCOL_OPTSHORTLONG
Value = Format$(gParamRecOpt.Include(Row))
$
You can get the diff program for free (GPL) as part of cygwin.