Skip to content

Instantly share code, notes, and snippets.

View nijikokun's full-sized avatar
🍀
working

Niji nijikokun

🍀
working
  • Product Manager
  • San Diego, California
View GitHub Profile
@nijikokun
nijikokun / kong-admin.oas.yaml
Created December 12, 2019 18:09
Kong Admin API OpenAPI Spec
openapi: 3.0.0
info:
version: '1.3'
title: Kong Admin API
license:
name: Apache 2.0
description: ''
contact:
name: Kong
servers:
@nijikokun
nijikokun / cla.md
Created November 7, 2018 00:02
Kong Contributor License Agreement

Kong Contributor License Agreement

Thank you for your interest in making a Contribution to a project of Kong Inc., a USA company with notice address at [251 Post St, 2nd Floor San Francisco, CA, 94108, USA] (“Kong” or “we”). In order to clarify the intellectual property license granted with Contributions from you, Kong must have an Individual Contributor License Agreement (“ICLA”) on file that has been signed by you, a developer of software or other technology (either an individual or an entity), indicating agreement to the license terms below. By electronically signing below, you are consenting to transact electronically and are entering into a binding contract, and you accept and agree to the following terms and conditions for your Contributions submitted Kong.

BEFORE SIGNING AND/OR CLICKING A BUTTON TO E-SIGN OR ACCEPT, CAREFULLY READ THE TERMS AND CONDITIONS OF THIS AGREEMENT AND ANY TERMS OF USE PROVIDED THROUGH THE SIGNING PROCESS.

If you are not authorized as set forth above, do not complete the

@nijikokun
nijikokun / yaml.syntax.js
Created August 8, 2011 02:14
SyntaxHighlighter for YAML
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.0.320 (July 26 2009)
*
@nijikokun
nijikokun / about.md
Last active June 25, 2020 13:57
Revival minimal github pages theme (original by @orderedlist)

Revival Minimal Theme for Github Pages

I was tired of the unreadable minimal theme by @orderedlist so I overhauled the font sizing and typography to generate this beautiful modern style for forward thinking open source projects to use.

If you've ever used Gitbook, you'll be familiar with my modern / crisp styling and attention to detail.

Preview

Install

@nijikokun
nijikokun / example.md
Created May 12, 2020 00:30
Better Errors w/ Advanced Option

Error Pulling Repository

401 Unauthorized

See More
HTTPError: 401 Unauthorized
at Function.discover (/some/path/to/file.js:7:32)
@nijikokun
nijikokun / enhancements.less
Last active April 10, 2019 21:13
Seti UI Icon Enhancements
// Atom Seti UI Icon Enhancements
// Nijiko Yonskai <nijikokun@gmail.com> 2014
// License MIT
// Colors
@color-default: #D3D6D5;
@color-bower: #F0582B;
@color-coffee: #a6814f;
@color-css: #29A8DE;
@nijikokun
nijikokun / jsonToMarkdownTable.js
Last active August 29, 2018 12:11
JSON to Markdown Table
function jsonToMarkdownTable (array, columns) {
var cols = columns
? columns.split(",")
: Object.keys(array[0])
var table = ""
table += cols.join(" | ")
table += "\r\n"
table += cols.map(function () {
@nijikokun
nijikokun / pify.js
Created June 24, 2016 01:15
< 35 line promisify that works in browsers and node.js
function pify (method, context) {
var resolver, rejector
var error, success
var done = false
var promise = {
then: function (a) {
if (!done && success != null) done = true, a(success); else resolver = a
return { catch: promise.catch }
},
sudo chmod -R guo+w storage
sudo chmod -R guo+w bootstrap/cache
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -yqq php7.2 php7.2-common
sudo apt-get install -yqq php7.2-dom php7.2-cli php7.2-fpm php7.2-curl php7.2-gd php7.2-mysql php7.2-mbstring zip unzip
sudo service apache2 stop
sudo service nginx start