lunes, 19 de octubre de 2020

Measure the amount of color in the picture

 If you want to measure the amount of color an image has (in percentage), you can use the following repo:


https://github.com/Eitol/document_color_meter

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


domingo, 7 de julio de 2019

java.library.path in ubuntu

/usr/java/packages/lib/amd64
/usr/lib/x86_64-linux-gnu/jni
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
/usr/lib/jni
/lib:/usr/lib

sábado, 6 de julio de 2019

uninstall gnome games

sudo apt remove gnome-chess five-or-more four-in-a-row hitori iagno gnome-klotski lightsoff gnome-mahjongg gnome-mines gnome-nibbles gnome-tetravex gnome-taquin tali swell-foop gnome-robots quadrapassel aisleriot

sábado, 13 de abril de 2019

Install ubuntu 18.10 in Asus VivoBook Pro

Ah, so I solved it this way:



1. Disable Fast Boot and Secure Boot (or Secure loader).



2. Plug in the bootable USB with the Linux distro (mine was Ubuntu 16.04)



3. When you see the loader to "Install Ubuntu" etc ... press "e" and edit a line:

Replace "quiet splash" to "nomodeset" and press F10 to boot.



Then after the installation is complete, you will have to reboot. 



4. This time you will now encounter the GRUB. Again, press "e" and edit a line:

In the line that starts with "linux", add "nouveau.modeset=0" at the end of that line.



Your Linux should now boot. 



P.S. Mark the thread as solved if this solves the issue 

5. After this, you need to install the nvidia drivers. Reboot. And then it's done.