Skip to content

Instantly share code, notes, and snippets.

🗺
Traveling

Vincent Agnano vinyll

🗺
Traveling
Block or report user

Report or block vinyll

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
@vinyll
vinyll / notes.md
Last active Nov 8, 2019
Open Social Networks
View notes.md

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.

Features

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
export RUBYLIB=$PWD/lib:$RUBYLIB
@vinyll
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">
<script>
document.write([...Array(30)].map(_ => [...Array(30)].map(_ => (Math.floor((Math.random() * 2) % 2)) ? '' : '').join('')).join('<br>'))
</script>
</body>
@vinyll
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 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
*/
const countryCodes = [
['ad', "Andorra"],
['ae', "United Arab Emirates"],
['af', "Afghanistan"],
['ag', "Antigua and Barbuda"],
['ai', "Anguilla"],
View timesheet-eac.md

## Novembre

Total : 1j

29/11 : .5j

  • rencontre école Freinet

22/11 : .5j

  • réunion d'équipe
@vinyll
vinyll / git-branch-sort.md
Last active May 17, 2018
Add the `git branch-sort` command to sort all branches by date.
View git-branch-sort.md
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))'"
View export-articles.py
import os
import sys
from pathlib2 import Path
import argparse
root_dir = Path(__file__).absolute().parent.parent
sys.path.append(str(root_dir))
sys.path.append(str(root_dir / 'apps'))
sys.path.append(str(root_dir / 'libs'))
View keybase.md

Keybase proof

I hereby claim:

  • I am vinyll on github.
  • I am vinyll (https://keybase.io/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:

@vinyll
vinyll / index.html
Created Nov 25, 2017
Basic funtional approach of websomponents
View index.html
<meta charset=utf8>
<script src=https://cdn.rawgit.com/chjj/marked/8f9d0b72/marked.min.js></script>
<main>
<h1>Welcome</h1>
<div>
${x_avatar(this.username, 'https://framagit.org/vinyll')}
</div>
You can’t perform that action at this time.