Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'd like to store text in a file and work on it with vim. It would be something very simple, like a .txt on Windows. But I'd like to get basic syntax highlighting. Which file extension and syntax should I use?
VIM understands reStructuredText, Markup, and other notations for writing structured text using plain UTF-8 (one would have said "ASCII" a while ago).
I find that plain-text structured documentation is perfect for my work, besides it being a requirement for sites like GitHub, Bitbucket, or PyPi, and the trend in in doc-comments.
I am using the Vim Outliner plugin, which is handy to create short list with sections. The default style has different colours for different levels.
Related
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 8 years ago.
Improve this question
I have this file, and I have absolutely no idea what kind of file it is.
When I open it in Notepad++ it reads as
ð X döS
or
(source: gyazo.com)
How can I figure out what language this is?
Looks like that http://patch.us.wizard101.com:12500/ returns some sort of patch file for a game client. Chances are there is some api calls you are missing that tell the server what file to generate and return. But since only game clients need to directly call that file I would delete it and chalk it up to a broken client.
Either that or the site's download handler is broken and is giving a garbage file.
There's no clear answer, because you can't really. You can do some research on the encoding, or see if you can piece it together depending on the file's origin.
This program will test against common file types to see if it can be opened with success: http://download.cnet.com/TrlD-File-Identifier-for-NET/3000-2248_4-10442461.html
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Would it be technically possible to build a pdf splitter on appengine or is there some part of it that couldn't be done? I was thinking of a function where you just upload the pdf file, choose which pages you want and the output is e.g. one chapter from a book and this can be done online. I think it can be a good service but I don't know whether it is technically feasible or whether the best choice first this would be Java, Python, PHP or Go?
I cannot see why not. Splitting a PDF should be possible in all 4 languages so it's up to you what you pick. I know that Python performs faster than Java. PHP doesn't sound like a good fit for me and Go isn't that widely used.
I'd go with Python. There is also a Python library that allows you to split a PDF.
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 8 years ago.
Improve this question
I am trying to export a Illustrator design into a Layerd Photoshop PSD file. But its getting exported as a flat image. i have selected the following options while exporting.
But when i get the file in the Photoshop i am getting only one layer.
Is there any particular way to stack the content in AI file to export it ?
Check if your original file in Illustrator is in RGB mode as well. Simply go to File > Document color mode. If it is in CMYK, it won't export layers.
I'm using PS CC2014.
It's as simple as using (in Photoshop) the Open As command in the File menu. This opens the .AI file in PS ass a layered file. You can then save and edit as needed.
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 8 years ago.
Improve this question
I was wondering if there was anyway to effectively write out in a readable formate the file structure of a drive. So what I mean by this is if it can write out a result simmilar to...
C:/
File here
Another file here
Sub file here
Another file here
So sorta like that. I don't know what it is called but if there is something that does that then that would be great!! Even better if it was possable to do in batch (dosnt matter either way tho) Thanks :)
Open the command prompt in windows. Write:
tree
if you want options write tree /?
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I just had a quick question about downloading files. I was reading this page:
http://groovy.codehaus.org/Simple+file+download+from+URL
Can someone explain what the difference is between the two ways explained on that page? (Aside from overriding the leftshift operator) Is there any significance for doing it one way or the other?
The former method is far cleaner and is what you would do in most cases.
The second is effectively enhancing the File object within the use closure. I can't see where it would be useful in this context, but say in your code you were often putting content from urls into files, or you had a dsl where you wanted to allow for that functionality, you could use categories to extend the file object.
Personally, I see the example as really just showing (a rather impractical) use for categories.