Skip to content

Instantly share code, notes, and snippets.

Akki akkida746

  • India
Block or report user

Report or block akkida746

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@akkida746
akkida746 / Remove .DBF file from oracle db 12c
Created Jul 6, 2018
ORA-01157: cannot identify/lock data file
View Remove .DBF file from oracle db 12c
http://amit7oracledba.blogspot.com/2013/02/ora-01157-cannot-identifylock-data-file.html
View Nodejs proxy settings.txt
Write proxy settings
npm config set proxy http://192.168.20.20:3128
npm config set https-proxy http://192.168.20.20:3128
Delete Proxy
npm config delete http-proxy
npm config delete https-proxy
@akkida746
akkida746 / PLSQl XML parsing
Created Mar 20, 2018
PLSQL XML parsing and staging data into tables
View PLSQl XML parsing
create or replace
PROCEDURE ELR_XCN_EMP_IMPORT
AS
-- constants declaration
c_interface_name CONSTANT integrator.tbl_interface_inbound.iinb_object_type%TYPE := 'PersonnelEMEA';
c_process_name CONSTANT el_intstpee.process_name%TYPE := 'ELR_XCN_EMP_IMPORT';
-- constants for error type
c_middleware CONSTANT el_intstsee.job_err_type%TYPE := 'MIDDLEWARE';
c_setup CONSTANT el_intstsee.job_err_type%TYPE := 'SETUP';
@akkida746
akkida746 / GRPC_plugin_commands_generate_Java_objects
Created Nov 16, 2017
Windows gRPC plugin commands to generate java objects
View GRPC_plugin_commands_generate_Java_objects
protoc --proto_path=F:\MyProjects\GRPC_Demo_MVN\src\main\java\main --java_out=F:\MyProjects\GRPC_Demo_MVN\src\main\java F:\MyProjects\GRPC_Demo_MVN\src\main\java\main\*.proto
protoc --grpc-java_out=lite:F:/MyProjects/GRPC_Demo_MVN/src/main/java --proto_path="F:/MyProjects/GRPC_Demo_MVN/src/main/java/main" "hello.proto"
@akkida746
akkida746 / MultiThreadedFileRead.java
Last active Jun 20, 2017
Multithreaded File Reading in Java
View MultiThreadedFileRead.java
import java.io.*;
import java.lang.*;
class MultiThreadedFileRead extends Thread
{
InputStream in;
MultiThreadedFileRead(String fname) throws Exception
{
in=new FileInputStream(fname);
this.start();
}
@akkida746
akkida746 / xyz.java
Created Jan 5, 2017
Marshall Object to XML java
View xyz.java
public static Order getOrder(String orderxml) throws GdiSomException
{
try {
JAXBContext jaxbContext;
jaxbContext = JAXBContext.newInstance(Order.class);
Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller();
StringReader reader = new StringReader(orderxml);
Order order= (Order) jaxbUnmarshaller.unmarshal(reader);
return order;
@akkida746
akkida746 / OrderItemProcessListener.java
Created Jan 5, 2017
Spring ItemProcessListener<Object,Object>
View OrderItemProcessListener.java
/**
*We use this process listener if we want to process the items before inserting into the database.
*Only used for custom processing.
*/
public class OrderItemProcessListener implements ItemProcessListener<Object,Object> {
private OrderDao orderDao;
private static final Logger logger = Logger.getLogger(OrderItemProcessListener.class);
@akkida746
akkida746 / OrderArchiveErrorJobListener.java
Created Jan 5, 2017
Spring batch job execution listener
View OrderArchiveErrorJobListener.java
package com.xyz.batch.listener;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.text.DateFormat;
@akkida746
akkida746 / PropertiesConfugurer.java
Created Dec 27, 2016
Read properties file outside war in Spring application
View PropertiesConfugurer.java
@Configuration
public class PropertiesConfugurer implements WebApplicationInitializer, ApplicationContextAware,
ApplicationContextInitializer<ConfigurableApplicationContext> {
private static final Logger logger = Logger.getLogger(XmlFormatter.class);
private static ApplicationContext context;
private static String relativePath;
@Override
View gist:9b4a0d070d17fed0c2aa52e585462f47
Hello,
Hope you are doing good !!
I am sending you my profile details, pls consider this in case you are looking for good candidate.
PFA my attached resume. Thank you !!
Summary:
A Java Professional with around 6 years of experience on Core Java, J2EE, Spring, Struts, Hibernate, Multithreading, Web
You can’t perform that action at this time.