w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Sandboxed Mac App with helper command line tool
I just had this problem and was able to solve it by signing the app myself using codesign in Terminal. Here is how you do it: codesign --entitlements path/to/.entitlementsFile -s "3rd Party Mac Developer Application: Your Company (or whatever the name of your certificate is in your keychain)" ./TheNameOfTheTool Hope that helps!

Categories : Osx

Jetbrains Compare Tool as a Standalone tool
You can't use the one from TeamCity, but diff from IDEA can be used from the command line as described in the documentation. If you are looking for the similar cross platform tool implemented in Java, try SmartSynchronize.

Categories : Intellij Idea

need a way to securely communicate between Priviliged Helper Tool (installed using SMJobBless) and the application
As you've said that you're not signing the second app, I believe that that is the problem that is allowing a 2nd app from calling the helper application. From the Apple docs and specifically the ReadMe file in SMJobBless, it states: - The Service Management framework uses code signatures to ensure that the helper tool is the one expected to be run by the main application This document should be able to assist you in getting the helper app correctly associated with its owner. Note that it references a python script, which is provided here.

Categories : Objective C

Way to install PDFlib text extraction tool
python comes with own package manager called pip. Try pip install pypdflib in the command line. Another approach is to use ubuntu package manager - apt-get, aptitude, synaptic, etc... Check if the package in ubuntu repositories: apt-cache search python pdflib and if such entry found, issue: apt-get install "package name here"

Categories : Python

Can Maven install my plugin as a system tool?
You could distribute a shell script, using Maven, but there would be no mechanism to make it executable. My suggested work-around on unix systems would be an alias: alias ivy='java -jar $HOME/.m2/repository/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar $*' enabling you to execute the jar as follows: $ ivy -version Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/

Categories : Maven

Can't run app after update Android SDK Tool
Here is a bunch of solutions available in this post. Can no longer launch apps after upgrding to android sdk tools 20/platform sdk tools 12 Unfortunately, the proposed solution is uninstalling and re-install is the best option chosen by the user in order to run your business

Categories : Android

Is there a way (or tool) to update the iOS simulator in realtime?
You could take a look at Injection For Xcode.It is a Xcode plugin.After installing this plugin, you can modify source code, inject it into runtime, and see the change without restarting app.

Categories : IOS

Apache Ant is not available in Glassfish update tool
I added a new image with the contrib sources found on this page: http://docs.oracle.com/cd/E26576_01/doc.312/e24928/extending-updating.htm Ant was now available in the update tool

Categories : Apache

Java's XJC like tool in Python
You can try PyXB: http://pyxb.sourceforge.net PyXB (“pixbee”) is a pure Python package that generates Python source code for classes that correspond to data structures defined by XMLSchema.

Categories : Python

Tool for i18n with ResourceBundle in Java
If you manage your project with build management system like maven, you can use the i18n-maven-plugin to handle internationalization and localization easily.

Categories : Java

Confusion about java native2ascii tool
You can work with properties files with french and other characters. Properties accepts uxxxx sequences. You can work with national characters directly since Properties has load(Reader reader) method. Then the file can be in any encoding, you will provide the reader that decodes the file correctly, eg new InputStreamReader(new FileInputStream(1.properities), Charset.forName("ISO-8859-1")); I also agree that native2ascii should not convert é because it's a legal latin-1 char and docs says latin-1 chars are not converted.

Categories : Java

Java Tool for SUMO upper Ontology
Yes. There is an open-source project, Sigma Knowledge Engineering Environment, the code is in Java and can be downloaded from here: http://sourceforge.net/projects/sigmakee/files/

Categories : Java

Weka GUI tool output in a Java snippet
There is definitely a way to do it using the Weka API in a java program. You just add a reference to the weka.jar file and establish the right object then explore the API to find the necessary methods. Have a look here to get started with it. IMO I would go the API route just because command line seems rather hackish.. http://weka.wikispaces.com/Use+Weka+in+your+Java+code

Categories : Machine Learning

com.itextpdf.tool.xml.exceptions.RuntimeWorkerException in Java
The problem is that you have invalid html. Try converting it using the HTMLWorker class

Categories : Java

GUI tool issues with older java project
Does anyone know what I'm missing or what I could do? Learn how to write a Swing GUI. For that, see Creating a GUI With JFC/Swing.

Categories : Java

Decode Java String in Command Line Tool
You uxxxx is not URL format, it's Java format. You can use Properties.load which decodes these sequences String s1 = "Gesch\u00E4ft"; Properties props= new Properties(); props.load(new StringReader(s1)); String s2 = (String)props.keySet().iterator().next();

Categories : Java

