Skip to content

Instantly share code, notes, and snippets.

View nick-less's full-sized avatar
💤

nick-less

💤
  • Wiesbaden, Germany
View GitHub Profile
$EDITOR ~/.zshrc or $EDITOR ~/.bashrc
#-------- Wit - Nintendo Wii/GameCube Roms Manager {{{
#------------------------------------------------------
# DEMO: https://www.youtube.com/watch?v=_vcdofAUcPI
# DESC: Convert Wii or Gamecube games to compatible formats to work on Softmodded/Modded Nintendo Wii Console
# REFF: https://gist.github.com/openback/1138763
# Wii Backup Fusion GUI https://www.youtube.com/watch?v=8B2JOnFE5kM
# https://sourceforge.net/projects/usbloadergx/
@nick-less
nick-less / latch.pld
Created October 13, 2021 16:45
GAL D-Latch
Name Reg;
Partno 1;
Date 11/05/10;
Revision 01;
Designer Daryl;
Company Rictor;
Assembly None;
Location None;
Device G22V10;
Session session = getEntityManager.unwrap(Session.class);
SessionFactoryImplementor sfi = (SessionFactoryImplementor) session.getSessionFactory();
Connection connection = sfi.getSessionFactoryOptions().getServiceRegistry().getService(ConnectionProvider.class).getConnection();
@nick-less
nick-less / gist:74e63c2888724821cec6e30fc87245e7
Last active March 28, 2019 15:15
Start embbed H2 Database on Hibernate4 JPA to view data
Session session = (Session) entityManager.getDelegate();
SessionFactoryImplementor sfi = (SessionFactoryImplementor) session.getSessionFactory();
ConnectionProvider cp = sfi.getConnectionProvider();
Connection connection = cp.getConnection();
org.h2.tools.Server.startWebServer(connection);