Skip to content

Instantly share code, notes, and snippets.


JRichardsz jrichardsz

View GitHub Profile
View java unit test snippets - spring boot rest controller
jrichardsz / gist:825a0e7dbe08ac3b7d8011182e891be5
Created Jan 25, 2023 — forked from rxaviers/gist:7360908
emoji icon emoticon github markdown
View gist:825a0e7dbe08ac3b7d8011182e891be5


:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
View html split panes - v1.html
<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1">
body {
font-family: Arial;
color: white;
jrichardsz / corrupt blobs.html
Last active Jan 16, 2023
javascript camera sandbox snippets
View corrupt blobs.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
Blob from mediaRecorder.stop()<br />
<audio controls src="data:audio/webm;codecs=opus;base64,GkXfo59ChoEBQveBAULygQRC84EIQoKEd2VibUKHgQRChYECGFOAZwH/////////FUmpZpkq17GDD0JATYCGQ2hyb21lV0GGQ2hyb21lFlSua7+uvdeBAXPFh7ckveqAiXGDgQKGhkFfT1BVU2Oik09wdXNIZWFkAQEAAIC7AAAAAADhjbWERzuAAJ+BAWJkgSAfQ7Z1Af/////////ngQCjQeiBAACA+4PeoH/Pz+viVaGI5AB0wvZhPSJoZMPIjAJBg2hZOWdyNnaSq4mDPctrSIt/O8nvtcmWeFIP+DrqmoTF5XPZYcIaRgsco7yunjDalb83DnxBago64n7Crj7Lj+Z2+RF5WjtPFN8oz0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKwqnQQaVKKmwd7f3LyZFt5SAiDu3uzM5m0cIBQFoVuP91swnfQnMcNxvUEsa7jSxTfbpOr7qRDBXRLTAFO8Uv/DSAzt/5dfxMf7w/bf02EnjtX9yng/TLFqxec6rtA1fS9Kc0ga38mSq68Beh7V4mgggFn9I+SKD//uOovwFG4V/7wUBypnsX2c8OlIUKlJ26R1fDU+mAAAADyqJ+MEI7w5dDlXVZgrkq0mL39h7SYdihM69niTKHsd9v6aQn3EkjnuBIodwYXjJqv/+CH9UiS5XrRu3OIulejYjD8n4a3dvnvk5dkXrO2C6KVwydmkhCNJhGH5FlEeJXltKEf5z4xA1fcNUDfad/s/zbIYqGBq
jrichardsz / Server.js
Last active Jan 12, 2023 — forked from harsh317/Server.js
comments code sample
View Server.js
const express = require("express");
const app = express();
const server = require("http").Server(app);
const { v4: uuidv4 } = require("uuid");
const io = require("")(server);
const { ExpressPeerServer } = require("peer");
const url = require("url");
const peerServer = ExpressPeerServer(server, { // Here we are actually defining our peer server that we want to host
debug: true,
jrichardsz / nyc
Created Dec 11, 2022
nodejs unit test snippets
View nyc

run code before


module.exports = {
 include: "src/main/node/**/*.js",
 all : true,
 "hook-require": true ,
 'instrument': false
jrichardsz /
Created Dec 10, 2022
Which free version of Java can I use for production environments and or commercial purposes?

Licences OTN vs BCL

Oracle JDK 8 (aka 1.8) no longer uses BCL (Binary Code License). From April 16, 2019, Oracle JDK 8 uses the OTN (Oracle Technology Network) license, which requires you to create an Oracle account to download JDK 8 and payment!!

BCL = Oracle Binary Code License

  • You can use it, but you can't modify it
  • You agree not to sue Oracle if anything goes wrong
  • You can redistribute/publish it (so that you can sell products with Java embedded), but if you do, you agree to indemnify Oracle; so if someone sues you, you can't drag Oracle into it.
jrichardsz /
Created Dec 10, 2022
Jest Coverage Not Shown For Untouched Source Files