ZEND Guard changes filename capitalization - zend-guard

I use Zend Guard 5.0.1 and I've just noticed that it changes the capitalization of files that it is excluding (Copy as is). Since my filenames are case-sensitive this must have just changed as nothing works now, but I don't know how.
I use Obfuscation for Variables and Functions (not Classes).
I have tried to delete and create the project from scratch as there are other projects which don't just capitalization.
Does anyone have any clues?
Thanks
Adrian

Try to use command-line tools (zendenc52/zendenc53) from your Zend Guard. They do not mess filename capitalization.

Related

Can I use Sorbet without sig in source code?

I would like to use Sorbet in my Ruby projects at work. As I want to make the process as smooth as possible, I'd like to know if it is possible to add static type checking only using RBI files in sorbet folder.
The idea is to avoid adding signatures to the source code, so my colleagues do not complain, then adding signatures in RBI on the side. This way I can start typing and benefiting in my local environment until it is advanced enough.
Thanks
Yes, it's possible for static checking but not for runtime checking. But I think it's enough for your use case

Is it possible to use live-templates as file templates?

In the intellij products I'm very fond of the live-templates. I wonder if it is possible to use the same syntax for file templates, e.g. formatting a variable to snake- or camel-camese, defining a starting cursor position and so on.
Unfortunately you cannot use the same functions/macros available in Live Templates in File Templates.
File Templates use Apache Velocity template language. It allows some Java(?) simple methods to be run on variables (e.g. #set($class_start = $class.substring(0,1).toUpperCase())). Quite possible that more complex methods will work as well.
UPDATE (2017/01/13):
As of 2016.1 (or perhaps 2016.2) version it's now possible to use some Live Templates in File Templates as well (by checking Enable Live Templates checkbox for that File template). I'm not 100% sure if it will do the requested here thing (not tested myself).
Syntax example: #[[ $MY_VARIABLE$ $END$ ]]#
https://www.jetbrains.com/help/phpstorm/2016.3/file-and-code-templates-2.html

SQL filetype commands not working in vim (filetype detected correctly)

There are various features fo the SQL filetype plugin mentioned in this helpfile that do not seem to work for me. I have installed the following files in to the correct places (all called sql.vim)
syntax - http://www.vim.org/scripts/script.php?script_id=498
ftplugin - http://www.vim.org/scripts/script.php?script_id=454
Was this even necessary? The syntax highlighting is now correct, but should something that is in the help files by default require downloading plugins?
Anyway, for example, the functions [[,]],[] and ][ do not work as described, and :SQLSetType is not a recognised command. Do I need to do more to enable these?
Thank you in advance for any help
The SQL syntax and filetype plugins by David Fishburn are indeed distributed with the Vim runtime; you only need to install them into your ~/.vim/ directory if you want a newer version than what is delivered by your current Vim version. (So usually, no.)
If the syntax is working but the filetype definitions aren't, you're likely missing
:filetype plugin indent on
in your ~/.vimrc. You can check the :scriptnames output and with :verbose nmap ]].

C#, Gendarme, Sonar and Jenkins : Exclude generated files from Gendarme

I'm working with gendarme for .net called by Sonar (launched by Jenkins).
I've a lot of AvoidVisibleFieldsRule violations. The main violations are found in the generated files. As I can't do anything on it, i would like to exclude *.designer.cs from the scan.
I can't find a way to do that. There is a properties in Sonar to exclude generated files but it doesn't seem to be applied for gendarme.
Is there a way to do such a thing ?
Thanks for all
Gendarme expects you provide an ignore list,
http://www.mono-project.com/Gendarme.FAQ
https://github.com/mono/mono-tools/blob/master/gendarme/self-test.ignore
The ignore file format is bit of weird, but you can learn it by experiments.
Indeed that is actually not normal at all. Generated code is excluded by the plugin with the standard configuration. What version of the C# plugins are you using ?
Anyway, the configuration property you can try is "sonar.exclusions" (see http://docs.codehaus.org/display/SONAR/Advanced+parameters).
If you do not solve your problem right away, the best thing would be to drop a mail to the user mailing list (see http://www.sonarsource.org/support/support/) and send the verbose output of your build. To get this output simply add "-X" to the command line.
Hope it helps

Which folders can FCKEditor run without?

We have FCKeditor in one of our projects, but we are striving for a stream-lined build process. I've noticed there seems to be a lot of bloat within the FCKEditor (images, HTML files, language.js files etc.) which are probably not used. Does anyone know which folders/files can be removed without affecting its functionality?
You can remove unnecessary connectors - for example, I removed connectors for php, perl, lasso etc (I used ASP .NET). You can find connectors on editor/filemanager/connectors/
You can remove _sample directory too.
If multilingual support is unnecessary, you can remove unnecessary languages from editor/lang
In addition to Amber's points you can remove all the plugins you don't want. Many, if not most are off by default.