Skip to content

Instantly share code, notes, and snippets.

Frederico Muñoz fsmunoz

Block or report user

Report or block fsmunoz

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
fsmunoz / .alias
Created Oct 24, 2017
Docker alias file (RHEL host)
View .alias
## Sound options for RHEL7 OpenClient
snd_opts="--device /dev/snd \
-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \
-v ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native:Z \
--group-add $(getent group audio | cut -d: -f3)"
x11_opts="-e DISPLAY=unix$DISPLAY \
--ipc=host \
-v /dev/dri/:/dev/dri/:Z \
fsmunoz / manifest.yml
Last active Oct 16, 2017 — forked from drnic/manifest.yml
BOSH deployment manifest - AWS
View manifest.yml
name: redis
director_uuid: f5d1f979-c7d4-443b-a24b-8479536eaeed
- name: redis
version: latest
- alias: trusty
os: ubuntu-trusty
version: latest
fsmunoz / blink.lisp
Created Aug 4, 2017
Arduino LED blink with uLisp
View blink.lisp
fsmunoz / arduino-serial.el
Created Aug 4, 2017
Arduino Serial in Emacs
View arduino-serial.el
;; Open serial connection with an Arduino
;; 2017, Frederico Munoz <>
;; Serial port definitions
(defvar port "/dev/ttyACM1" "Serial port")
(defvar bauds 9600 "Bps")
(let ((serial-buffer (serial-term port bauds)))
View blink.adb
fsmunoz / approximate.adb
Created Aug 1, 2017
Rational approximation in Ada
View approximate.adb
-- Approximates pi using a naïve algorithm as per Brian
-- Hayes'
-- Author: Frederico Munoz <>
-- Date: Aug 2017
pragma License (GPL);
with Ada.Text_IO;
with Ada.Long_Float_Text_IO;
View jpeginator.R
### Openwhisk bmp->jpeg conversion using OpenWhisk
### Author: Frederico Munoz <>
### Date: APR 2017
### License: Eclipse Public License v1.0
## Load the image-related libraries
View lisboa_arco.b64
View jpeginator.js
// OpenWhisk action to convert images to JPEG
// Author: Frederico Munoz <>
// Data: APR 2017
// License: Eclipse Public License 1.0
var fs = require('fs');
var gm = require('gm').subClass({imageMagick: true});
fsmunoz / watson-vr.R
Created Apr 14, 2017
Watson Visual Recognition from R using httr
View watson-vr.R
## Retrieve existing classifiers (if any)
retrieve_classifiers <- function (api_key, api_endp)
req <- GET(sprintf("%s/v3/classifiers/?api_key=%s&version=2016-05-20", api_endp, api_key))
## Delete an existing classifier
delete_classifier <- function (api_key, api_endp, classifier_id)
You can’t perform that action at this time.