Skip to content

Instantly share code, notes, and snippets.

View elf-pavlik's full-sized avatar

elf Pavlik elf-pavlik

View GitHub Profile
var fb = require('fbgraph');
var IDS = {
ouishareGlobal: 226111377405815
};
fb.setAccessToken(process.env.FACEBOOK);
function byComments (first, second) {
@elf-pavlik
elf-pavlik / gist:7dae92d3236f7c48c8e1
Last active August 29, 2015 14:00
basic RDFa profile schema:Person
<html>
<body vocab="http://schema.org/">
<div typeof="Person">
<h1 property="name">elf Pavlik</h1>
<img property="image" src="http://www.gravatar.com/avatar/00000000000000000000000000000000" />
<p property="description">i like you :)</p>
<h2>social profiles</h2>
<ul>
<li><a property="sameAs" href="https://github.com/elf-pavlik">github</a></li>
<li><a property="sameAs" href="https://twitter.com/elfpavlik">twitter</a></li>
@elf-pavlik
elf-pavlik / matera-stops
Created June 19, 2014 14:46
mapping of bus stops in matera to line numbers
1 [ '1', '2', '4', '8', '9', '10', '11', '12' ]
2 [ '1', '2', '4', '8', '9', '10', '11', '12' ]
3 [ '1', '2', '4', '10', '11', '12' ]
4 [ '1', '2', '4', '10', '11', '12' ]
5 [ '1', '2', '4', '10', '11', '12' ]
6 [ '1', '2', '4', '11', '12', '14', '15' ]
7 [ '1', '2', '12' ]
8 [ '1', '2', '6A', '6B', '12' ]
9 [ '1', '2', '6A', '6B', '12' ]
10 [ '1', '2', '6A', '6B', '12' ]
@elf-pavlik
elf-pavlik / GiveAction
Created June 24, 2014 11:21
schema:GiveAction
{
"@id": "/actions/12345",
"@type": "GiveAction",
"recipient": {
"@id": "https://wwelves.org/perpetual-tripper",
"@type": "Person",
"name": "elf Pavlik"
},
"agent": {
"@id": "https://example.net/jane",
{
"@id": "https://example.net/jane/assets/231231",
"@type": "IndividualProduct",
"model": {
"@id": "http://fairphone.com/v1",
"@type": "ProductModel",
"name": "Fairphone V1"
},
"potentialAction": [
{
@elf-pavlik
elf-pavlik / code-for-all.jsonld
Last active August 29, 2015 14:03
Code for All
{
"@context": {
"@vocab": "http://schema.org/",
"name": { "@container": "@language" }
},
"@id": "http://codeforall.org",
"@type": "Organization",
"location": {
"@id": "http://sws.geonames.org/6295630/",
"@type": "Place",
@elf-pavlik
elf-pavlik / banana-wishlist.md
Created August 1, 2014 12:50
Banana Wishlist
  • Raspbery Pi extensions
  • new board with more USB ports
  • usb wlan (to make AP)
  • usb 3g (for uplink)
  • usb 4g (for uplink)

CC0 4.0 by e-P + J R

Legend:

  • Greeting App runs in the Browser.
  • webserviced runs remotely on Server A.
  • webprofiled, webfingerd & Persona IdP run remotely on Server B.
participant Greeting App
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.