Auto deployment java (daemon or web) application tool
I suggesst to use Maven for that. You can specify a plugin for each of the tasks and bind the plugins to a certaains build phase. For SSH upload use maven-deploy-plugin To run the script use sql-maven-plugin Copy files may be done with resource or assembly plugin. That depends on your needs The easisest way to edit conf file is to replace it. But if it's not an option, then use maven-replacer-plugin to replace entries in a config file by regexp

Categories : Java

Can web service testing done using SOAPUI tool be done in Java completely?
You can create client and pass in HTTP Request test request populated with needed parameter for testing purpose, below mention question has some useful insights. Java Web service testing

Categories : Java

Is there a simple project build/dependency management tool for Java projects?
I would use pure maven or gradle, as it is easier to create build scripts, but would steer away from ant. Ivy is an underused dependency management solution, and I personally have only cursory experience (as in building artifacts but not managing them) and I have never maintained an ivy build, but seems pretty straightforward. One thing to consider is availability of plugins and readily built artifacts(which is proportional to popularity) and maven is the clear leader. So, my recommendation would be pure maven or gradle. Edit: In recent years it has become modern for some repo owners to maintain both an ivy and a maven build to increase their code's exposure. If you were to do that, gradle would be simpler as it provides a nice abstraction on top of the nitty gritty maven/ivy stuff, onc

Categories : Java

IDE, Framework, code manager tool, thing that supports Java and C++ in one Project
CMake is just a build tool. You can use any IDE you like to write the code and then use a different tool to build it. Eclipse supports both Java and C++, but I wouldn't recommend it for either.

Categories : Java

Is there a standard library/API/tool for implementing basic "rule chains" in Java?
Well, I'd use Commons Chain A popular technique for organizing the execution of complex processing flows is the "Chain of Responsibility" pattern, as described (among many other places) in the classic "Gang of Four" design patterns book. Although the fundamental API contracts required to implement this design patten are extremely simple, it is useful to have a base API that facilitates using the pattern, and (more importantly) encouraging composition of command implementations from multiple diverse sources. it's a common Design Pattern, guess that fits your problem

Categories : Java

Is there a tool for the conversion of duplicate literals into final Strings/magic numbers in Java?
I think Eclipse provides that already. If you select the whole String and press CTRL+1 it should give you the opportunity to choose: "Extract to constant". This will implicitly replace all occurrencies of your String with the new constant.

Categories : Eclipse

How to use Squish tool for Qml
I ran into the exact same problem, If you are using Squish under Ubuntu you have to apply a patch to your QT build and that should fix the problem, you can get the patch from here http://download.froglogic.com/snapshots/qt-dynlist-pt2.patch. I hope this helps

Categories : Qt

spam tool in vb.net
if don't wanna open the browser then use webbrowser control like so Private webbrows As New WebBrowser private sub form_load(snder...... dim _url as string = "your url that mostly wont work" webbrows.Navigate(_url) ' if you use vb2010 then you have lambada expressions AddHandler webbrows.DocumentCompleted, Sub(sd As Object, e4 As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) ' a check that the page fully loaded If e4.Url.ToString <> _url Then Exit Sub sd.dispose() End Sub end sub

Categories : Vb.Net

richfaces 4 tool tip
(Have to copy the whole example next time …) You're missing <h:head> and so the JS for the tooltip isn't being loaded (this should throw an error in the console), it can be empty but it has to be there. You also need <h:form> for ajax to work.

Categories : JSF

C indentation tool
Since you plan on extending existing code, why not use astyle? Once you have the correct flags it formats your code accordingly so that the results will always be the same. I (sadly) haven't found any dry-run flags, but a diff of your original file and the newly created astyle file should give you all violations.

Categories : C

Tool Tip CSS not showing
http://jsfiddle.net/NYmTL/ This fiddle seems to look fine with your code. I changed color: #000 to #FFF. Black on black isn't very visible.

Categories : HTML

ZF2 Zend Tool CLI will not work on Mac
It tells you the command zf.php is not found. It doesn't even look for a file at this point. To use zftool.phar you need to be able to run PHP in your CLI. To check if PHP is enabled in your CLI type the following: php --version It should output something like this: PHP 5.3.26 (cli) (built: Jun 5 2013 19:16:29) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies Also you have to install/enable the PHAR module for PHP. http://php.net/manual/en/book.phar.php Now change dir (cd) to where zftool.phar is located and use the zftool.phar like this: php zftool.phar create project foo

Categories : PHP

Tool GUI automation using perl
On Linux you can use the Expect perl module from CPAN, which was designed specifically to control command line applications. This CPAN module is patterned after the famous Expect program that was written as an extension of Tcl to control command line apps. Click here for the latest version of Expect on CPAN Click here for associated documentation Assuming you have working perl install and "cpan" command on your PATH, install the Expect package & dependencies using this shell command (in bash): $ cpan install Expect Update: Most people (including myself) won't have access to the proprietary Metware Debugger to test/demonstrate control of that specific tool. Luckily, most command-line debuggers are fairly similar in terms of the way they interact with the terminal session, so

