Skip to content

Instantly share code, notes, and snippets.

View jrichardsz's full-sized avatar

JRichardsz jrichardsz

View GitHub Profile
# 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
jrichardsz / index.html
Created July 18, 2022 04:08 — forked from nowucca/index.html
elementary material style
<!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="http://www.w3.org/1999/html"
xmlns="http://www.w3.org/1999/html"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
@jrichardsz
jrichardsz / index.html
Last active July 18, 2022 01:02 — forked from ferminrp/index.html
Bootstrap elementary starter template
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<meta charset="utf-8">
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"elasticbeanstalk:*",
"ec2:*",
"ecs:*",
"ecr:*",
@jrichardsz
jrichardsz / db.sql
Last active March 13, 2022 23:20 — forked from EnricoSteez/db.sql
SIRS Database Creation
-- MySQL dump 10.13 Distrib 8.0.28, for Win64 (x86_64)
--
-- Host: localhost Database: main
-- ------------------------------------------------------
-- Server version 8.0.28
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
-- 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: 127.0.0.1 Database: statsinfo_dev
-- ------------------------------------------------------
-- Server version 5.5.28-0ubuntu0.12.04.3
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@jrichardsz
jrichardsz / net.js
Created March 5, 2022 00:04 — forked from sid24rane/net.js
Simple TCP Client and Server in Node.js (Covering all useful Properties & Methods)
var net = require('net');
// creates the server
var server = net.createServer();
//emitted when server closes ...not emitted until all connections closes.
server.on('close',function(){
console.log('Server closed !');
});
@jrichardsz
jrichardsz / gitcheats.txt
Created February 22, 2022 19:31 — forked from mkhairi/gitcheats.txt
git cheats git snippets gittips git snippets
# 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
@jrichardsz
jrichardsz / html responsive hamburger menu vertical t1.md
Last active February 20, 2022 14:06 — forked from tomhodgins/adaptive-nav.html
html responsibe hamburger menu templates template

index.html

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Responsive Nav</title>
  <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, minimal-ui">
  <style>html{opacity:0;-webkit-text-size-adjust: 100%;}body{margin:0}</style>
@jrichardsz
jrichardsz / Duden Offline.html
Created February 20, 2022 01:42 — forked from jpluimers/Duden Offline.html
The HTML page that www.duden.de shows when it is offline: a definition of "Wartung" (German word for Maintenance)
<!DOCTYPE html>
<!-- saved from url=(0021)https://www.duden.de/ -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><link rel="apple-touch-icon" href="https://www.duden.de/favicon.svg"><link rel="shortcut icon" href="https://www.duden.de/favicon.png"><meta name="theme-color" content="#FECF2F"><meta name="viewport" content="width=device-width, user-scalable=no"><!--[if lt IE 9]><script src="../res/js/html5shiv/dist/html5shiv.min.js"></script><![endif]--><title>Duden Offline</title><style>/* normalize.css v2.1.0 | MIT License | git.io/normalize */
/* normalize.css v2.1.0 | HTML5 Display Definitions | MIT License | git.io/normalize */
article,
aside,
details,
figcaption,
figure,
footer,