Adding 2D Surface or Ground Boundaries in Unity

Adding 2D Surface or Ground Boundaries in Unity

Tiempo de lectura: 2 minutos Reading time: 2 minutes Continuing the tutorials on Unity, I’m going to show you how to add boundaries to the tile we added in the previous post. We have this surface from the previous post. The first thing we need to do is select the floor within Hierarchy: And the options will appear on the … Read more

How to Create a 2D Surface or Floor with Unity

How to Create a 2D Surface or Floor with Unity

Tiempo de lectura: 4 minutos Reading time: 4 minutes In today’s post, I’m going to show you how we can create a surface using Unity. I’ve used this image that you can download here (it is licensed under CC0, created/distributed by Kenney (www.kenney.nl)): We’re going to copy this .png image into the Sprites folder (Assets > Sprites) in our Unity … Read more

Open a Popup Window in IntelliJ from a Button

Open a Popup Window in IntelliJ from a Button

Tiempo de lectura: 2 minutos To do this, we will first design one of the windows where we create a button that, when pressed, will open an alert window of the selected type: information, caution, etc. Each window or class in IntelliJ must have its corresponding FXML, which is shown below: In this case, our main window will be devcodelight.fxml, … Read more

Convert Android XML Vector to SVG

Convert Android XML Vector to SVG

Tiempo de lectura: 2 minutos Reading time: 2 minutes We can convert an Android XML vector to SVG for use on the web. We have the following XML taken from the SVG repository with CC0 license: <vector android:height=”50dp” android:viewportHeight=”512″ android:viewportWidth=”512″ android:width=”50dp” xmlns:android=”http://schemas.android.com/apk/res/android”> <path android:fillColor=”#5D9BEB” android:pathData=”M0,256.006C0,397.402 114.606,512.004 255.996,512C397.394,512.004 512,397.402 512,256.006C512.009,114.61 397.394,0 255.996,0C114.606,0 0,114.614 0,256.006z”/> <path android:fillColor=”#4988DB” android:pathData=”M507.859,301.669l-0.604,-0.554c-0.114,-0.118 -0.163,-0.283 -0.286,-0.395c0,0 -147.972,-147.983 -148.095,-148.095l-97.389,-89.274c-2.378,-2.163 … Read more

How to validate your website to meet WCAG 2.2 accessibility criteria

How to validate your website to meet WCAG 2.2 accessibility criteria

Tiempo de lectura: 2 minutos Reading time: 2 minutes If we want to meet the accessibility criteria of the WCAG 2.2 standard, we can use various tools to assist us. One very useful tool is WAVE, available as a web tool and browser plug-in (Firefox/Chrome). It allows us to analyze the web for accessibility errors and offers the following features: … Read more

Restore root Password in MySQL without Access

Restore root Password in MySQL without Access

Tiempo de lectura: < 1 minuto Reading time: < 1 minute If we install MySQL and forget the root user password, we can recover it using the following steps: First, we start MySQL with sudo from the Linux console: sudo mysql Once inside, to restore the root password, execute the following command: ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'new_password'; Replace ... Read more

Allow Using .htaccess in Apache2

Allow Using .htaccess in Apache2

Tiempo de lectura: < 1 minuto Reading time: < 1 minute In order to use .htaccess on our Apache server, we need to enable the option in the Apache configuration file. To do this, we open the file: sudo vi /etc/apache2/apache2.conf Once it’s open, we need to go to the line that says AllowOverride None and change it to: AllowOverride All ... Read more

Hide directory tree (index) in Apache2

Hide directory tree (index) in Apache2

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute Yes, we have folders to organize our code in the www directory and we don’t want them to appear when accessed through the browser. All you need to do is create a .htaccess file and add the following line: Options -Indexes If the change is not applied, you need to … Read more

Open another window in IntelliJ using JavaFX

Open another window in IntelliJ using JavaFX

Tiempo de lectura: 2 minutos Reading time: 2 minutes To do this, we will first design one of the windows where we create a button that, when pressed, will open another window with a different design. Each window or class in IntelliJ must have its corresponding FXML, as shown below: In this case, our main window will be “devcodelight.fxml”, where … Read more