- Electron languages and progress: https://electronjs.org/languages
- Why Crowdin? https://github.com/electron/i18n/blob/master/crowdin.md
- GitHub's localization manager: @alebourne
- Another Node.js app at GitHub that wants to internationalize: https://lab.github.com
- Dependabot updates dependencies. You can give it a whitelist of deps to automatically merge when checks are passing: https://dependabot.com
- cryptocurrency rewards spam: utopian.io
- Node.js client for v1 and v2 Crowdin APIs: https://github.com/crowdin-node
- OpenAPI schema for unreleased Crowdin v2 API: https://github.com/crowdin-node/crowdin-node/blob/master/schemata/v2.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/git/forks/library master* | |
$ npm run watch | |
> [email protected] 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" | |
> [email protected] build /Users/z/git/forks/library | |
> npm run build:main && npm run build:inline |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Standard | |
on: | |
pull_request: | |
paths: | |
- '*.js' | |
jobs: | |
lint: | |
name: lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo = [ | |
{ fields: [ 'a1', 'a2' ] }, | |
{ fields: [ 'b1', 'b2' ] }, | |
{ fields: [ 'c2' ] } | |
] | |
// method 1: forEach | |
// fieldsThatEndWithOne = [] | |
// foo.forEach(f => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
workflow "lint and deploy" { | |
on = "push" | |
resolves = [ | |
"lint", | |
"deploy/alias", | |
] | |
} | |
action "install" { | |
uses = "actions/npm@94e6933" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cheerio = require('cheerio') | |
const html = ` | |
<ul> | |
<li>Hello A</li> | |
<li>Hello B</li> | |
<li>Hello C</li> | |
</ul> | |
` | |
const $ = cheerio.load(html) |