Categories : Perl

Ruby ri tool will not work.
It looks like your version of rdoc (4.0.1) is very new. As @theTinMan indicated, you may want to bump you ruby version to 1.9.x or 2.0.0 if possible. Alternatively, you could try removing 4.0.1 and installing 3.12.2, which is the most recent 3.x variant on rubygems. I dug into the source code to determine that rdoc is attempting to Marshal.load a cache file. Perhaps you want to clear the cache and re-run the rvm docs generate-ri to ensure that the cache encoding is accurate.

Categories : Ruby

Remove tipTip tool tip
I've rewritten some parts of the plugin to make it much easier to work with. However, there is a lot more that could be done to clean up the code. Basically, I just used a custom event namespace (.tip) which allowed me to re-structure the plugin and create a destroy method that simply calls $(this).off('.tip');. The new plugin code is a little too long to post here so take a look at this pastebin: http://pastebin.com/VaXHWE5N I've also created a working fiddle with the updated code: http://jsfiddle.net/hQmvk/3/

Categories : Jquery

Is a ORM the right tool to use for migrating data?
An ORM is definitely not the right tool, as you rightly point out they are for OLTP applications. Given that SSIS is off the table (it is the right choice were it an option), I'd consider looking at Rhino ETL. Very flexible, and you can use SqlBulkCopy with it which obviously you should consider doing here. It's open source, too boot.

Categories : C#

Touch to hide tool bar
Write your code in the view where you added tool bar. You will get location of touch using this code: UITouch *touch = [[event allTouches] anyObject]; CGPoint location = [touch locationInView: touch.view]; And then check if touch is inside your rect using CGRectContainsPoint: function. Another approach is simply put an button on the required area. Hope this helps

Categories : Iphone

How can I instead adbd tool in my device?
The adbd binary resides in the /sbin directory of the ramdisk from a decompiled boot.img. To use your own adbd binary you would: Decompile your boot.img There are specific utilities to do this: mkbootimg, unpack-bootimg.pl & repack-bootimg.pl Or you could something more user friendly like Dsixda's Android Kitchen. Replace the default adbd binary in the /sbin directory of the ramdisk with your modified one. Recompile the boot.img Enjoy! If you are making modifications in the adbd binary to enable root access in adb shell, you may also want to make modifications to the default.prop file; more specifically changing these entires - ro.secure=1 ro.allow.mock.location=0 ro.debuggable=0 persist.sys.usb.config=mtp ro.adb.secure=1 to something like this: ro.secure=0 ro.allow.mock

Categories : Android

not being recongnized by IE F12 developer tool
The end tag for a <p> is optional A <p> cannot contain a <div> When you open the <div> you end the <p> implicitly. Then when you try to close it with </p>, it is already closed.

Categories : HTML

NSSegmentedControl within tool bar like Xcode 4
To me the cells of Xcode's segmented controls look like stock AppKit segments. To achieve that appearance, choose Capsule for the Style setting and Select Any for Mode (to get multiple selection). The emboss effect for the images is automatically applied to all black images whose name ends with "Template". In the attached screenshot I used some stock template images (e.g. NSFlowViewTemplate) from Interface Builder. Update Regarding frame size: NSSegmentedControls have a fixed height (3 control size settings: Regular, Small & Mini) and variable widths (per segment).

Categories : Objective C

Run gcov tool using c++ compiler
http://bobah.net/d4d/tools/code-coverage-with-gcov and http://www.slideshare.net/maguschen/using-gcov-and-lcov are good sources for using gcov/lcov (with this help I've managed to use lcov in really big, complicated project) lcov gives you possibility to show results of coverage in html format (nice percentages for listed files or even for lines in source files). Oh, and I hope you do realize it's a dynamical coverage, so you have to actually run the program to get any coverage (building should only create .gcno files).

Categories : C++

How to positionate a tool bar at the bottom of a div?
Almost got it...look at my fiddle http://jsfiddle.net/bb7555/79Uzf/ Just set the top-margin on tools to bottom margin: .tweet .tools { clear: both; position:relative; margin-bottom: 80px; margin-left: 15px; }

Categories : CSS

Javascript testing tool
I would recommend testing each function using something like Jasmine to start with. This will ensure the internal behaviour is correct. You could also try PhantomJS to run the JavaScript and produce an image of the chart to ensure it looks correct.

Categories : Javascript

How to remove the tool tip in UISearchBar
Here you have to return NO for all the specific methods the menu controller performs. -(BOOL)canPerformAction:(SEL)action withSender:(id)sender { if (action == @selector(defineSelection:)) { return NO; } else if (action == @selector(translateSelection:)) { return NO; } else if (action == @selector(copy:)) { return NO; } return [super canPerformAction:action withSender:sender]; } Hope this helps .

Categories : Iphone



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.