I hereby claim:
- I am matchatype on github.
- I am andreadimarco (https://keybase.io/andreadimarco) on keybase.
- I have a public key ASAm1ejmPcZSyolcP411yZhNjv7xK0ncbAjWpOtrzVc_fwo
To claim this, I am signing this object:
echo "Creating an SSH key for you..." | |
ssh-keygen -t rsa | |
echo "Please add this public key to Github \n" | |
echo "https://github.com/account/ssh \n" | |
read -p "Press [Enter] key after this..." | |
echo "Installing xcode-stuff" | |
xcode-select --install |
const createCloudinary = (cloudName, unsignedUploadPreset) => ({ | |
process: (fieldName, file, metadata, load, error, progress, abort) => { | |
// `fieldName` and `meta` are not used for now | |
const url = `https://api.cloudinary.com/v1_1/${cloudName}/upload`; | |
const xhr = new XMLHttpRequest(); | |
const formData = new FormData(); |
{ | |
"parser": "@typescript-eslint/parser", | |
"parserOptions": { | |
"project": "./tsconfig.json", | |
"tsconfigRootDir": "." | |
}, | |
"env": { | |
"browser": true, | |
"jest/globals": true | |
}, |
{ | |
"projects": { | |
"default": "project-name" | |
}, | |
"targets": { | |
"project-name": { | |
"hosting": { | |
"production": [ | |
"project-name" | |
], |
I hereby claim:
To claim this, I am signing this object:
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
(function() { | |
function status(response) { | |
if (response.ok) { | |
return response | |
} else { | |
var error = new Error(response.statusText || response.status) | |
error.response = response | |
throw error | |
} | |
} |
.next | |
out |
/* | |
* From the article "The Art of Error" | |
* http://dailyjs.com/2014/01/30/exception-error/ | |
*/ | |
/* node example */ | |
var assert = require('assert'); | |
var util = require('util'); | |
function NotFound(message) { |