Skip to content

Instantly share code, notes, and snippets.

View kinlane's full-sized avatar

Kin Lane kinlane

View GitHub Profile
@kinlane
kinlane / apis.json
Created September 23, 2023 18:09
Sample APIs.json
{
"name": "Name",
"description": "Description",
"image": "https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg",
"tags": [
"API"
],
"created": "2014-04-07",
"modified": "2020-09-03",
"url": "http://example.com/apis.json",
@kinlane
kinlane / twitter-engineer.json
Created February 5, 2023 02:14
twitter-engineer.json
This file has been truncated, but you can view the full file.
[
{
"title": "Introducing Twitter Image Pipeline iOS framework for open source",
"body": "<p>Today, we’re excited to open source our Twitter Image Pipeline iOS framework, or TIP for short.<br /> </p> \n<h5><b>Why a new framework?</b></h5> \n<p>In 2014, Twitter embraced sharing and displaying images in its apps, which was a great enhancement to the communication platform built on brevity. But with that we had accrued a large swath of tech debt, were missing some key features, struggled with reliability, and had many different complex approaches to our images. We took some time to assess where we were at and identify where we wanted to go before building a new framework to solve those pain points. Once we adopted this new iOS framework, we were able to take advantage of its features and have iterated on it over the course of 2 years. Today we’re happy to share it with you so you can enjoy the same benefits.</p> \n<h5><b>What does TIP offer?</b></h5> \n<p>TIP is a framework that attempts to solve many
@kinlane
kinlane / twitter-blog-2006-through-january-2022.json
Created February 4, 2023 03:19
twitter-blog-2006-through-january-2022.json
This file has been truncated, but you can view the full file.
[
{
"title": "Have Your Quake And Twitter It Too",
"body": "<p>Last night I felt an earthquake but my fiance didn’t believe me. Within seconds my phone started twittering with reports from friends.</p> \n<blockquote> \n <p>“did anyone just feel that earthquake?”<br> “Just felt that earthquake. No one else here did.”<br> “damn, i always miss the quakes”</p> \n</blockquote> \n<p>Aha! See? It was an earthquake and Twitter had my back. <a href=\"http://earthquake.usgs.gov/eqcenter/recenteqsus/Quakes/nc40187964.php#details\">The quake was a light 4.4</a> centered somewhere in Sonoma county.</p>",
"date": "2006-08-03T07:00:00.000Z",
"url": "https://blog.twitter.com/en_us/a/2006/have-your-quake-and-twitter-it-too",
"domain": "blog.twitter.com"
},
{
"title": "New Twitter Sharing Feature",
@kinlane
kinlane / test-tewitter.json
Created February 4, 2023 01:46
test-twitter.json
This file has been truncated, but you can view the full file.
[
{
"body": "<p><b style=\"\">Twitter Blue is back!</b><br /> </p> \n<p>Starting today, we’re re-enabling Twitter Blue sign ups on iOS and web. Twitter Blue subscribers will get access to subscriber-only features* such as Edit Tweet, 1080p video uploads and reader mode. Subscribers will also receive a blue checkmark after their accounts are reviewed to ensure they meet all of our requirements, including our <a href=\"https://help.twitter.com/rules-and-policies/twitter-impersonation-and-deceptive-identities-policy\">rules against impersonation</a>. Accounts found to be breaking our rules may be suspended without a refund.</p> \n<p>Twitter Blue is $8/month on web, and $11/month for those who sign up on iOS. Subscribers who sign up on one platform will have Twitter Blue access on all supported platforms (iOS, Android, and web). Existing Twitter Blue subscribers will be able to <a href=\"https://help.twitter.com/en/using-twitter/twitter-blue\">upgrade, cancel, or auto-renew</a> their subscription at the new pr
Twitter Blog Links to 2015
<p><a href="https://blog.twitter.com/en_us/topics/product/2022/twitter-blue-update" target="_blank">Twitter Blue is back. And gold checkmarks are here!</a></p>
<p>By&nbsp;</p>
<p><a href="https://blog.twitter.com/content/blog-twitter/official/en_us/authors.ptraughber.html" target="_blank">@ptraughber</a></p>
<p>&nbsp;on&nbsp;Monday, 12 December 2022</p>
@kinlane
kinlane / twitter-openapi-v2.json
Created January 19, 2023 00:06
Twitter OpenAPI v2
{
"openapi" : "3.0.0",
"info" : {
"description" : "Twitter API v2 available endpoints",
"version" : "2.60",
"title" : "Twitter API v2",
"termsOfService" : "https://developer.twitter.com/en/developer-terms/agreement-and-policy.html",
"contact" : {
"name" : "Twitter Developers",
"url" : "https://developer.twitter.com/"
@kinlane
kinlane / temp3.html
Created January 11, 2023 05:54
temp3.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="./swagger-ui.css">
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16">
<style>
@kinlane
kinlane / temp2.html
Created January 11, 2023 05:26
temp2.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
@kinlane
kinlane / temp.html
Created January 11, 2023 05:19
temp
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="./swagger-ui.css">
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16">
@kinlane
kinlane / platformops-rate-limiting-tyk.js
Created February 15, 2022 00:52
platformops-rate-limiting-tyk
<div class="postman-run-button"
data-postman-action="collection/fork"
data-postman-var-1="10354132-b643fce5-db23-482a-ac5b-f7988f50dfa6"
data-postman-collection-url="entityId=10354132-b643fce5-db23-482a-ac5b-f7988f50dfa6&entityType=collection&workspaceId=b21abe55-7e4e-4a6c-8710-4d99db562dee"></div>
<script type="text/javascript">
(function (p,o,s,t,m,a,n) {
!p[s] && (p[s] = function () { (p[t] || (p[t] = [])).push(arguments); });
!o.getElementById(s+t) && o.getElementsByTagName("head")[0].appendChild((
(n = o.createElement("script")),
(n.id = s+t), (n.async = 1), (n.src = m), n