Skip to content

Instantly share code, notes, and snippets.

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

Zeke Sikelianos zeke

🍓
@-message me directly if I'm slow to respond.
View GitHub Profile
const cheerio = require('cheerio')
const html = `
<ul>
<li>Hello A</li>
<li>Hello B</li>
<li>Hello C</li>
</ul>
`
const $ = cheerio.load(html)
~/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.
> [email protected] 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
{ address: 'North Alabama Electric Cooperative, Alabama',
key: 'AIzaSyDL4pgEDGAsTEoDsswiiAZFx_4uU9zho2c' }
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.
>
Array This is a JavaScript builtin and should usually not be translated.
ArrayBuffer This is a JavaScript builtin and should usually not be translated.
Atomics This is a JavaScript builtin and should usually not be translated.
Boolean This is a JavaScript builtin and should usually not be translated.
constructor This is a JavaScript builtin and should usually not be translated.
DataView This is a JavaScript builtin and should usually not be translated.
Date This is a JavaScript builtin and should usually not be translated.
decodeURI This is a JavaScript builtin and should usually not be translated.
decodeURIComponent This is a JavaScript builtin and should usually not be translated.
encodeURI This is a JavaScript builtin and should usually not be translated.
Process: Illuminati [36311]
Path: /Users/USER/*/Illuminati.app/Contents/MacOS/Illuminati
Identifier: com.sikelianos.zeke.illuminati
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Illuminati [36311]
User ID: 501
Date/Time: 2018-04-20 19:42:56.590 -0700

Keybase proof

I hereby claim:

  • I am zeke on github.
  • I am zeke (https://keybase.io/zeke) on keybase.
  • I have a public key ASBDBvpAmY_s-FhU6GGFnO6ze2NQ8jTGuW7vj7Q46BkJSwo

To claim this, I am signing this object:

const cheerio = require('cheerio')
const i18n = require('..')
const locales = Object.keys(i18n.locales)
function getNav(locale) {
const docs = i18n.docs[locale]
const readme = docs['/docs/README']
const html = readme.sections.map(section => section.html).join('\n')
const $ = cheerio.load(html)
const startHeading = $('h2')[1]