This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// iDrawAppDelegate.m | |
// iDraw | |
// | |
// Created by Alos on 7/22/10. | |
// Copyright 2010 __MyCompanyName__. All rights reserved. | |
// | |
#import "iDrawAppDelegate.h" | |
#import "MyViewController.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
testing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public XYZUser updateUser(XYZUser user) { | |
PersistenceManager pm = PMF.get().getPersistenceManager(); | |
Transaction tx = pm.currentTransaction(); | |
try { | |
tx.begin(); | |
XYZUser updatedUser = pm.makePersistent(user); | |
tx.commit(); | |
return updatedUser; | |
} catch (RuntimeException ex) { | |
ex.printStackTrace(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var deleteAlert = [[CPAlert alloc] init]; | |
[deleteAlert setTitle:"Guardar cambios"]; | |
[deleteAlert setWindowStyle:CPHUDBackgroundWindowMask]; | |
[deleteAlert setMessageText:"¿Estas seguro de querer guardar el usuario "+[userField objectValue]+" ?"]; | |
[deleteAlert addButtonWithTitle:"Si"]; | |
[deleteAlert addButtonWithTitle:"No"]; | |
[deleteAlert setDelegate: self]; | |
[deleteAlert runModal]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message | |
* Digest Algorithm, as defined in RFC 1321. | |
* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002. | |
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet | |
* Distributed under the BSD License | |
* See http://pajhome.org.uk/crypt/md5 for more info. | |
*/ | |
/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
res-2:cappuccino alos$ NARWHAL_ENGINE=rhino jake sudo-install | |
(in /Users/alos/Cappuccino) | |
(in /Users/alos/Cappuccino) | |
(in /Users/alos/Cappuccino) | |
setupEnvironment warning: ReferenceError: "NULL" is not defined. | |
(in /Users/alos/Cappuccino/Objective-J) | |
setupEnvironment warning: ReferenceError: "NULL" is not defined. | |
Build took 2 seconds | |
(in /Users/alos/Cappuccino/CommonJS) | |
setupEnvironment warning: ReferenceError: "NULL" is not defined. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SFTable.j | |
// XYZRadio | |
// | |
// Created by Alos on 10/2/08. | |
/* | |
This file is part of XYZRadio. | |
XYZRadio is free software: you can redistribute it and/or modify | |
it under the terms of the GNU Lesser General Public License as published by |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void aMethod()throws IllegalArgumentException{ | |
throw new IllegalArgumentException("lalala"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)draggedView:(CPView)dragView endedAt:(CPPoint)aPoint operation:(CPDragOperationNone)operation{ | |
if(aPoint == undefined){ | |
var selectionIndexes = [[self selectionIndexes] firstIndex]; | |
[statementCollectionViewArray removeObjectAtIndex: selectionIndexes]; | |
[self reloadContent]; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
AddUserWindow.j | |
Louhi | |
Created by Oswa on 13/08/09. | |
This file is part of Louhi. | |
Louhi is free software: you can redistribute it and/or modify | |
it under the terms of the GNU Lesser General Public License as published by | |
the Free Software Foundation, either version 3 of the License. |