I'd like to know about two things about SED format in iexpress.exe
Q1: How to setup folder as datasource in SED format?
Q2: Where is exist an official documentation about this format?
You can’t add an entire folder via IExpress; you can only add individual files. And each file to be added must be specified.
I don’t believe there are any extant, public, official docs from Microsoft on the SED file options. The best I’ve seen so far is this website:
http://www.mdgx.com/INF_web/cdfinfo.htm
But as you can see, it’s not very detailed either.
Related
So I did a quick google search and everything I've found has simply mentioned how to setup the basic dotnet watch command. I have this working however I'm wondering if there is some way to have it watch more than just files with the .cs extension..
For instance when I make a configuration change to a .json file. I can't seem to find any documentation about this at all..
Thanks #Hans Passant for leading me to the answer.
For anyone else that lands here, the answer is documented here: https://github.com/aspnet/DotNetTools/blob/release/2.1/src/dotnet-watch/README.md
For my case adding something like the following node to my .csproj should do the trick.
<Watch Include="**\*.json" Exclude="node_modules\**\*.json;$(DefaultExcludes)" />
I cloned sylius/sylius. Everything runs fine so far.
But I have no clue, nor found in the docs, how i can install a translation for sylius.
At the moment there are only the keys visible in by Admin-Backend.
Any hint?
There are few ways how to solve your issue:
the right way
First all translations (except english) are done on crowdin
https://crowdin.com/project/sylius
Look there if your language is missing some translations and translate the missing strings.
These translated strings are merged to master every week, as of yesterday.
So when they will be merged just update your sylius installation with 'composer update'
the possible but not so great way
Another option, if you don't / can't wait. Copy the translation files inside your app/Resources//translations folder.
Add missing translations directly in the yaml files.
The keys for translation strings you can see in the debug panel, or by listing them with console command ...
These translation files are following standard way how symfony translates, strings, so for more information how to override translation you can look here
http://symfony.com/doc/current/book/translation.html
Please see answers and comments on https://stackoverflow.com/a/21989633/487878 . It will also lead you to https://github.com/Sylius/Sylius/issues/133, https://github.com/Sylius/Sylius/issues/794, https://github.com/Sylius/Sylius/issues/1080 . As I have not worked on Sylius translation I am not sure, but my belief is that you can copy the yml and keep on the app/Resources/translations as symfony is the underlying system. Good luck with your research.
I've being using JSLint for some time now and recently found JSHint. Reading the docs I learned that it can be configured using a .jshintrc file but I could not found if it's possible to generate this file using the CLI.
Is there a flag in the CLI to generate such file (preferably with all the options set) or another tool that allows me to do that?
Not really going to answer your question but I found the JShint I use on some article about code style guides, in a free HTML eBook SpeakingJS - Style guide.
They talk about Google's guideline, AirBNB's guideline, jQuery's guideline, and others, most of the time those links provide its a ready to use jshint file ... may be this could help you :).
If you want to generate your own JSHint, I don't know if you are familiar with Yeoman but this project is exactly what you re looking for : https://github.com/losingkeys/generator-jshint
After generating it, any text editor can be used to edit such a simple file.
In my Qt application we can open a help file (chm) by doing the following:
QDesktopServices::openUrl(QUrl::fromLocalFile(_PathToTheCHMFile));
This seems to be the suggested way of doing things. And it has worked up until now.
However, the documentation team has now changed how the chm files work. Now we are referencing a "master" file which only contains references to other chm files. The directory structure of the chm files is as follows:
master.chm
SUBDIR/
-> child1.chm
-> child2.chm
...
If open the master.chm file with hh.exe (the default tool in windows), everything looks perfect. However, from my Qt application, the help file opens, but there are no sub topics, just the root node.
I assume this is a search path issue, and it can't resolve the relative paths. There doesn't seem to be any way to configure the openURL call to run from a certain directory, or anything like that.
Thanks in advance
If you need to be able to access those elements properly, then you may need to change your applications current directory on the fly.
http://qt-project.org/doc/qt-4.8/qdir.html#details
http://qt-project.org/doc/qt-4.8/qdir.html#setCurrent
If that doesn't work, you may want to look into using QProcess::startDetached
http://qt-project.org/doc/qt-4.8/qprocess.html#startDetached
and specifying the working directory to be exactly where your master.chm is located.
You may want to specify some command-line arguments, too.
http://www.help-info.de/en/Help_Info_HTMLHelp/hh_command.htm
Hope that helps.
How would I go about having a CMake buildsystem, which scans for source files now using AUX_SOURCE_DIRECTORY, scan for header files too in the same directory, preferably using a similar command?
I didn't find an easy way to do this in the documentation yet, so I now have a crappy bash script to post-process my (CodeBlocks) project file...
You can use the file(GLOB ... ) command. For example:
set(dir my_search_dir)
file (GLOB headers "${dir}/*.h")
message("My headers: " ${headers})
This command can also recurse, and list your files relative to a given path. See the "file" command entry in the cmake doc.
The documentation to AUX_SOURCE_DIRECTORY suggests that it was not intended to be used that way, so I'd rather doubt that what you're asking is possible. If you want an authoritative answer, you can reach the CMake developers at cmake#cmake.org (they're actually very nice to deal with).
I'd recommend strongly against using wildcards to specify what is included in the build. The build files should specify the exact contents of the libraries, and not depend on what happens to exist in the directory. It may be cumbersome at first (if you're used to wildcards, or IDE's which works the same way), but when you get used to it, you don't want to have it any other way.