Skip to content

Instantly share code, notes, and snippets.

View zeke's full-sized avatar
🍊
Busy! @-message me directly if I'm slow to respond.

Zeke Sikelianos zeke

🍊
Busy! @-message me directly if I'm slow to respond.
View GitHub Profile
~/git/forks/library master*
$ npm run watch
> library@1.2.0 watch /Users/z/git/forks/library
> npm run build && concurrently "nodemon --inspect=0.0.0.0 -r dotenv/config -e js,ejs server/index.js" "nodemon -e scss --watch styles --watch custom/styles -x npm run build"
> library@1.2.0 build /Users/z/git/forks/library
> npm run build:main && npm run build:inline

Chat with langapi.co

name: Standard
on:
pull_request:
paths:
- '*.js'
jobs:
lint:
name: lint
~/git/github/help-docs
$ npx thanks
✔ You depend on 20 authors, 8 teams, and 2 organizations who are seeking donations! ✨
Author Where to Donate Dependencies
sindresorhus patreon.com/sindresorhus del, supports-color, strip-ansi, ansi-regex, camelcase, chalk + 137 more
hzoo patreon.com/henryzhu @babel/core, @babel/preset-env, @babel/types, @babel/parser + 64 more
feross patreon.com/feross browserify, standard, resolve, safe-buffer, is-buffer, util, buffer + 29 more
thlorenz patreon.com/thlorenz browserify, resolve, util, convert-source-map, readdirp, deep-is + 21 more
foo = [
{ fields: [ 'a1', 'a2' ] },
{ fields: [ 'b1', 'b2' ] },
{ fields: [ 'c2' ] }
]
// method 1: forEach
// fieldsThatEndWithOne = []
// foo.forEach(f => {
- keyword: additionalProperties
dataPath: '.paths[''/storages/{storageId}/preview''].get.parameters[0]'
schemaPath: '#/additionalProperties'
params:
additionalProperty: parameter
message: should NOT have additional properties
- keyword: additionalProperties
dataPath: '.paths[''/storages/{storageId}/preview''].get.parameters[0]'
schemaPath: '#/additionalProperties'
params:
#!/usr/bin/env node
const github = require('../lib/github')()
const owner = 'github'
const repo = 'help-docs'
const pull_number = 10230
async function main () {
let { data:commits } = await github.pulls.listCommits({
owner,
$ script/compare-source-content-to-translations.js
Extra Japanese files (82)
dotcom/articles/about-github-s-ip-addresses.md
dotcom/articles/about-github-s-use-of-your-data.md
dotcom/articles/about-your-organization-s-news-feed.md
dotcom/articles/about-your-organization-s-profile.md
dotcom/articles/accessing-a-project-s-community-profile.md
dotcom/articles/accessing-your-organization-s-settings.md
workflow "lint and deploy" {
on = "push"
resolves = [
"lint",
"deploy/alias",
]
}
action "install" {
uses = "actions/npm@94e6933"
const cheerio = require('cheerio')
const html = `
<ul>
<li>Hello A</li>
<li>Hello B</li>
<li>Hello C</li>
</ul>
`
const $ = cheerio.load(html)