Skip to content

Instantly share code, notes, and snippets.

View tuesd4y's full-sized avatar

Chris Stelzmüller tuesd4y

View GitHub Profile
@ThomasStuetz
ThomasStuetz / persistence.xml
Last active December 9, 2019 19:20
Simple persistence.xml for JavaEE 7
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" version="2.1">
<persistence-unit name="myPU" transaction-type="JTA">
<jta-data-source>java:jboss/datasources/MyDS</jta-data-source>
<properties>
<!--
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.format_sql" value="true"/>
<property name="hibernate.transaction.flush_before_completion" value="true"/>
<property name="hibernate.dialect" value="org.hibernate.dialect.DerbyDialect"/>
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active May 19, 2024 17:40
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@asheeshr
asheeshr / ardprintf.c
Last active January 11, 2024 16:37
A printf function for serial communication from Arduino boards
/*
This code should be pasted within the files where this function is needed.
This function will not create any code conflicts.
The function call is similar to printf: ardprintf("Test %d %s", 25, "string");
To print the '%' character, use '%%'
This code was first posted on http://arduino.stackexchange.com/a/201
*/