martes, 27 de abril de 2021

Crear usuarios con password mongodb

use admin db.createUser( { user:"testUser", pwd: "testPassword", roles:[ "dbOwner" ] } )

sábado, 16 de enero de 2021

Setup mac

 Setup mac:


iTerm:


Start - end:

Go to Profile -> Keys -> Key bindings 

"Send hex code" -> 0x01 to "Start of text" (inicio or home)

"Send hex code" -> 0x05 to "End of text" (fin or end)


flutter doctor --android-licenses

jueves, 12 de noviembre de 2020

domingo, 13 de septiembre de 2020

Fix err_cleartext_not_permitted ionic 3

Add this namespace definition to <widget

 xmlns:android="http://schemas.android.com/apk/res/android"


Then add this config in widget:

    <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">

        <application android:usesCleartextTraffic="true" />

    </edit-config>

jueves, 10 de septiembre de 2020

martes, 10 de marzo de 2020

Oracle DB with Jetbrains DataGrip and DBeaver

First run the oracle db in docker:

docker run --name ora121 -p 1521:1521 -p 5500:5500 -e ORACLE_SID=ORCLCDB -e ORACLE_PDB=pdb1 -e ORACLE_PWD=Oradoc_db1 -e ORACLE_CHARACTERSET=AL32UTF8 store/oracle/database-enterprise:12.2.0.1

Jetbrains DataGrip

DBeaver