Skip to content

Instantly share code, notes, and snippets.

👽
http://csarven.ca/#i

Sarven Capadisli csarven

👽
http://csarven.ca/#i
Block or report user

Report or block csarven

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View link-relations.nt
@csarven
csarven / inbox.php
Created Aug 13, 2017 — forked from rhiaro/inbox.php
Basic LDN receiver. Help yourself. See: https://rhiaro.co.uk/2017/08/diy-ldn
View inbox.php
<?
/*
Copyright 2017 Amy Guy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
View gist:b7d0fc5e2be936b393d66926d3d2745c

Tim Berners-Lee @timbl

I lke webid-tls because

  • Public keys are sooo much better than passwords

  • I want to have 1 or more public ID consistently in a bunch of stuff I do, not a different ID in each silo.

  • I feel it is simpler/quicker/more secure to authenticate directly from client to server in general than get redirected to other third parties.

@csarven
csarven / notes.missing-link.txt
Created Jan 9, 2017
Notes on "Thoughts on Referencing, Linking, Reference Rot" for option "Using RDFa, microdata to express the temporal context information"
View notes.missing-link.txt
@csarven
csarven / getting-started.md
Created Nov 15, 2016 — forked from joepie91/getting-started.md
Getting started with Node.js
View getting-started.md

"How do I get started with Node?" is a commonly heard question in #Node.js. This gist is an attempt to compile some of the answers to that question. It's a perpetual work-in-progress.

And if this list didn't quite answer your questions, I'm available for tutoring and code review! A donation is also welcome :)

Setting expectations

Before you get started learning about JavaScript and Node.js, there's one very important article you need to read: Teach Yourself Programming in Ten Years.

Understand that it's going to take time to learn Node.js, just like it would take time to learn any other specialized topic - and that you're not going to learn effectively just by reading things, or following tutorials or courses. Get out there and build things! Experience is by far the most important part

View query.ttl
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX qb: <http://purl.org/linked-data/cube#>
PREFIX sdmx-dimension: <http://purl.org/linked-data/sdmx/2009/dimension#>
PREFIX sdmx-measure: <http://purl.org/linked-data/sdmx/2009/measure#>
CONSTRUCT {
?resource skos:prefLabel ?prefLabel .
}
WHERE {
View cc-ns.patch
#$ diff cc-ns.original.html cc-ns.fixed.html
14c14
< <h1><a href="/"><span><img src="https://creativecommons.org/images/logo_trademark_250.png" alt="Creative Commons" id="cc-title" border="0"/></a></h1>
---
> <h1><a href="/"><img src="https://creativecommons.org/images/logo_trademark_250.png" alt="Creative Commons" id="cc-title" border="0"/></a></h1>
241a242
> </div>
View inbox.html
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="utf-8" />
<title>Inbox timeline</title>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
View ceur-ws.css
/* ceur-ws.css defines how links are displayed and */
/* possibly some other details of page rendering within */
/* CEUR-WS.org. */
/* Copyright 2002-2015 by Manfred Jeusfeld */
/* Use permitted within CEUR-WS.org. */
/* Modification permitted for members of the CEUR-WS TEAM.*/
/* */
/* THIS STYLE FILE IS FOR EXCLUSIVE USE WITHIN */
/* CEUR-WS.ORG! DO NOT COPY IT AS A WHOLE OR AS PARTS. */
/* IN PARTICULAR, THE TAGS CEUR* DEFINED BELOW MAY NOT BE */
You can’t perform that action at this time.