Skip to content

Instantly share code, notes, and snippets.

View franciscoernestoteixeira's full-sized avatar

Francisco Ernesto Teixeira franciscoernestoteixeira

View GitHub Profile
@gavvvr
gavvvr / Eclipse-based-apps-startup-fixed-with-Liberica-on-osx.md
Last active June 23, 2020 15:10
Eclipse-based apps on OSX without Oracle Java

It is hard to make Eclipse-based apps to work on Max OS X if you do not have Oracle Java installed. Usually you get an error like this:

To open X you need to install the legacy java se 6 runtime

Liberica JDK fixes running Eclipse-based apps on Mac OS. So, you can install tools like DBeaver or SpringToolsSuite from command line without need to modify eclipse.ini or any other files.

@julianxhokaxhiu
julianxhokaxhiu / create-iso.sh
Last active October 17, 2024 08:46
Simple bash script to create a Bootable ISO from macOS Catalina Install Image from Mac App Store
#!/usr/bin/env bash
#===========================================================================
# Works only with the official image available in the Mac App Store.
# Make sure you download the official installer before running this script.
#===========================================================================
hdiutil create -o /tmp/Catalina.cdr -size 9000m -layout SPUD -fs HFS+J
hdiutil attach /tmp/Catalina.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build --nointeraction
hdiutil detach "/Volumes/Install macOS Catalina"
@posulliv
posulliv / docker-compose.yml
Last active October 16, 2024 12:45
Simple demo of Trino HA using Nginx reverse proxy.
version: '3.3'
services:
trino_a:
image: trinodb/trino
container_name: trino_a
ports:
- 8080:8080
volumes:
- ./trino_a.config.properties:/etc/trino/config.properties