Skip to content

Instantly share code, notes, and snippets.

View ArtieReus's full-sized avatar

Arturo Reuschenbach ArtieReus

View GitHub Profile
@ArtieReus
ArtieReus / export-types.js
Created March 28, 2025 12:48
Add this file to the ui-components package under a new folder named scripts/, then execute it using the command: node scripts/export-types.js.
const fs = require("fs")
const path = require("path")
const componentsDir = path.join(__dirname, "../src/components")
const indexFilePath = path.join(__dirname, "../src/index.ts")
let componentNames = new Set()
let exportedComponents = new Set()
// Read components from the directory

React & Rockets

Falcon_Heavy_Demo_Mission_(40126461411)

Welcome to our live little coding exercise! 👋

Welcome to this exciting exercise where you'll get hands-on experience with JavaScript and Rockets using the SpaceX Open Source REST API. In this exercise, you'll have the chance to interact with data related to launches and rockets. Let's dive in and start exploring!

Exercise (approximately 1 hour)

@ArtieReus
ArtieReus / instructions.md
Last active May 24, 2023 13:09
Vscode migrate installed extensions to another machine

Make sure you have vscode and vscode CLI installed

  1. Download and install vscode from the official site from visualstudio

  2. Generate a symbolic link to be able to use the vscode CLI from the command line

      cd /usr/local/bin/code
      ln -s "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code"
@ArtieReus
ArtieReus / howtoAddReactAppElektra.md
Last active April 21, 2023 08:11
Mount a react app in an existing plugin in Elektra (testing porpouse)
  1. First choose an existing react plugin in elektra and add a new folder under widgets with an init.jsx file:
cd elektra/plugins/lbaas2/app/javascript/widgets/
mkdir test
cd test
touch init.jsx
  1. Create a init.jsx file with your react application. Ex:
@ArtieReus
ArtieReus / init.js
Last active April 19, 2023 12:12
Setup emotion cache in a react app
import React, {
useEffect,
useState,
forwardRef,
useRef,
useCallback,
createRef,
useMemo,
} from "react"
import Select from "react-select"