Skip to content

Instantly share code, notes, and snippets.


Vincent Agnano vinyll

View GitHub Profile
vinyll /
Last active Oct 12, 2020
Crystal language confusion

Vincent @vinyll 22:15 I find this confusing:

require "athena"
class ExampleController < ART::Controller

ART exists in athena, but how can you figure where it comes from when requiring muliple files? Also how can you avoid names collision?

vinyll /
Last active Dec 1, 2019
Open Social Networks

I'm currently looking for a social network (similar to Facebook basic functionality). The point is to connect with my relatives who are currently using Facebook and invite them to join.


Critical criteria are:

  • open source
  • smooth user interface for non-geeks, beautiful to look at and easy to understand
  • decentralized (WebSub, XMPP, Fedeverse…)
  • easy to deploy in an LXC container
View click-to-select-poc.html
POC for disabling native browser text selection and using click-to-select for words.
<meta charset=utf-8>
<p id=paragraph>
He was the son of Apollo and, according to the earliest accounts, a mortal woman named Coronis.
His mother was killed by Artemis for being unfaithful to Apollo and was laid out on a funeral pyre to be consumed,
but Apollo rescued the child, cutting him from Coronis's womb.
According to other version Apollo having learned about Coronis betrayal with the mortal Ischys killed her.
Before death she revealed Apollo that she was pregnant with his child and he repenting his actions unsuccessfully
View gist:f582b0d4edcbd78d3eaec147f99f60c5
export GEM_HOME=$PWD/gems
export PATH=$PWD/bin:$PATH
vinyll / labyrinth.html
Created Jan 13, 2019
A labyrinth in a single line of JS
View labyrinth.html
<body style="line-height: 18px; font-size: 18px;border: 1px solid #000; display: inline-block">
document.write([...Array(30)].map(_ => [...Array(30)].map(_ => (Math.floor((Math.random() * 2) % 2)) ? '╱' : '╲').join('')).join('<br>'))
vinyll / countrycodes.js
Last active Oct 12, 2018
List of ISO 3166-1 alpha 2 letter country codes, lower cased
View countrycodes.js
List of ISO 3166-1 alpha 2 letter country codes, lower cased.
Taken from
const countryCodes = [
['ad', "Andorra"],
['ae', "United Arab Emirates"],
['af', "Afghanistan"],
['ag', "Antigua and Barbuda"],
['ai', "Anguilla"],

## Novembre

Total : 1j

29/11 : .5j

  • rencontre école Freinet

22/11 : .5j

  • réunion d'équipe
vinyll /
Last active Apr 16, 2020
Add the `git branch-sort` command to sort all branches by date.
git config --global alias.branch-sort "for-each-ref --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'"
import os
import sys
from pathlib2 import Path
import argparse
root_dir = Path(__file__).absolute().parent.parent
sys.path.append(str(root_dir / 'apps'))
sys.path.append(str(root_dir / 'libs'))

Keybase proof

I hereby claim:

  • I am vinyll on github.
  • I am vinyll ( on keybase.
  • I have a public key whose fingerprint is B885 E5D3 1604 7742 9223 6397 A90A 5730 8249 6115

To claim this, I am signing this object: