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
<?xml version="1.0"?> | |
<!DOCTYPE project> | |
<project name="build-common-theme"> | |
<import file="../build-common-plugin.xml" /> | |
<target name="build-css"> | |
<java | |
classname="com.liferay.portal.tools.SassToCssBuilder" | |
classpathref="portal.classpath" |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Pagina</title> | |
<style> | |
header{ | |
width: 80%; | |
} | |
.container{ |
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
<%-- | |
/** | |
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. | |
* | |
* This library 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 2.1 of the License, or (at your option) | |
* any later version. | |
* | |
* This library is distributed in the hope that it will be useful, but WITHOUT |
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
javascript.barebone.files=\ | |
\ | |
# | |
# YUI core | |
# | |
\ | |
aui/aui/aui.js,\ | |
aui/aui-base-html5-shiv/aui-base-html5-shiv.js,\ | |
\ | |
# |
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
if(typeof YUI!="undefined"){YUI._YUI=YUI}var YUI=function(){var c=0,f=this,b=arguments,a=b.length,e=function(h,g){return(h&&h.hasOwnProperty&&(h instanceof g))},d=(typeof YUI_config!=="undefined")&&YUI_config;if(!(e(f,YUI))){f=new YUI()}else{f._init();if(YUI.GlobalConfig){f.applyConfig(YUI.GlobalConfig)}if(d){f.applyConfig(d)}if(!a){f._setup()}}if(a){for(;c<a;c++){f.applyConfig(b[c])}f._setup()}f.instanceOf=e;return f};(function(){var q,b,r="patched-v3.11.0",i=".",o="http://yui.yahooapis.com/",u="yui3-js-enabled",d="yui3-css-stamp",m=function(){},h=Array.prototype.slice,s={"io.xdrReady":1,"io.xdrResponse":1,"SWF.eventHandler":1},g=(typeof window!="undefined"),f=(g)?window:null,w=(g)?f.document:null,e=w&&w.documentElement,a=e&&e.className,c={},j=new Date().getTime(),n=function(A,z,y,x){if(A&&A.addEventListener){A.addEventListener(z,y,x)}else{if(A&&A.attachEvent){A.attachEvent("on"+z,y)}}},v=function(B,A,z,x){if(B&&B.removeEventListener){try{B.removeEventListener(A,z,x)}catch(y){}}else{if(B&&B.detachEvent){B.de |
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 class Test{ | |
private void Button_Click(object sender, RoutedEventArgs e){ | |
Empleado empleadoABorrar = null; | |
for(var empleado in lista1){ | |
if(empleado.getNombre().Equals(this.t1.Text)) | |
empleadoABorrar = empleado; | |
} |
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 | |
// localhost/multipart_tet | |
var $response = array(); | |
// Agarramos el archivo | |
var $foto = $_FILES["file"] | |
// Vemos cuales headers son los que están llegando |
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
//@Test | |
public void testSuccesfulSPEIPMCreate() throws Exception { | |
valid_payment_method = new JSONObject( | |
"{'description':'Stogies'," | |
+ "'reference_id':'9839-wolf_pack'," | |
+ "'amount':20000," | |
+ "'currency':'MXN'," | |
+ "'details':" | |
+ "{" |
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
#include <NewPing.h> | |
#define TRIGGER_PIN 8 | |
#define ECHO_PIN 9 | |
#define MAX_DISTANCE 200 | |
NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE); | |
const int pin_boton_1 = 2; | |
const int pin_boton_2 = 3; |
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
for(Field f: constanciaSimple.getClass().getFields()){ | |
f.setAccesible(true); | |
try{ | |
assertNotNull(f.get(constanciaSimple)); | |
} catch (IllegalArgumentException e){ | |
e.printStackTrace(); | |
} catch (IllegalArgumentException e){ | |
e.printStackTrace(); | |
} | |
} |
OlderNewer