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
| <filter> | |
| <filter-name>encodingFilter</filter-name> | |
| <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> | |
| <init-param> | |
| <param-name>encoding</param-name> | |
| <param-value>UTF-8</param-value> | |
| </init-param> | |
| <init-param> | |
| <param-name>forceEncoding</param-name> | |
| <param-value>true</param-value> |
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
| package pe.gob.reniec.renovacion.util; | |
| import org.slf4j.LoggerFactory; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.context.annotation.Lazy; | |
| import org.springframework.http.HttpStatus; | |
| import org.springframework.http.MediaType; | |
| import org.springframework.stereotype.Component; | |
| import org.springframework.web.filter.OncePerRequestFilter; | |
| import org.springframework.web.servlet.HandlerMapping; |
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
| boolean sudoku2(char[][] grid) { | |
| int n = grid.length; | |
| int[] filaVerifica = new int[n]; | |
| int[] columnaVerfica = new int[n]; | |
| int[] escaque = new int[n]; | |
| for (int i = 0; i < n; i++) { | |
| Arrays.fill(filaVerifica, 0); | |
| Arrays.fill(columnaVerfica, 0); | |
| Arrays.fill(escaque, 0); |
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
| >wsimport -verbose -keep -d clases -s sources -p edu.cibertec.jaad.ws calcws.wsdl |
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
| package com.danielme.demo.jaxws.cxf.client; | |
| import java.security.AlgorithmParameters; | |
| import java.security.SecureRandom; | |
| import javax.crypto.BadPaddingException; | |
| import javax.crypto.Cipher; | |
| import javax.crypto.IllegalBlockSizeException; | |
| import javax.crypto.SecretKey; | |
| import javax.crypto.SecretKeyFactory; | |
| import javax.crypto.spec.IvParameterSpec; |
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
| package com.danielme.demo.jaxws.cxf.client; | |
| /** | |
| * Created by Jose on 18/12/14. | |
| */ | |
| public class Test { | |
| public static void main(String[] args) throws Exception { | |
| // TODO Auto-generated method stub |
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 camelCase = string.replace(/_([a-z])/g, function (g) { return g[1].toUpperCase(); }); |
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
| mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging> -DgeneratedPom=true |
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
| DECLARE | |
| l_file UTL_FILE.FILE_TYPE; | |
| l_buffer RAW(32767); | |
| l_amount BINARY_INTEGER := 32767; | |
| l_pos INTEGER := 1; | |
| l_blob BLOB; | |
| l_blob_len INTEGER; | |
| BEGIN | |
| -- Get LOB locator | |
| SELECT column2 |