Does someone knows a script to convert a file containing text formatted using the dokuwiki syntax to a text formatted using the wikimedia syntax?
I don't know any of them, but (apparently, I have not used it) with this you can convert a docuwiki document in Markdown, and thus with Pandoc you can convert it in Mediawiki syntax.
Related
I need to programmatically find the fragments that are called by each rtftemplate.
So, for example in the figure, I would need to get the "GlossaryTermsAcronyms" fragment for the H2_terms_acronyms template.
I can't seem to find any query or script solution to do this. But this should be possible, right?
Unfortunately that is (almost) impossible.
The information is stored in the t_documents.bincontent column. It is binary encoded RTF.
Somewhere in that RTF there should be a reference to the templates fragments that are used.
If you can figure out how to decode the bincontent to get to the actual RTF code of your template, you might have a chance.
Binary fields in EA are usually stored as a zipped text file.
In case the field is included in an xml file (or xml string in the database), it will be base64 encoded.
Textmate grammar (.tmLanguage files) are sometimes expressed in XML format.
I would like to convert to a more readable format (i.e. JSON or YAML) to integrate in a VS Code Syntax Highlighting Extension.
To clarify what I mean, here are a few examples:
XML format
YAML format (equivalent to the previous one)
JSON format
I could write a script in Python to do that but it would save me some time if such converter already exists.
Thanks
The TextMate Languages extension has some commands built-in for this. Screenshot from the readme:
i want to create an own emoji-keyboard for an universal app. I need this for the reason of usage on desktop.
So i searched a lot but didnt found something helpfull. I want to show up all possible Emojis.
But i dont really want to use a file or something where i have to manage all the unicodes of the emojis - i want something like an Enumeration (like Symbols in c#)
Is there something like that? I also searched for a method of listing all keys of a font or something what would help.
You can find all official unicode characters in the latest database from unicode.org (http://www.unicode.org/Public/UCD/latest/ucd/). The file UnicodeData.txt contains all unicode characters including their names and properties.
Unfortunately, the file is not an c++ or c# enumeration but only a text file, so you have to write your own parser for this (but the file format can be easily parsed and is documented).
Emacs offers the ability to use the MIME standard text/enriched for writing enriched text. What is the canonical file name extension for this format. Emacs seems to think it's .doc (see $EMACSDIR/24.1/etc/enriched.doc), but this could be confused with the more common Microsoft Word .doc format. Is there an alternative?
(I know it's not .rtf, which is a format different from both Microsoft's .doc and MIME's text/enriched formats)
EDIT:
It seems that .etf and .txte are some accepted extensions for this file type.
text/enriched is also known as Enriched Text Format or .etf.
http://users.starpower.net/ksimler/eudora/etf.html
http://filext.com/file-extension/ETF
Due to its intended use as an inline mail format, I don't think there is a standard file extension for it. .txte seems to be another extension that is used for it though, which does not clash with other well-known formats.
I'm having trouble with a .csv export which is being uploaded to a website. There are must be some hidden or illegal characters in a description field I have in the database. I'm having a tough time getting the text to format correctly and not break a php script.
If I use the GetAs(css) function in a calculation, the text works fine. Obviously this won't work as a working file but it at least validates there's something in the formatting of the description field that's breaking the export. I did use the excel clean(text) calculation and that fixes the issue as well. Just need to find a way in Filemaker to do this.
Any suggestions?? Maybe a custom function that strips out bad characters?
You can filter invalid characters out of text using the filter function. If you only want a minimal set of ASCII characters, use it like
filter(mytable::myfield; "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789.!?")