Skip to content

Instantly share code, notes, and snippets.

🌏
Internationalizin'

Zeke Sikelianos zeke

🌏
Internationalizin'
Block or report user

Report or block zeke

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View filter-fields.js
foo = [
{ fields: [ 'a1', 'a2' ] },
{ fields: [ 'b1', 'b2' ] },
{ fields: [ 'c2' ] }
]
// method 1: forEach
// fieldsThatEndWithOne = []
// foo.forEach(f => {
View crowdin-openapi-v2-schema-errors.yml
- 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:
View analyize-pull-request-commit-timestamp.js
#!/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,
View gist:480a8651a853320f1ed2caee434026a7
$ 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
View now-deployment-github-action.hcl
workflow "lint and deploy" {
on = "push"
resolves = [
"lint",
"deploy/alias",
]
}
action "install" {
uses = "actions/npm@94e6933"
View cheerio-with-promises.js
const cheerio = require('cheerio')
const html = `
<ul>
<li>Hello A</li>
<li>Hello B</li>
<li>Hello C</li>
</ul>
`
const $ = cheerio.load(html)
View npm i electron@nightly
~/Desktop/my-electron-app master* 37s
$ npm i electron@nightly
npm WARN lifecycle The node binary used for scripts is /Users/z/.nodenv/shims/node but npm is using /usr/local/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> electron@4.0.0-nightly.20180816 postinstall /Users/z/Desktop/my-electron-app/node_modules/electron
> node install.js
Downloading tmp-80773-1-SHASUMS256.txt-4.0.0-nightly.20180816
Error: GET https://github.com/electron/nightlies/releases/download/v4.0.0-nightly.20180816/SHASUMS256.txt returned 502
/Users/z/Desktop/my-electron-app/node_modules/electron/install.js:47
View query.js
{ address: 'North Alabama Electric Cooperative, Alabama',
key: 'AIzaSyDL4pgEDGAsTEoDsswiiAZFx_4uU9zho2c' }
View semantic-manifest.md
View gist:9b0419f50025355894cc9eb6fabb23e4
https://github.com/electron/electron/pull/13042
Updated CI configs for nightly release builds
https://twitter.com/bitandbang/status/996813228196941824
> Tribal knowledge sucks for everyone.
>
> It's burdensome for owners of it because they need to spend a TON of time transferring it. It's burdensome for seekers of it because they need to spend a TON of time seeking and deciphering it.
>
You can’t perform that action at this time.