miércoles, 2 de junio de 2021

DESPLIEGUE PROYECTO ANGULAR

 ng build --prod --output-hashing none


  ng build --prod --output-hashing all

lunes, 15 de marzo de 2021

ROUTES

https://experienceleague.adobe.com/docs/experience-manager-learn/spa-angular-tutorial/navigation-routing.html%3Flang%3Dde#update-the-header-component final!!!


 https://www.aanchalgarg.com/2019/09/routes-with-multiple-and-query.html


https://stackoverflow.com/questions/36320821/passing-multiple-route-params-in-angular2



SELECCCIONADA:

I want to fetch multiples ids which I am passing while routing in Angular using route.params. This is the route.ts

{path:'section/:id/:id', component: SubsectionsComponent}

And this is how I am routing from a component.ts

onSectionClick(id1, id2){
    this.router.navigate(['/path/',id1,id2], {relativeTo:this.route})
  }

https://stackoverflow.com/questions/58077240/how-to-get-multiple-ids-from-route-param-in-angular-6

sábado, 13 de marzo de 2021

how-to-find-element-in-array

 https://stackoverflow.com/questions/37969984/angular-2-typescript-how-to-find-element-in-array

jueves, 4 de marzo de 2021

 https://www.codeproject.com/Questions/5276179/Bootstrap-dropdown-menu-not-visible 


boostrap order

index.html


<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Lcbapp</title>
  <base href="/">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="icon" type="image/x-icon" href="favicon.ico">
  <link rel="stylesheet" href="./assets/libs/bootstrap-5.0.0-beta2-dist/css/bootstrap.min.css">

</head>
<body>
  <app-root></app-root>

  <script src="assets/libs/bootstrap-5.0.0-beta2-dist/js/bootstrap.min.js"></script>
  <script src="assets/libs/jquery/jquery-3.6.0.min.js"></script>
  <script src="assets/libs/popper/popper.min.js"></script>
 


</body>
</html>

martes, 29 de diciembre de 2020

change password oracle

 https://docs.oracle.com/en/database/oracle/oracle-database/12.2/axdbi/using-sql-plus-to-unlock-accounts-and-reset-passwords.html#GUID-1147D2B9-8FFC-4F91-A774-E97066B4E9C5

jueves, 5 de noviembre de 2020

visual studio code error

  ng

ng : No se puede cargar el archivo C:\Users\silvia\AppData\Roaming\npm\ng.ps1 porque la ejecución de scripts está deshabilitada en este sistema. Para       

obtener más información, consulta el tema about_Execution_Policies en https:/go.microsoft.com/fwlink/?LinkID=135170.

En línea: 1 Carácter: 1

+ ng

+ ~~

    + CategoryInfo          : SecurityError: (:) [], PSSecurityException

PS C:\Users\silvia\Desktop\angular\lcb> [Environment]::Is64BitProcess

True

PS C:\Users\silvia\Desktop\angular\lcb> ng

ng : No se puede cargar el archivo C:\Users\silvia\AppData\Roaming\npm\ng.ps1 porque la ejecución de scripts está deshabilitada en este sistema. Para       

obtener más información, consulta el tema about_Execution_Policies en https:/go.microsoft.com/fwlink/?LinkID=135170.

En línea: 1 Carácter: 1

+ ng

    + CategoryInfo          : SecurityError: (:) [], PSSecurityException

    + FullyQualifiedErrorId : UnauthorizedAccess


Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

miércoles, 5 de febrero de 2020

GRANT ORACLE

https://chartio.com/resources/tutorials/how-to-create-a-user-and-grant-permissions-in-oracle/



CREATE USER silvia IDENTIFIED BY silviapass;
GRANT CONNECT TO silvia;

GRANT CREATE SESSION TO silvia;
GRANT UNLIMITED TABLESPACE TO silvia;

viernes, 31 de enero de 2020

CREACION DE TABLA

CREATE TABLE TIPO_EMPLEADO
(
  ID NUMBER NOT NULL
, DESCRIPCION VARCHAR2(20)
, CONSTRAINT TABLE1_PK PRIMARY KEY
  (
    ID
  )
  ENABLE
);

viernes, 15 de noviembre de 2019

cursor PLSQL

declare
  cursor public cur is
    select col1, col2
    from tabla;
begin
  for v_reg in cur loop
    dbms_output.put_line ('Col1: '|| v_reg.col1 ||'  Col2: '|| v_reg.col2);
  end loop;
end;
https://es.wikibooks.org/wiki/Oracle/PL/SQL/Cursores

jueves, 7 de noviembre de 2019

jueves, 31 de octubre de 2019

trigger '' is invalid and failed re-validation

Revisar que al final no haya un /

CLEAR_BLOCK(NO_VALIDATE);

Se puede poner asi:

 GO_BLOCK('INGRESAR_NUEVO_ACTIVO_FIJO');
 CLEAR_BLOCK(NO_VALIDATE);

o

GO_BLOCK('INGRESAR_NUEVO_ACTIVO_FIJO');
CLEAR_BLOCK;

https://magicplsql.blogspot.com/2018/06/escribiendo-codigo-flexible-en-oracle.html

viernes, 27 de septiembre de 2019

link a file markdown




Si quieres solo abrir el archivo
[Ver Documento de Pruebas](:\\dfd\asdf\adfdsf\fadsf\asdf\asfd\afddf\asdf\dfdsffadsf.xlsx)


si quieres descargar el archivo al abrirlo:
[Ver Documento de Pruebas](file:///\\dfd\asdf\adfdsf\fadsf\asdf\asfd\afddf\asdf\dfdsffadsf.xlsx)

link url :
My favorite search engine is [Duck Duck Go](https://duckduckgo.com).

Comments

miércoles, 25 de septiembre de 2019

item property enable

notepad++

https://thomas.vanhoutte.be/miniblog/notepad-remove-new-line-and-add-comma/

and you want this outcome:
Apple, Orange, Strawberry, Banana, Kiwi
Then do this: CTRL + H to open the Replace window. Then select Regular Expression in Search Mode. In the Find What, enter [\r\n]+. Then in the Replace with, enter the comma (,) and maybe followed by a space if you also want to add that.