Skip to content

Instantly share code, notes, and snippets.

Víctor Román Archidona vroman

Block or report user

Report or block vroman

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
vroman / getUserAcceptedLanguages.php
Created Oct 20, 2018
A small function to get client-sent HTTP Accept-Language header in PHP
View getUserAcceptedLanguages.php
* A small function to get client-sent HTTP Accept-Language header.
* Copyright (C) 2018 Víctor Román Archidona
* Input:
* (int, optional): An HTTP Accept-Language header or null if it
* should be taken from $_SERVER environment.
vroman /
Created Oct 9, 2018
Send running jail stats to carbon database
# This scripts injects running jails from a FreeBSD host
# into carbon database. It may be consumed then by tools
# like graphite or grafana.
# A common way to use this is set-up a crontab entry.
# kernel requeriments:
# options RACCT
#. options RCTL
vroman /
Created Jun 7, 2018
Transparent Git Encryption

Transparent Git Encryption

This document has been modified from its [original format][m1], which was written by Ning Shang ( It has been updated and reformatted into a [Markdown][m2] document by [Woody Gilk][m3] and [republished][m4].


When working with a remote git repository which is hosted on a third-party storage server, data confidentiality sometimes becomes

# A shabby CLI script to create floppy images which only runs on macOS
# Made for my own use, so don't expect it will fit yours. Its purposse
# is copy 1.44 MB floppy images from an external USB floppy disk into
# an image for later backup.
# Copyright (C) 2018-2019 Víctor Román Archidona

Keybase proof

I hereby claim:

  • I am vroman on github.
  • I am vroman ( on keybase.
  • I have a public key ASCZ9qxchPqbexX4egAaAAeADgJly5I2ElrWbRQKw6Bh8Qo

To claim this, I am signing this object:

You can’t perform that action at this time.