How to uninstall feature without Feature.xml file? - sharepoint

I have feature which is not correctly installed on my website.
How can I uninstall it without Feature.xml file and without feature id?

Rather not. :D
The answer is here:
http://www.gilham.org/Blog/Lists/Posts/Post.aspx?List=aab85845-88d2-4091-8088-a6bbce0a4304&ID=229
Firstly run the WssAnalyzeFeatures tool.
Next it will produce output file named: ContentDeploymentFeatures.txt.
Take appropriate feature id and run stsadm commands: deactivate and uninstall feature with id and force option.
And it's done! :D

There WssAnalizyFeatures and FeatureCleaner that might help you out.

Related

Remove scsslint_tmp files generating automatically?

I am using WebStorm with JSLint, JSHint and some files are generating automatically in the same source directory with filename_scsslint_tmpXXXXXXX.
Can anyone please tell me how can remove this functionality and what is the use of it?
Please submit this to scss-lint-plugin vendor, https://github.com/idok/scss-lint-plugin/issues.
see also https://github.com/idok/scss-lint-plugin/issues/45

Force cabal test to show details by default

Every time I run cabal test I pass the --show-details=always argument to get more informations on the tests, in particular for small programs. I'm wondering if there is a way to set show-details to always in the cabal file. I searched on the documentation but I didn't find it. What I have to set and where is the documentation about this?
Looking at the source, I see that TestFlags are not saved in ~/.cabal/config, so currently you can only set them on the command-line. Please open a new issue on the bug tracker.

How can I include a revision of a file in a Change Package after it was checked in

This happens occasionally in some projects I'm involved in that are using MKS as version control tool. A file is checked-out, modified and then checked-in but it was forgotten to be included in the related Change Package.
Is there a way to achieve this after the fact?
Thanks.
Delete revision (yes, the command exists), and then check in again, this time tied to the CP. Make sure you preserve the working file in the meantime.
If you've new revisions on top of it, you're out of luck.
I don't think that what SzG said really exists ( if so, I'd like to know too :) )
Once any operation is done without a CP, that operation can't be associated to a CP.
A solution for the future would be, to make using the CP mandatory in the project setup.

Tutorial/Guide to create a classic, small Linux application in a package (Debian)

I've made a small script in my machine, and an alias in .bashrc that calls it. It's a bash script with 3 lines, but it can grow.
Now, some people in my team found it useful, and want to use it.
Instead of saying "copy this alias, do this, do that, install that lib" I was thinking about creating a simple package to be a little more professional. Fact is, I've never done something like this before. And the problem to me is not creating a package, is trying to decide what usually do you put in a package.
Suppose I want to take my script, and create myapplication. I want to create a .deb file that my team would install and:
Have a /usr/bin/myapplication or /usr/sbin/myapplication (what's the difference between them?), so they would just call myapplication at their terminal and it would work;
Have a man page; (Where are usually located man pages in a debian system?);
Have a possibility to read a .myapplicationrc in home folder with some configurations;
Have an entry for shortcuts in a gnome installation (is it possible to have an universal shortcut "format" that's is available to KDE and Gnome as well?);
Install dependencies.
I'm new to all that stuff. I usually code simple scripts and create an alias in my bashrc. I've never done a package before. Which guides do you know of that can help me accomplish what I thinking of above?
Here is a place to start, though I welcome a more succinct answer.
I couldn't find a complete guide. I think the best thing to do is download a package that does exactly what I'm thinking of and do some reading, like taskwarrior.

How to copy folder from within a zip using NSIS?

I'm using NSIS to write an installer. I'd like to copy the 'lib' directory contained in a zip. Is it possible to specify that the contents of sampleZip.zip/lib is copied to, say $INSTDIR\lib?
The basic idea of what I want is this, though it obviously doesn't work:
File /r sampleZip.zip\lib\*
Any ideas on how this can be done?
NSIS does not have native support for this, you need to use one of the unzip plugins: NsUnzip, Nsisunz or ZipDLL
Rather than install the plugin, I just copied the libraries I needed using the plugin described at this answer force Maven2 to copy dependencies into target/lib.
Since I was the one building the zip file I wanted to access, I felt this way would be more reliable.
Thanks for the suggestions.

Resources