Collection of emojis and one line text art like (╯°□°)╯︵ ┻━┻ 🤗
| (function() { | |
| var CSSCriticalPath = function(w, d, opts) { | |
| var opt = opts || {}; | |
| var css = {}; | |
| var pushCSS = function(r) { | |
| if(!!css[r.selectorText] === false) css[r.selectorText] = {}; | |
| var styles = r.style.cssText.split(/;(?![A-Za-z0-9])/); | |
| for(var i = 0; i < styles.length; i++) { | |
| if(!!styles[i] === false) continue; | |
| var pair = styles[i].split(": "); |
A collection of Markdown code and tricks that were tested to work in Gist.
This and all public gists in https://gist.github.com/ww9 are Public Domain. Do whatever you want with it including , no need to credit me.
- Reformat this whole document and assimilate these:
| module.exports = { | |
| /* | |
| Headers of the page | |
| - Nuxt.js uses vue-meta to update the headers and html attributes of your application. | |
| - Nuxt.js configures vue-meta with these options: | |
| { | |
| keyName: 'head', // the component option name that vue-meta looks for meta info on. | |
| attribute: 'data-n-head', // the attribute name vue-meta adds to the tags it observes | |
| ssrAttribute: 'data-n-head-ssr', // the attribute name that lets vue-meta know that meta info has already been server-rendered | |
| tagIDKeyName: 'hid' // the property name that vue-meta uses to determine whether to overwrite or append a tag |
| const HOST_URL = process.env.BASE_URL || 'http://localhost:3000'; | |
| //const API_URL = process.env.BASE_API_URL || 'http://14.225.11.12:3030/api/client'; | |
| const API_URL = process.env.BASE_API_URL || 'http://localhost:3000'; | |
| const webpack = require("webpack"); | |
| module.exports = { | |
| mode: 'spa', |
To learn more about how to use Docsify to make a light Markdown-based docs site, see:
Using GitHub GraphQL API.
See related gist here.
Get repos from the GitHub GraphQL API which are owned by the authenticated user (owner of the token).
Instead of OWNER, you can also change the ownerAffiliations filter in the query to be COLLABORATOR or ORGANIZATION_MEMBER. Or omit the filter.
Instead of setting privacy filter to PUBLIC, you can set to PRIVATE. Or omit the filter.
How to set up a Twitter dev account, register Twitter app and generate Twitter API tokens
This guide takes you through setting up a new Twitter account all the way through to generated Twitter auth tokens (aka API tokens or credentials). These tokens must be used on every request, such as fetch or create Twitter content.
- Register a Twitter account.
- Apply for a Twitter developer account.
Get 100 repos owned by a user or org, with the most recently pushed repo first
If you have access to see the private repos of an org or user, you'll see those too.
- Go to the GraphQL API explorer: