Skip to content

Instantly share code, notes, and snippets.

View rugi's full-sized avatar
🎯
Focusing

Isaac Ruiz Guerra rugi

🎯
Focusing
View GitHub Profile
@rugi
rugi / treeVMWare.out
Created November 19, 2023 03:47
Directorios de VMWare
PS D:\opt\Java\visualvm_217\visualvm_217> tree
Folder PATH listing for volume D
Volume serial number is 7478-D7BC
D:.
├───bin
├───etc
├───platform
│ ├───config
│ │ ├───ModuleAutoDeps
│ │ └───Modules
@rugi
rugi / Demo.sql
Created April 12, 2023 00:45
SQL Standar. Creación de tabla, inserción y recuperación de registros.
#Se selecciona nuestra bbdd
USE demo001;
#Creamos nuestra tabla
CREATE TABLE COLORES(
ID int,
NOMBRE varchar(100),
RGB varchar(6)
);
#agregamos 3 registros
INSERT INTO COLORES (ID, NOMBRE, RGB) VALUES (1,'Rojo','FF0000');
@rugi
rugi / JConsole_WLST
Created March 10, 2018 17:36
Línea de comando para invocar Jconsole con las clases requeridas para conectarse a un WLS 12c
jconsole -J-Djava.class.path=/u01/oracle/products/jdk_home/jdk1.8.0_77/lib/jconsole.jar:/u01/oracle/products/jdk_home/jdk1.8.0_77/lib/tools.jar:/u02/oracle/Oracle/Middleware/Oracle_Home/wlserver/server/lib/wljmxclient.jar -J-Djmx.remote.protocol.provider.pkgs=weblogic.management.remote -debug
com.oracle:Location=Cluster-01-1,name=mlsfilter,context=ids,type=OVD.PluginsChain.PluginConfig,OVD=ServerConfig,OVD.PluginsChain=PluginsChain
com.bea:Location=AdminServer,WseeClientConfigurationRuntime=oracle.sysman.emInternalSDK.sdkas.general.pojo.fwk.swb.ruei.SesdiagSoap12HttpPortClient/sesdiagService,WebAppComponentRuntime=AdminServer_/em,ServerRuntime=AdminServer,ApplicationRuntime=em,Name=getAlertInfo,WseePortConfigurationRuntime=SesdiagSoap12HttpPort,Type=WseeOperationConfigurationRuntime
com.bea:Name=OHW_it,ServerRuntime=AdminServer,Location=AdminServer,Type=ServletRuntime,ApplicationRuntime=em,WebAppComponentRuntime=AdminServer_/em
com.bea:Name=AdminServer,Location=Cluster-01-1,Type=WebServiceReliability,Server=AdminServer,WebService=AdminServer
com.bea:Name=AdminServer,Location=Cluster-01-1,Type=WebService,Server=AdminServer
com.bea:Name=emcoreconsole_jar,Location=Cluster-01-1,Type=Library
com.bea:Name=em_core_ppc_pojo_jar,Location=Cluster-01-1,Type=Library
com.bea:Name=emagentsdkimplpriv_jar#12.4@12
java.util.logging:Location=AdminServer,type=Logging
com.bea:Name=oracle.bi.adf.view.slib#1.0@12.2.1.0.0,Location=otn_multitenant,Type=Library
com.bea:Location=AdminServer,WseeClientConfigurationRuntime=oracle.sysman.emInternalSDK.sdkas.general.pojo.fwk.swb.ruei.SesdiagSoap12HttpPortClient/sesdiagService,WebAppComponentRuntime=AdminServer_/em,ServerRuntime=AdminServer,ApplicationRuntime=em,Name=getAlertInfo,WseePortConfigurationRuntime=SesdiagSoap12HttpPort,Type=WseeOperationConfigurationRuntime
com.bea:Name=OHW_it,ServerRuntime=AdminServer,Location=AdminServer,Type=ServletRuntime,ApplicationRuntime=em,WebAppComponentRuntime=AdminServer_/em
com.bea:Name=emagentsdkimplpriv_jar#12.4@12.1.0.4.0,Type=Library
com.oracle:type=OVD,context=ids,name=AdaptersConfig
com.bea:Name=adf.oracle.domain.webapp#1.0@12.2.1.0.0,Type=LibDeploymentRuntime
com.bea:Name=oracle.adf.desktopintegration.model#1.0@12.2.1.0.0,Type=LibDeploymentRuntime
com.bea:Name=otn_multitenant,Location=otn_multitenant,Type=Interceptors
com.bea:Name=JspSe
java.util.logging:Location=AdminServer,type=Logging
com.bea:Name=base_domain,Location=base_domain,Type=GzipCompression,WebAppContainer=base_domain
com.bea:Name=oracle.sdp.client#2.0@12.2.1,Location=base_domain,Type=Library
com.bea:Name=Default[http][2],ServerRuntime=AdminServer,Location=AdminServer,Type=ServerChannelRuntime
com.bea:Name=AdminServer,Location=base_domain,Type=OverloadProtection,Server=AdminServer
com.oracle:type=OVD,context=ids,name=AdaptersConfig
com.bea:Name=base_domain,Location=AdminServer,Type=CdiContainer
com.bea:Name=adf.oracle.domain.webapp#1.0@12.2.1.0.0,Type=LibDeploymentRuntime
com.bea:Name=oracle.adf.desktopintegration.model#1.0@12.2.1.0.0,Type=LibDeploymentRuntime
com.bea:Name=defaultCoherenceCluster,Location=base_domain,Type=weblogic.coherence.descriptor.wl.CoherenceLoggingParamsBean,Parent=[base_domain]/CoherenceClusterSystemResources[defaultCoherenceCluster],Path=CoherenceClusterResource[defaultCoherenceCluster]/CoherenceLoggingParams
<pluginGroups>
<pluginGroup>com.oracle.weblogic</pluginGroup>
</pluginGroups>
@rugi
rugi / Salida1
Created September 2, 2013 02:49
Clase Buscada cargada org.apache.commons.collections.BeanMap
--------------------
Constructores:2
Constructor[0]
org.apache.commons.collections.BeanMap
Parametros:0
Constructor[1]
org.apache.commons.collections.BeanMap
Parametros:1
Parametro[1]:java.lang.Object
public static void main(String[] args) throws ClassNotFoundException, IOException {
ClassInfoUtil ciu = ClassUtil.getClassInfoFromClassInJar("/Users/rugi/Downloads/commons-collections-3.2.1.jar", "org/apache/commons/collections/BeanMap.class");
Method[] m = ciu.getMethods();
Constructor[] c = ciu.getConstructors();
System.out.println("--------------------");
System.out.println("Constructores:"+c.length);
for (int i = 0; i < c.length; i++) {
System.out.println(" Constructor["+i+"]");
Constructor constructor = c[i];
System.out.println(" "+constructor.getName());
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.xhubacubi.jarhalla.client.util;
import java.io.IOException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.Enumeration;