
Search In
Method to cut image in Objective-c/cocoa (OSX)
-(IBAction)cutItem:(id)sender
{
hasBeenDragged = NO;
NSImage *_sourceImage = [self image];
float width = selectedArea.size.width;
float height = selectedArea.size.height;
float cente
Error after running Maven install
Error: Unable to locate the Javac Compiler in:
C:\Program Files (x86)\Java\jre6..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most
The following code should be used to automate the slider:
WebDriver driver = new FirefoxDriver();
driver.get("http://jqueryui.com/resources/demos/slider/default.html");
driver.manage().timeouts().implicitlyWait(20L, TimeUnit.SECONDS);
WebElement sli
When we are creating a new Customer invoice, than on validating(Clik on validate button) the invoice, we got a " 'Constraint Error': Invoice Number Should be unique "
To resolve this error Simply go to settings >> Configurations >> squ
Hello Guys
Neurotechnology Sdk is used for fingerprint, face detection etc..
To develop neurotechnology SDK in liferay, first build maven project and create applet jar and relative jar's using Maven with "clean install -Papplet".
Below steps will he
Hello all,
Working with Rich Text Editor, some times we need to disable Tab Key, which creates space between two text or HTML Elements inside the Editor.
To do that we have following block of code:
In HTML Page :
<div id="editor" onkeydown="re
Here I have illustrated how to rotate image using java code.
Impot imgscalr-lib-4.2.jar for Scalr class to rotated image on various angles.
Below code will rotated image on 90 degree angle.
File file= new File("file-path");
BufferedImage src =
In provisions fields first we have to go in .py file (Python file) After that we have to decide where we want delete fields and then write the python code of that field. use below code in .py(python file):
cr.execute('SELECT id FROM account_cashfl
In one of my current project, I had to develop and integrate the IOS notification functionality in my server side C# code. I did some RnD for this and found below mentioned code to serve this purpose.
public void SendNotification(string deviceId, st
Sometimes we need to prevent our testing.dev site from showing up in search results on Google, Bing and other search engines until we are ready to launch. We can do this by addting "X-Robots-Tag" paramet to header of the response.
Create filter or y
