Skip to content

Instantly share code, notes, and snippets.

View raimonizard's full-sized avatar
😀
Learning...

raimonizard raimonizard

😀
Learning...
View GitHub Profile
@raimonizard
raimonizard / Install-SceneBuilder-Ubuntu.md
Last active February 29, 2024 10:13
A gist post with instructions to install Scene Builder in Ubuntu.

Purpose

This Gist Post has the purpose to illustrate how to install Scene Builder software on Linux Ubuntu-Like Systems.

Scene Builder is a crossplatform software with the aim of creating and design GUIs (Graphical User Interfaces) compatible with the library JavaFX for desktop software applications development. The output is an xml file with the definition of the elements of the graphic interface and captured events.

Usually it is operated inside IntelliJ IDE from JetBrains with its pluguin but it is a little bit unstable. In the other hand, the Scene Builder desktop application, which is the protagonist of this gist post, works much better.

Note

>This was tested for Scene Builder 21.0.0 over an Ubuntu 22.04.3 LTS 64-bit GNOME Version 42.9 but it should work on any Ubuntu starting from version 18.04.4 LTS and above.

@raimonizard
raimonizard / youtube.md
Created February 29, 2024 08:45 — forked from bitsurgeon/youtube.md
Markdown cheatsheet for YouTube

Embed YouTube Video in Markdown File

  1. Markdown style
[![Watch the video](https://img.youtube.com/vi/nTQUwghvy5Q/default.jpg)](https://youtu.be/nTQUwghvy5Q)
  1. HTML style
<a href="http://www.youtube.com/watch?feature=player_embedded&v=nTQUwghvy5Q" target="_blank">
@raimonizard
raimonizard / markdown-tips.md
Created February 1, 2024 12:49 — forked from picuu/markdown-tips.md
Markdown Tips for GitHub
@raimonizard
raimonizard / machine_learning_intro.ipynb
Last active January 24, 2024 15:37
machine_learning_intro.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@raimonizard
raimonizard / Càlcul-alumnat-kotlin.md
Created December 13, 2023 11:45
Exemple d'un exercici senzill per MP03-UF2-Programació Modular

Exemple d'exercici de kotlin

Enunciat:

  1. El Departament d’Ensenyament de la Generalitat vol saber el percentatge nois i noies que hi ha a les aules. Dissenya un algoritme que pregunti quantes noies i nois hi ha a l’aula i aleshores en mostri els percentatges.

Solució usant programació modular en kotlin

import java.util.*

fun main(){
@raimonizard
raimonizard / Revenda-figura-Otaku.md
Last active February 21, 2024 15:37
Exemple d'un exercici senzill de kotlin per a la MP03-UF2-Programació Modular

Exemple d'exercici de kotlin

Enunciat:

Et dediques a vendre figures Otaku comprades a Tokio per wallapop. Si estan en bon estat les pots revendre per un +25%, si no, per +10%. Implementa l’algoritme.

Solució usant programació modular en kotlin

fun readFloat(pMessage: String
              , pErrorMsg: String
              , pMin: Float
@raimonizard
raimonizard / MySQL: Deal with secure-file-priv.md
Last active January 10, 2024 11:55
A trouble shooting guide to deal with global variable "secure-file-priv" in MySQL while loading data
@raimonizard
raimonizard / Exploració-carpetes-java.io.File.md
Last active December 13, 2023 11:46
Funció recursiva en Java per a explorar el contingut d'una carpeta
import java.io.File;

public class Carpetes {
    public static void main(String[] args) {
        File root = new File("Data");
        carpetes(root);
    }

 public static void carpetes(File f){
@raimonizard
raimonizard / Persona-TYPE.md
Last active May 2, 2023 10:57
TYPE Persona BDOR
-- Declaració del tipus (Classe) Persona	
CREATE OR REPLACE TYPE T_Persona AS OBJECT(
	-- Atributs
	dni VARCHAR2(9),
	nom VARCHAR2(50),
	cognom1 VARCHAR2(50),
	cognom2 VARCHAR2(50),
	dataNaixement DATE,
	paisNaixement VARCHAR2(50),