Skip to content

Instantly share code, notes, and snippets.

@Casao
Casao / README.md
Created November 13, 2016 18:24 — forked from xavriley/README.md
Writing a C extension for Ruby to parse and unparse OSC messages

This is a note for myself more than anything. I've started on a wrapper for the rtosc library https://github.com/fundamental/rtosc

The aim is to make a gem called FastOsc that will have two methods

FastOsc.serialise(["/aa", "foo", "bar"]) #=> "/aa\x00ss\x00\x00foo\x00bar\x00"
FastOsc.deserialise("/aa\x00ss\x00\x00foo\x00bar\x00") #=> ["foo", "bar"]

This followed from the rtosc library author giving me a really helpful response. fundamental/rtosc#28

FROM toastercup/docker-centos-rbenv
MAINTAINER ContentEnablementProductTeam@careerbuilder.com
# Environmental Variables
ENV PORT 80
# Clean up yum cache
RUN yum clean all
USER $APP_USER
FROM toastercup/docker-centos-rbenv
MAINTAINER ContentEnablementProductTeam@careerbuilder.com
# Environmental Variables
ENV PORT 80
# Clean up yum cache
RUN yum clean all
USER $APP_USER
FROM toastercup/docker-centos-rbenv
MAINTAINER ContentEnablementProductTeam@careerbuilder.com
# Environmental Variables
ENV PORT 80
# Clean up yum cache
RUN yum clean all
USER $APP_USER
FROM toastercup/docker-centos-rbenv
MAINTAINER ContentEnablementProductTeam@careerbuilder.com
# Environmental Variables
ENV PORT 80
# Clean up yum cache
RUN yum clean all
USER $APP_USER
FROM toastercup/docker-centos-rbenv
MAINTAINER ContentEnablementProductTeam@careerbuilder.com
# Environmental Variables
ENV PORT 80
# Clean up yum cache
RUN yum clean all
USER $APP_USER
FROM toastercup/docker-centos-rbenv
MAINTAINER ContentEnablementProductTeam@careerbuilder.com
# Environmental Variables
ENV PORT 80
# Clean up yum cache
RUN yum clean all
USER $APP_USER
@Casao
Casao / cfe.zsh-theme
Created June 25, 2014 23:22
Custom ZSH theme
# Copied and modified from the oh-my-zsh theme from geoffgarside -> copied from daveverwer
# Red server name, green cwd, blue git status
PROMPT='%{$fg[red]%}%m%{$reset_color%}:%{$fg[green]%}%c%{$reset_color%}$(git_prompt_info)$(git_prompt_status) %(!.#.$) '
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[blue]%}("
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_ADDED="%{$FG[028]%}✚%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$FG[057]%}✹%{$reset_color%}"