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
incage
incaged
incages
incaging
incalculabilities
incalculability
incalculable
incalculably
incalescence
incalescences
@zeke
zeke / npm-7-beta-installation-error.txt
Created August 27, 2020 18:51
unable to "npm install recent-github-activity" with npm 7 beta
$ npx recent-github-activity
Need to install the following packages:
recent-github-activity
Ok to proceed? (y) y
npm ERR! code ERESOLVE
npm ERR! unable to resolve dependency tree
npm ERR! A complete log of this run can be found in:
describe.only('developer.github.com pages', () => {
jest.setTimeout(30 * 60 * 1000)
it('works', async () => {
const urls = require('./top-old-developer-site-paths.json')
.slice(0, 10)
console.log({ urls })
for (const url of urls) {
@zeke
zeke / whatchanged.sh
Created May 8, 2020 03:07
git command for creating a diff of recent changes on a specific path (in this case, `content/v3`)
# print output in a manpage-style pager
git whatchanged --since="1 week ago" -p content/v3
# pipe it to stdout
git whatchanged --since="1 week ago" -p content/v3 | cat
# pipe to a file and open that file in an editor
# (vscode highlights diffs, atom does not without a plugin)
git whatchanged --since="1 week ago" -p content/v3 > diff.sh && $EDITOR diff.sh
$ npm i node-sass
> fsevents@1.2.11 install /Users/z/git/github/openapi/node_modules/jest-haste-map/node_modules/fsevents
> node-gyp rebuild
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
> node-sass@4.13.1 install /Users/z/git/github/openapi/node_modules/node-sass
$ npm i -D level
> fsevents@1.2.3 install /Users/z/git/nodejs/i18n/node_modules/fsevents
> node install
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.3/fse-v1.2.3-node-v72-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.2.3 and node@12.8.0 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
const path = require('path')
const { difference } = require('lodash')
const walk = require('walk-sync').entries
const languages = require('../lib/languages')
module.exports = function findExtraneousTranslatedFiles () {
const files = []
const relativePaths = {}
// group page.relativePath lists by language
$ npm i
> fsevents@1.2.11 install /Users/z/git/github/help-docs/node_modules/fsevents
> node-gyp rebuild
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
@zeke
zeke / eyes.p5.js
Created December 1, 2019 21:22
playing around with Processing JS
let e1, e2
let h = 0
let s = 0
let b = 0
let hue = 0
let minHue = 0
let maxHue = 360
let direction = +1
| Fun                  | With                 | Tables          |
| :------------------- | -------------------: |:---------------:|
| left-aligned column  | right-aligned column | centered column |
| $100                 | $100                 | $100            |
| $10                  | $10                  | $10             |
| $1                   | $1                   | $1              |

| Fun | With | Tables |