This file contains 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
http://ibatisnet.sourceforge.net/DevGuide.html#d0e366 | |
<!—Oracle SEQUENCE Example --> | |
<insert id="insertProduct-ORACLE" | |
parameterClass="product"> <selectKey resultClass="int" | |
keyProperty="id" > SELECT STOCKIDSEQUENCE.NEXTVAL AS ID FROM DUAL | |
</selectKey> insert into PRODUCT (PRD_ID,PRD_DESCRIPTION) values | |
(#id#,#description#) </insert> | |
<parameterMap id=”insert-product-param” class=”product”> |
This file contains 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
-Dcatalina.home="/Library/apache-tomcat-5.5.33/" -Djava.endorsed.dirs="/Library/apache-tomcat-5.5.33/common/endorsed" -Dcatalina.base="/Library/apache-tomcat-5.5.33/" -Djava.io.tmpdir="/Library/apache-tomcat-5.5.33/temp" -Xms768m -Xmx768m -XX:PermSize=768m -XX:MaxPermSize=768m | |
-Dcatalina.home="/Library/apache-tomcat-5.5.33" -Djava.endorsed.dirs="/Library/apache-tomcat-5.5.33/common/endorsed" -Dcatalina.base="/Library/apache-tomcat-5.5.33" -Djava.io.tmpdir="/Library/apache-tomcat-5.5.33/temp" -Xms768m -Xmx768m -XX:PermSize=768m -XX:MaxPermSize=768m -Dwtp.deploy="/Library/apache-tomcat-5.5.33/webapps" -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false |
This file contains 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
new_reservation.onlye(tralari, tralara).to_json | |
class FullReservation > Hash | |
def with_changed_timeslice(timeslice) | |
end | |
end | |
module TimesliceShaped | |
def shift | |
end |
This file contains 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
function doSomething(callable $x) { | |
return $x(); | |
} | |
doSomething(function () { }); | |
doSomething("function_name"); | |
doSomething(['class', 'staticMethodName']); | |
doSomething([$object, 'methodName']); | |
doSomething($invokableObject); |
This file contains 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 enum Operation { | |
PLUS("+"){ | |
double apply (double x, double y) { return x + y;} | |
}, | |
MINUS("-"){ | |
double apply (double x, double y) { return x - y;} | |
}; | |
private final String symbol; |
This file contains 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
package com.dnt.erleaTxingudi.ura.app; | |
public class BonificacionTotales { | |
protected String canon; | |
protected String bonificado; | |
public BonificacionTotales(String canon, String bonificado) { | |
this.canon = canon; | |
this.bonificado = bonificado; |
This file contains 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
<?php | |
use Silex\WebTestCase; | |
class RestApiTest extends WebTestCase | |
{ | |
public function createApplication() | |
{ | |
... | |
} |
This file contains 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
opción de instalar sql server sin checks | |
/ACTION=install /SKIPRULES=PerfMonCounterNotCorruptedCheck |
This file contains 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
<?php | |
$mapper = function($method){ | |
return function ($class) use ($method) { | |
return $class->$method; | |
}; | |
}; |
This file contains 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
<?php | |
// src/Foobar/Controller/FooController.php | |
namespace Foobar\Controller; | |
class FooController | |
{ | |
public function helloAction($request) | |
{ |
OlderNewer