Skip to content

Instantly share code, notes, and snippets.

View raimonizard's full-sized avatar
馃懢
Teaching and learning

raimonizard raimonizard

馃懢
Teaching and 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 December 9, 2024 10:19
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鈥橢nsenyament 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鈥檃ula 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鈥檃lgoritme.

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 / Formalitzaci贸-TYPE-TYPE BODY-Main-BDOR.md
Created May 2, 2023 11:10
Formalitzaci贸 de TYPE + TYPE BODY + Main d'un objecte PLSQL de BDOR

Formalitzaci贸 de la creaci贸 d鈥檜n TYPE:

CREATE OR REPLACE TYPE <nom_classe> AS OBJECT(
    <atribut_1> <tipus_de_dades>,
    <atribut_2> <tipus_de_dades>,
    <atribut_N> <tipus_de_dades>,
    CONSTRUCTOR FUNCTION <nom_classe> (<par脿metre_1> <tipus_de_dades>, <par脿metre_N> <tipus_de_dades>) RETURN SELF AS RESULT,
    [MEMBER | STATIC] [FUNCTION | PROCEDURE] <nom_m猫tode>[(<par脿metre_1> <tipus_de_dades>, <par脿metre_N> <tipus_de_dades>)] [RETURN <tipus_de_dades>])
    [MAP | ORDER] MEMBER FUCTION <nom_m猫tode> RETURN <tipus_de_dades>
@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),