Skip to content

Instantly share code, notes, and snippets.

View assimovt's full-sized avatar
🧠
something new...

Tair Asim assimovt

🧠
something new...
View GitHub Profile
@assimovt
assimovt / rfc5646-language-tags.js
Created March 26, 2018 16:20 — forked from msikma/rfc5646-language-tags.js
RFC 5646 Language Tags
// List of language tags according to RFC 5646.
// See <http://tools.ietf.org/html/rfc5646> for info on how to parse
// these language tags. Some duplicates have been removed.
var RFC5646_LANGUAGE_TAGS = {
'af': 'Afrikaans',
'af-ZA': 'Afrikaans (South Africa)',
'ar': 'Arabic',
'ar-AE': 'Arabic (U.A.E.)',
'ar-BH': 'Arabic (Bahrain)',
'ar-DZ': 'Arabic (Algeria)',
@assimovt
assimovt / bootlocal.sh
Last active December 27, 2017 16:36
Provision Boot2Docker with Convoy volume plugin
#!/bin/sh
# This script provisions Boot2Docker with the Convoy volume plugin.
# Copy it to /var/lib/boot2docker/bootlocal.sh and make it executable.
# It will be run at the end of boot initialisation.
# https://github.com/boot2docker/boot2docker/blob/master/doc/FAQ.md
RELEASE=v0.4.3
URL=https://github.com/rancher/convoy/releases/download/${RELEASE}/convoy.tar.gz