Skip to content

Instantly share code, notes, and snippets.

View fbaiodias's full-sized avatar
🍼

Francisco Baio Dias fbaiodias

🍼
View GitHub Profile
@fbaiodias
fbaiodias / index.html
Created December 9, 2014 22:20
node-webkit youtube player
<html>
<body>
<link rel="stylesheet" href="style.css">
<script src="index.js"></script>
<iframe id="container"></iframe>
</body>
</html>
@fbaiodias
fbaiodias / README.md
Last active March 2, 2016 16:22
ipfs add captures

Folder structure

somefolder
  subfolder
    deepfile
  config
  otherfile
  link -> points to somefolder/subfolder/deepfile
  folderlink -> points to somefolder/subfolder
 outsidefolderlink -&gt; points to outsidefolder
@fbaiodias
fbaiodias / rejoi.js
Created October 11, 2015 16:21
Rejoi schema proposal
const original = {
card: Joi.object({
number: Joi.string().creditCard().required(),
holderName: Joi.string().required(),
expiry: {
year: Joi.number().min(2015).min(2025).required(),
month: Joi.number().min(1).min(12).required(),
}
}),
billingAddress: Joi.object({
@fbaiodias
fbaiodias / README.md
Last active June 17, 2019 12:41
Using Typeform.com account as an Auth0 Custom Social Connection

Keybase proof

I hereby claim:

  • I am fbaiodias on github.
  • I am fbaiodias (https://keybase.io/fbaiodias) on keybase.
  • I have a public key ASDZsvdUjN02uesOrGvD7FvJHUFq7nrTENStHohREMU3AQo

To claim this, I am signing this object:

@fbaiodias
fbaiodias / README.md
Last active July 21, 2021 19:04
GraphQL circular dependencies

Circular dependencies on GraphQL schemas

Problem

Whenever I uncomment the lines on author.js I get the following error:

/Users/xicombd/Code/taskq/taskq-api/node_modules/graphql/jsutils/invariant.js:20
    throw new Error(message);
    ^
@fbaiodias
fbaiodias / README.md
Last active November 6, 2023 17:13
Error: Unable to upload your app for notarization. --notarize-app is missing one or more required options: --asc-provider.

Missing --asc-provider when notarizing app

Problem

*** Error: Unable to upload your app for notarization. --notarize-app is missing one or more required options: --asc-provider. (-1027)
 {
    NSLocalizedDescription = "Unable to upload your app for notarization.";
    NSLocalizedFailureReason = "--notarize-app is missing one or more required options: --asc-provider.";
}