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
10974 passing (543ms)
67 failing
1) human-submitted app data airtame icon is at least 256px x 256px:
AssertionError: expected 144 to be above 255
at Context.<anonymous> (test/human-data.js:148:42)
2) human-submitted app data aiting icon is at least 256px x 256px:
AssertionError: expected 220 to be above 255
at Context.<anonymous> (test/human-data.js:148:42)
@zeke
zeke / freenoders
Created March 22, 2018 03:34
a handful of npm users with `freenode` set in their npm profile, none of which appear on the new npm website
~/git/zeke/missing-npm-profiles/profiles master*
$ cat a* | grep freenode | head -n 30
"freenode": "a0000778"
"freenode": "no"
"freenode": "aaditmshah"
"freenode": "screamingninja"
"freenode": "avp"
"freenode": "aalaap"
"freenode": "aali"
"freenode": "aamirafridi"
advantage of electron
android
android
android
angular
angular
angular
angular
app
appx
/app/node_modules/tabletop/src/tabletop.js:327
1:43 PM
this.googleSheetName = data.feed.title.$t;
1:43 PM
^
1:43 PM
1:43 PM
@zeke
zeke / error
Created January 10, 2018 04:40
Running out of memory trying to create a leveldb
<--- Last few GCs --->
[6881:0x103000000] 34771 ms: Mark-sweep 1412.6 (1464.8) -> 1412.5 (1448.8) MB, 2903.0 / 0.0 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 2903 ms) last resort
[6881:0x103000000] 37852 ms: Mark-sweep 1412.5 (1448.8) -> 1412.5 (1448.8) MB, 3081.4 / 0.0 ms last resort
<--- JS stacktrace --->
==== JS stack trace =========================================
@zeke
zeke / npm 200 club member list
Created December 27, 2017 04:11
npm i trymodule && trymodule owners
> owners.filter(({packageCount:c}) => c >= 200 && c < 300).map(({username:u, packageCount:c}) => [u,c])
[ [ 'kemitchell', 298 ],
[ 'kael', 298 ],
[ 'yuanyan', 298 ],
[ 'cwmma', 288 ],
[ 'johno', 286 ],
[ 'damonoehlman', 282 ],
[ 'morganherlocker', 282 ],
[ 'kevva', 281 ],
[ 'azu', 279 ],
$ npm i -g sass-lint
$ cd electronjs.org
$ sass-lint 'styles/*.scss' -v
styles/_app.scss
17:3 warning Expected `height`, found `max-width` property-sort-order
18:3 warning Expected `max-width`, found `height` property-sort-order
22:3 warning Expected `color`, found `margin` property-sort-order
23:3 warning Expected `font-size`, found `color` property-sort-order
24:3 warning Expected `line-height`, found `font-size` property-sort-order
@zeke
zeke / semantic-release.md
Created December 2, 2017 00:31
A TLDR guide to setting up semantic-release, for the adventurous. https://github.com/semantic-release
npm i -g semantic-release-cli
cd my-project
semantic-release-cli setup
# follow the prompts

Tips:

  • Make sure the GitHub user you specify has logged into Travis with GitHub at some point (ever).
$ heroku run npm run release
Running npm run release on ⬢ github-electron-apps... up, run.6681 (Standard-1X)
> electron-apps@1.1728.0 release /app
> script/release.sh
+ set -o errexit
+ set -o pipefail
+ set -o nounset
+ git clone https://github.com/electron/electron-apps app
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NPM_CONFIG_PRODUCTION=true