Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🤙 Stoked 🏄‍♂️

Ivan Storck ivanoats

💭
🤙 Stoked 🏄‍♂️
View GitHub Profile
@ivanoats
ivanoats / geolocation.js
Created Oct 20, 2021 — forked from videlais/geolocation.js
Complete Geolocation.js
View geolocation.js
/*
* A Geolocation object
*
* Note: Uses GPS or similar hardware for data if available through
* the browser, but will fall back to using (Google) geolocation
* services with current IP address automatically.
*
* @property {boolean} supported If the geolocation functions are available in the current context
* @property {function} onsuccess The function to be called if the geolocation services are successful
* @property {function} onerror The function to be called if an error occurs
View settings.json
// This file was initially generated by Windows Terminal 1.2.2381.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
View output.txt
[4/5] ⠁ sharp
error /Users/ivan/dev/gatsby-starter-reasonml-2/node_modules/sharp: Command failed.
Exit code: 1
Command: (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
Arguments:
Directory: /Users/ivan/dev/gatsby-starter-reasonml-2/node_modules/sharp
Output:
info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.7.0/libvips-8.7.0-darwin-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=12.13.1 runtime=node arch=x64 libc= platform=darwin)
gyp info it worked if it ends with ok
@ivanoats
ivanoats / keybindings.json
Created Oct 19, 2018
Visual Studio Code Keyboard Shortcuts customization
View keybindings.json
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "f1",
"command": "extension.dash.specific",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+r",
"command": "workbench.action.tasks.runTask",
@ivanoats
ivanoats / .eslintrc.js
Created Sep 24, 2018 — forked from nkbt/.eslintrc.js
Strict ESLint config for React, ES6 (based on Airbnb Code style)
View .eslintrc.js
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": ["react"],
"ecmaFeatures": {
View static.config.js
// import fetch from 'node-fetch'
import axios from 'axios'
export default {
getSiteData: () => ({
title: 'React Static Large JSON test'
}),
getRoutes: async () => {
const { data: locations } = await axios.get(
'http://localhost:3001/locations',
View package-list.txt
Clean2
Zen
atom-jade
atom-solarized-dark-ui
atom-ternjs
atom-typescript
atomic-chrome
autocomplete-haskell@0.6.5
autocomplete-modules@1.4.1
autocomplete-paths@1.0.2
View error.log
==> Upgrading docker
==> Downloading https://homebrew.bintray.com/bottles/docker-17.11.0.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring docker-17.11.0.high_sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
@ivanoats
ivanoats / error.log
Created May 18, 2017
Expo location example error
View error.log
Module AppRegistry is not a registered callable module (calling runApplication)
__callFunction
MessageQueue.js:235:6
<unknown>
MessageQueue.js:108:26
guard
MessageQueue.js:46:4
callFunctionReturnFlushedQueue
MessageQueue.js:107:10