Skip to content

Instantly share code, notes, and snippets.

Martin Lehmann theneva

View GitHub Profile
View mistborn-mongoose.js
const mongoose = require('mongoose')
{ useMongoClient: true },
err => {
const bookSchema = new mongoose.Schema({
title: { type: String, required: true },
View Abbreviations
JPE Java Professional Edition
J2EE Java 2 Platform Enterprise Edition
JEE Java Enterprise Edition
J2SE Java 2 Platform, Standard Edition
EJB Enterprise JavaBean
MDB Message-Driven Bean
JAR Java ARchive
WAR Web ARchive
EAR Enterprise ARchive
WS Web Service
theneva / gradecalc.html
Created Nov 20, 2013
Average grade calculator (without support for ECTS).
View gradecalc.html
<!doctype html>
<link rel="stylesheet" href="bootstrap.min.css" type="text/css" />
<script type="text/javascript" src="//"></script>
$(document).ready(function() {
$('input').keypress(function(event) {
if (event.which == 13) {
You can’t perform that action at this time.