Xcode 4 plugin development

As far as I know there is no official way to create Xcode 4 plugins (just like there wasn’t one for v3.x). Here is an openradar on Xcode’s lack of plugin support: Please support the ability for 3rd parties to extend Xcode via a public plugin API. Aperture, Visual Studio, Eclipse, TextMate and other applications … Read more

Difference between the maven-assembly-plugin, maven-jar-plugin and maven-shade-plugin?

maven-jar-plugin: This plugin provides the capability to build and sign JARs. But it just compiles the java files under src/main/java and src/main/resources/. It doesn’t include the dependencies JAR files. maven-assembly-plugin: This plugin extracts all dependency JARs into raw classes and groups them together. It can also be used to build an executable JAR by specifying … Read more

Eclipse Plugin Fragment

Eclipse -> File -> New… -> Fragment project -> set the host plugin (which is either in your workspace or in plugins in target platform). Open Plugin manifest editor (you can do it by clicking on build.properties, manifest.mf or fragment.xml – if there is no such a file, create it by hand) In tab Extentions … Read more

Does jQuery have a plugin to display a “message bar” like the Twitter “wrong password” bar at the top of screen?

You can do this with just a few lines of code, like this: ​​​​function topBar(​​​message) { $(“<div />”, { ‘class’: ‘topbar’, text: message }).hide().prependTo(“body”) .slideDown(‘fast’).delay(10000).slideUp(function() { $(this).remove(); }); } Then just give the class you use some styling, for example: .topbar { background: #990000; border-bottom: solid 2px #EEE; padding: 3px 0; text-align: center; color: white; … Read more

How to index a pdf file in Elasticsearch 5.0.0 with ingest-attachment plugin?

You need to make sure you have created your ingest pipeline with: PUT _ingest/pipeline/attachment { “description” : “Extract attachment information”, “processors” : [ { “attachment” : { “field” : “data”, “indexed_chars” : -1 } } ] } Then you can make a PUT not POST to your index using the pipeline you’ve created. PUT my_index/my_type/my_id?pipeline=attachment … Read more