Skip to content

Instantly share code, notes, and snippets.

View PabloSzx's full-sized avatar
🤨

Pablo Sáez PabloSzx

🤨
View GitHub Profile
@PabloSzx
PabloSzx / schema.graphql
Last active January 31, 2022 01:48
gqty errored schema, reported from https://github.com/gqty-dev/gqty/issues/575
schema {
query: query_root
mutation: mutation_root
subscription: subscription_root
}
input ApplePay {
encodedPaymentToken: String!
}
@PabloSzx
PabloSzx / test-esm.mjs
Created August 12, 2021 16:45
Quick test Node.js ESM
// Using:
// globby@11.0.4
// chalk@4.1.2
import globby from 'globby';
import { dirname } from 'path';
import { fileURLToPath } from 'url';
import chalk from 'chalk';
async function main() {
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->