Skip to content

Instantly share code, notes, and snippets.


JRichardsz jrichardsz

View GitHub Profile
jrichardsz /
Created Aug 10, 2022 — forked from azagniotov/
Example to create beautiful REST API docs in Markdown, inspired by Swagger API docs.
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](
View PayPal API Standards
# API Design Guidelines
# Introduction
The PayPal platform is a collection of reusable services that encapsulate well-defined business capabilities. Developers are encouraged to access these capabilities through Application Programming Interfaces (APIs) that enable consistent design patterns and principles. This facilitates a great developer experience and the ability to quickly compose complex business processes by combining multiple, complementary capabilities as building blocks.
PayPal APIs follow the [RESTful][0] architectural style as much as possible. To support our objectives, we have developed a set of rules, standards, and conventions that apply to the design of RESTful APIs. These have been used to help design and maintain hundreds of APIs and have evolved over several years to meet the needs of a wide variety of use cases.
We are sharing these guidelines to help propagate good API design practices in general. We have pulled extensively from the broader community and believe that it is importan
jrichardsz / index.html
Created Jul 18, 2022 — forked from nowucca/index.html
elementary material style
View index.html
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" xmlns=""
xmlns=""> <!--<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
jrichardsz / index.html
Last active Jul 18, 2022 — forked from ferminrp/index.html
Bootstrap elementary starter template
View index.html
<!DOCTYPE html>
<html lang="en" dir="ltr">
<link rel="stylesheet" href="" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<script src="" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<meta charset="utf-8">
View AWSElasticBeanstalkFullAccess.json
"Version": "2012-10-17",
"Statement": [
"Effect": "Allow",
"Action": [
jrichardsz / db.sql
Last active Mar 13, 2022 — forked from EnricoSteez/db.sql
SIRS Database Creation
View db.sql
-- MySQL dump 10.13 Distrib 8.0.28, for Win64 (x86_64)
-- Host: localhost Database: main
-- ------------------------------------------------------
-- Server version 8.0.28
/*!50503 SET NAMES utf8mb4 */;
View woodenware.sql
-- CREATE DATABASE IF NOT EXISTS `statsinfo_dev` /*!40100 DEFAULT CHARACTER SET utf8 */;
-- USE `statsinfo_dev`;
-- MySQL dump 10.13 Distrib 5.5.28, for debian-linux-gnu (i686)
-- Host: Database: statsinfo_dev
-- ------------------------------------------------------
-- Server version 5.5.28-0ubuntu0.12.04.3
jrichardsz / net.js
Created Mar 5, 2022 — forked from sid24rane/net.js
Simple TCP Client and Server in Node.js (Covering all useful Properties & Methods)
View net.js
var net = require('net');
// creates the server
var server = net.createServer();
//emitted when server closes ...not emitted until all connections closes.
console.log('Server closed !');
jrichardsz / gitcheats.txt
Created Feb 22, 2022 — forked from mkhairi/gitcheats.txt
git cheats git snippets gittips git snippets
View gitcheats.txt
# shortform git commands
alias g='git'
# push changes to an empty git repository for the first time
git push --set-upstream origin master
# Remove + and - from start of diff lines
git diff --color | sed "s/^\([^-+ ]*\)[-+ ]/\\1/" | less -r
# clear out git hooks