Skip to content

Instantly share code, notes, and snippets.

View edsilv's full-sized avatar

Edward Silverton edsilv

View GitHub Profile
@edsilv
edsilv / guide.md
Created July 31, 2019 10:18
gitlab credentials management on windows
@edsilv
edsilv / gist:e27402ee608ce2ab1ae5ef37d200681b
Last active June 2, 2019 12:33
git checkout PR on upstream to new branch
git fetch git@github.com:aframevr/aframe.git refs/pull/4043/head
git checkout -b webgl2 FETCH_HEAD
@edsilv
edsilv / lion-annotations.json
Created April 23, 2019 13:35
Lion annotations
{"nodes":[["node-0",{"targetId":"0","position":"-0.0026676679559195504 0.025189044586043124 0.004516586643444194","scale":0.0020165806053690015,"title":"What is it made of?","description":"This lion figure is carved from wood."}],["node-2",{"targetId":"0","position":"-0.07015366117556757 0.027889620737464465 0.006348005032900353","scale":0.0020165806053690015,"title":"Where does it come from?","description":"It was acquired in Hargeisa, Somaliland a self-declared state."}],["node-3",{"targetId":"0","position":"0.09219381437374952 -0.022571635710918383 0.0075862942330654935","scale":0.0020165806053690015,"title":"What does it symbolise?","description":"This lion figure reflects the wildlife that once thrived in these regions before the civil war"}],["node-4",{"targetId":"0","position":"-0.078630211768072 -0.028944212018522125 -0.0065977882102052415","scale":0.0020165806053690015,"title":"How is it used?","description":"It is used as a toy for a small child but can also be ornamental."}]],"edges":[],"angles":[]
@edsilv
edsilv / manifest.json
Last active December 19, 2018 15:19
equirectangular image manifest
"id": "...",
"type": "Canvas",
"items": [{
"id": "...",
"type": "AnnotationPage",
"items": [{
"id": "...",
"type": "Annotation",
"motivation": "painting",
"body": {
@edsilv
edsilv / cla
Last active October 10, 2018 16:07
CLA
Thank you for your interest in contributing to the open source projects (“Projects”) made available by Edward Silverton ("Creator"). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to the Creator in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact e.silverton@gmail.com.
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
Copyright License. You hereby grant, and agree to grant, to the Creator a non-exclusive, perpetual, irrevocable, worldwide, fully-paid, royalty-free, transferable cop
@edsilv
edsilv / setup-dat-gateway.md
Last active September 1, 2018 12:11
How to set up dat-gateway

Ensure you have node v10.9.0 (libuv/libuv#1953)

npm i -g dat-gateway pm2

Open ports 3000 and 3282

ufw allow 3000

ufw allow 3282

@edsilv
edsilv / error.log
Created August 25, 2018 16:33
vcpkg error log
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 25/08/2018 17:24:14.
The target "_GetPackagingOutputs" listed in an AfterTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.21\Microsoft.Windows.UI.Xaml.Common.targets (38,11)" does not exist in the project, and will be ignored.
The target "_GetPackagingOutputs" listed in an AfterTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.21\Microsoft.Windows.UI.Xaml.Common.targets (38,11)" does not exist in the project, and will be ignored.
The target "_GetPackagingOutputs" listed in an AfterTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.21\Microsoft.Windows.UI.Xaml.Common.targets (38,11)" does not exist in the project, and will be ignored.
The target "_GetPackagingOutputs" listed in an AfterTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.21\Microsoft.Windows.UI.Xam
node: ../deps/uv/src/unix/udp.c:67: uv__udp_finish_close: Assertion `!uv__io_active(&handle->io_watcher, 0x001 | 0x004)' failed.
Aborted (core dumped)
@edsilv
edsilv / json-ld-schema.html
Created May 16, 2018 07:28
json-ld schema
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "CreativeWork",
"@id": "https://scrc.lib.ncsu.edu/sal_staging/catalog/ua023_015-005-bx0002-014-019",
"url": "https://scrc.lib.ncsu.edu/sal_staging/catalog/ua023_015-005-bx0002-014-019",
"name": "Student with puppy at forestry camp",
"thumbnailUrl": "https://iiif.lib.ncsu.edu/iiif/ua023_015-005-bx0002-014-019/full/350,/0/default.jpg",
"image": "https://iiif.lib.ncsu.edu/iiif/ua023_015-005-bx0002-014-019/full/350,/0/default.jpg",
"about": [