Skip to content

Instantly share code, notes, and snippets.

Avatar

JRichardsz jrichardsz

View GitHub Profile
@jrichardsz
jrichardsz / gist:825a0e7dbe08ac3b7d8011182e891be5
Created January 25, 2023 16:42 — forked from rxaviers/gist:7360908
emoji icon emoticon github markdown
View gist:825a0e7dbe08ac3b7d8011182e891be5

People

: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:
@jrichardsz
jrichardsz / Server.js
Last active January 12, 2023 17:40 — 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("socket.io")(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
jrichardsz / d3-barchart.html
Last active November 8, 2022 16:31 — forked from achillesp/d3-barchart.html
barchart using d3 with scale and axes, barchart bar chart
View d3-barchart.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Simple Bar Chart</title>
<script src="https://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<style>
.bar:hover {
fill: cyan;
@jrichardsz
jrichardsz / index.html
Created October 18, 2022 04:56 — forked from teyc/index.html
Monitoring Health Checks
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Health Check Status</title>
<link href="//unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="index.css">
@jrichardsz
jrichardsz / index.html
Created October 18, 2022 04:54 — forked from ClearlyElevated/index.html
Status Monitor
View index.html
<h1>STATUS MONITOR</h1>
<fieldset>
<legend>DISCORD BOT STATUS</legend>
<table>
<tr>
<td>Lutu Beta</td>
<td class="value"><span>Online</span></td>
</tr>
<tr>
<td>Boost Bot</td>
@jrichardsz
jrichardsz / 200.html
Created October 18, 2022 04:49 — forked from michel47/200.html
status code 200
View 200.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>200 - This page on your side of the Universe</title>
<!-- Google font -->
@jrichardsz
jrichardsz / status.html
Created October 18, 2022 04:47 — forked from binout/status.html
Status Page
View status.html
<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
</head>
<body>
<h1 class="title">💚 Alan - Status</h1>
<section class="section">
@jrichardsz
jrichardsz / beautiful.rest.api.docs.in.markdown.md
Created August 10, 2022 21:05 — forked from azagniotov/beautiful.rest.api.docs.in.markdown.md
Example to create beautiful REST API docs in Markdown, inspired by Swagger API docs.
View beautiful.rest.api.docs.in.markdown.md
View PayPal API Design Patterns
/
# API Design Patterns And Use Cases
This document lists various useful patterns for API design. We encourage API developers to consider the following patterns as a guide while designing APIs for services.
### Document Semantics, Formatting, and Naming
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC 2119](https://www.ietf.org/rfc/rfc2119.txt).