Skip to content

Instantly share code, notes, and snippets.


Zeke Sikelianos zeke

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'
additionalProperty: parameter
message: should NOT have additional properties
- keyword: additionalProperties
dataPath: '.paths[''/storages/{storageId}/preview''].get.parameters[0]'
schemaPath: '#/additionalProperties'
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({
View gist:480a8651a853320f1ed2caee434026a7
$ script/compare-source-content-to-translations.js
Extra Japanese files (82)
View now-deployment-github-action.hcl
workflow "lint and deploy" {
on = "push"
resolves = [
action "install" {
uses = "actions/npm@94e6933"
View cheerio-with-promises.js
const cheerio = require('cheerio')
const html = `
<li>Hello A</li>
<li>Hello B</li>
<li>Hello C</li>
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 returned 502
View query.js
{ address: 'North Alabama Electric Cooperative, Alabama',
key: 'AIzaSyDL4pgEDGAsTEoDsswiiAZFx_4uU9zho2c' }
View gist:9b0419f50025355894cc9eb6fabb23e4
Updated CI configs for nightly release builds
> 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.