Ir al contenido principal

Entradas

CVS desde la línea de comandos

Software: http://www.nongnu.org/cvs/ Login cvs -d:método_acceso*:user@host:/path login Emitir un log de tags: archivo, revisión actual head, branch y su revisión actual, todas las revisiones cvs -d:método_acceso*:user@host:/path_1 rlog path_2 (relativo a path_1) Emitir un reporte histórico: movimiento, fecha hora, revisión, archivo, path cvs -d:método_acceso*:user@host:/path_1 history path_2 (relativo a path_1) -c *método_acceso: pserver, local, etc.

Tokens - programa en Perl para parsear XML

Sinopsis use Tokens; open my $regex_fh, '<', $ARGV[0]; #regex.txt open my $target_fh, '<', $ARGV[1]; #file.txt my $target; {   local $/ = undef;   $target = <$target_fh>; #the content   $target =~ s/\n/ /g; } my $regex; {   local $/ = undef;   $regex = <$regex_fh>; #the content } printAll parse $target, $regex;   Códio (archivo: Tokens.pm): =pod  Copyright 2013 Gabriel Czernikier     This program is free software: you can redistribute it and/or modify     it under the terms of the GNU General Public License as published by     the Free Software Foundation, either version 3 of the License, or     (at your option) any later version.     This program is distributed in the hope that it will be useful,     but WITHOUT ANY WARRANTY; without even the implied warranty of     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  Se...

DB2 - manejar jerarquías de idiomas

En DB2, seleccionar datos de una tabla "tabla_origen", buscando con una "mi_clave_busqueda" que tiene multiplicidad n (los datos están en n idiomas), de los cuales me interesa recuperar el idioma que (para mí) tenga mayor prioridad, si no el siguiente, y así sucesivamente. with mis_idiomas as (       select * from table (             select 'es' ,   1 from sysibm.sysdummy1 union all             select 'fr' ,   2 from sysibm.sysdummy1 union all             select 'en' ,   3 from sysibm.sysdummy1 union all             select 'he' ,   4 from sysibm.sysdummy1       ) as t (idioma, ord) ), T2 as (       select tor.mi_clave_busqueda, min (o...

Perl Net::LDAP::SimpleServer

Adaptaciones sobre el módulo LDAP Server para Windows (Strawberry Perl) Lista de adaptaciones (continúa más abajo): - Relajación de condiciones de bind:     - Cuenta principal (principal account)     - Validación de contraseñas Ubicación del archivo: %Strawberry_Perl%\site\lib\net\ldap\SimpleServer\ProtocolHandler.pm CPAN: http://search.cpan.org/~russoz/Net-LDAP-SimpleServer-0.0.17/lib/Net/LDAP/SimpleServer.pm Código: package Net::LDAP::SimpleServer::ProtocolHandler; use strict; use warnings; # ABSTRACT: LDAP protocol handler used with Net::LDAP::SimpleServer our $VERSION = '0.0.17';    # VERSION use Net::LDAP::Server; use base 'Net::LDAP::Server'; use fields qw(store root_dn root_pw allow_anon); use Carp; use Net::LDAP::LDIF; use Net::LDAP::Util qw{canonical_dn}; use Net::LDAP::FilterMatch; use Net::LDAP::Constant (     qw/LDAP_SUCCESS LDAP_AUTH_UNKNOWN LDAP_INVALID_CREDENTIALS/,   ...

SAP / ERP

Recursos para aprender SAP: http://stackoverflow.com/questions/518226/how-should-i-start-learning-about-sap https://open.sap.com/about/opensap https://training.sap.com/v2/content/opensap http://scn.sap.com/people/david.donnachie/blog/2013/08/13/do-it-yourself-learning http://scn.sap.com/community/events/sapphire-now/blog/2012/11/19/a-view-on-learning-from-capgemini Figura: Niveles en los que opera SAP. "A four level pyramid model of different types of Information Systems based on the different levels of hierarchy in an organization." Fuente: http://en.wikipedia.org/wiki/Information_systems Info suplementaria: Software CRUD: http://en.wikipedia.org/wiki/CRUD

Matemática

1. 7. 8. 9. 10. 29. 30. 31. 32. Un optimista ve una oportunidad en toda calamidad, un pesimista ve una calamidad en toda oportunidad.         -- Winston Churchill. (1874-1965) Político inglés. El pesimista sabe rebelarse contra el mal. Sólo el optimista sabe extrañarse del mal.         -- Gilbert Chesterton. (1874-1936) Escritor británico. Diferencial y=x2, obtener: Ay, dy (x2: x elevado al cuadrado, Ay: delta y, dy: diferencial de y) Ay = f(x+Ax) - f(x) = = (x+Ax)2 - x2 = = x2 + 2xAx + Ax2 - x2 = = 2xAx + Ax2 dy = f'(x) dx = = 2x Ax (*) * Recordar: x' = 1 (*2) dx = x' Ax = Ax (*3) *2 Recordar: (1): lím Ax->0 Ax/Ax = x' (derivada de 1 variable con respecto a sí misma, toda variable está en función de sí misma x = f(x) / x = x) (2): lím Ax->0 Ax/Ax = lím Ax->0 1 = 1 Por (1) y (2): x' = 1 *3 Recordar: lím Ax->0 Ax/Ax = x' ...