Skip to content

Instantly share code, notes, and snippets.

so proud of my bot children

Gregor Martynus gr2m

so proud of my bot children
Block or report user

Report or block gr2m

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
gr2m /
Last active Aug 16, 2019
This is a living document on JavaScript Octokit’s build setup using pika pack and semantic-release on GitHub Actions

Octokit.js build setup using @pika/pack

Install @pika/pack and build plugins

npm install --save-dev @pika/pack @pika/plugin-build-node @pika/plugin-build-web @pika/plugin-ts-standard-pkg



Local setup

git clone github-lock-issue-test
cd github-lock-issue-test
npm install
node github-lock-issue-test.js

Should log

gr2m / list_offlinefirst_posts.graphql
Created Jul 19, 2017
With GitHub’s new GraphQL API, you can send a single request to list of files with their content. Try it out on
View list_offlinefirst_posts.graphql
organization(login: "offlinefirst") {
repository(name: "") {
object(expression: "gh-pages:_posts/") {
... on Tree {
entries {
object {
... on Blob {
gr2m / linked_in_delete_all_messages.js
Created Mar 2, 2017
This will delete all your messages on linked in. Run on You are welcome :)
View linked_in_delete_all_messages.js

November was a Dev Beaver-kind of month. Lots of development in preparation for the Hoodie Village release. Dale from Appback started working on Hoodie’s Task Module, the last big piece left to finish for Hoodie’s new plugin architecture. Benjamin did not only get 4 pull requests merged, he is also working on enabling app-specific plugins, very soon: If you are interested how a plugin will look like, we created an example:

gr2m / find_missing_dependencies.js
Last active Sep 10, 2016
A tricky problem with npm package tests is that all devDependencies are present. If a package that is needed is only defined as devDependencies then tests will pass, but it will break when required by another package.
View find_missing_dependencies.js
// It could be done more elegantly, instead of using glob it could walk the
// relative dependencies, so it would be more flexible and could actually
// be turned into a package that could be run before publishing to npm
var fs = require('fs')
var detective = require('detective')
var glob = require('glob')
var _ = require('lodash')
var buildinModuleNames = require('builtin-modules/static')

Hello, OSCON Contribute!

Come prepared

If you just want to play around with Hoodie, you can take our Hoodie Camp Tutorial and check out our Tracker App and it’s uber-simple source code.

If you want to contribute art, code, design, documentation or editorial work, the basic requirements are

  1. A GitHub account
    GitHub is not only where Hoodie’s code is hosted, but also our website, blog, documentation and much more. We also use GitHub issues for general discussions.

I will give a talk on semantic-release and Greenkeeper this Thursday at Node.js Boston. I want to live-demo publishing packages, update workflows and an accidental breaking change and how Greenkeeper helps with that. I’m looking for a good "story" for what these packages do, how to call them, etc. Any idea? Please ping me on Twitter


Goal: create a CLI tool / app with a dependency and a sub dependency.

  • Show quickly who to publish all 3 tools with semantic-release

What’s new in Hoodie Code land

Everything is gearing towards our “Tent Release”, not yet meant for production, but Hoodie is using PouchDB for sync and is rewritten from the ground up.

The core modules, Account (server, client) & Store (server, client), are now feature complete. The Hoodie main module (server, client) which pulls everything together, is still a bit rough around the edges, but ready, too.

We also created a new Hoodie default application: Something tracker. It’s a minimalistic app to track numbers and time without telling any meaning, so it’s great as a starting point to explore Hoodie and build an app

You can’t perform that action at this time.