Skip to content

Instantly share code, notes, and snippets.

Julien Genestoux julien51

Block or report user

Report or block julien51

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 unlock-snippet.html
// Loading the script
<script>
(function (d, s) {
var js = d.createElement(s),
sc = d.getElementsByTagName(s)[0];
js.src = "https://paywall.unlock-protocol.com/static/unlock.1.0.min.js";
sc.parentNode.insertBefore(js, sc);
}(document, "script"));
</script>
View 2019-05-20-open-source-next.md
layout title date
post
Open Source, what is next?
2019-05-20 05:07:51 -0700

Or, an attempt at convincing my friends who care about open source software that blockchain and smart contracts are the future of our work.

10 years ago, I was starting my previous company, Superfeedr. For those but familiar with it, it's a service which provides a push API for RSS and Atom feeds. The basic premise was that many applications were all polling the same feeds over and over again, making something inefficient (polling) exponentially worse, and that a single service could do that and then ping everyone else.

View gist:a6001d03778edcde98a5c84bcb1fb8c3
3Box is a social profiles network for web3. This post links my 3Box profile to my Github account!
✅ did:muport:QmVhrPEGG56dm5QGs2KGeqL4kFopDQw93kC4a9aoSWCnUF ✅
Create your profile today to start building social connection and trust online. https://3box.io/
View feed.xml
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Publisher example</title>
<updated>2016-06-28T13:21:13Z</updated>
<id>http://push-pub.appspot.com/feed</id>
<author>
<name>nobody</name>
</author>
View gist:96d7a063472892c7b586
Fetch API cannot load https://push.superfeedr.com/?count=10&format=json&hub.mode=retrieve&authori…NWMxNzQ2YTE%3D&hub.callback=https%3A%2F%2Fpush.superfeedr.com%2Fdev%2Fnull. A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://localhost:8000' is therefore not allowed access.
View full-json-schema.json
{
"id": "blog.superfeedr.com:/null-device",
"title": "Superfeedr's null device",
"summary": "When subscribing to a feed, you should use https://push.superfeedr.com/dev/null if you want notifications to be ignored.",
"content": "<p>Many people, us included, see the web being a complex <em>operating system</em>. A consequence of this is that we embrace the <a href=\"https://en.wikipedia.org/wiki/Unix_philosophy\">Unix philosophy</a> of small components loosely coupled using streams for data in and out.</p>\n\n<p>With that in mind, for subscribers, Superfeedr is mostly a piece of code which takes a feed URL as input, and a webhook URL as output to create <strong>subscriptions</strong> which triggers <strong>notifications</strong>.</p>\n\n<p>As <a href=\"http://blog.superfeedr.com/ways-to-use-superfeedr/\">we’ve seen recently</a>, once a subscription has been created, a user can then <a href=\"http://documentation.superfeedr.com/subscribers.html#retrieving-entries-with-pubsubhubbub\">retrieve</a>
View feed.xml
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:media="http://search.yahoo.com/mrss/"
>
<cache>
<key>rss:4da0a2f345cd81b3a688cfb4f0d468083880dafb</key>
<lastModKey>rss_modified:rss:4da0a2f345cd81b3a688cfb4f0d468083880dafb</lastModKey>
</cache>
<channel>
View gist:fb2e0b35d6a465a190a8
{
"status": {
"code": 200,
"http": "Fetched (ring) 200 60 and parsed 10/10 entries",
"nextFetch": 1431453146,
"entriesCountSinceLastMaintenance": 10741,
"velocity": 17825,
"pornRank": 0.10000000000000001,
"bozoRank": 0.29999999999999999,
"period": 60,
View gist:138d0d49147331f40be2
$ curl "https://ep2015.europython.eu/conference/talks/how-to-be-more-effective-with-classes" -L -D- -o /dev/null -s
HTTP/1.1 302 FOUND
Server: nginx
Date: Mon, 04 May 2015 13:08:08 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 0
Connection: keep-alive
Content-Language: en
Vary: Accept-Language, Cookie
Location: https://www.euroython.eu/voting-disallowed
You can’t perform that action at this time.