Skip to content

Instantly share code, notes, and snippets.

View poqudrof's full-sized avatar

Jeremy Laviole poqudrof

View GitHub Profile
(require 'package) ;; You might already have this line
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
(when (< emacs-major-version 24)
;; For important compatibility libraries like cl-lib
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(package-initialize) ;; You might already have this line
@poqudrof
poqudrof / PKGBUILD
Last active February 27, 2019 16:46
PKGBUILD for Orbbec Astra S - Updated to 2.3.0 - 55 the latest version in Feb 2019.
# Maintainer: Jeremy Laviole <laviole@rea.lity.tech>
## Build without integrity check for now makepkg --skipinteg -f
pkgname="openni-astra"
pkgver=2.3.0
pkgrel=55
epoch=
pkgdesc=""
arch=('x86_64')
url="https://orbbec3d.com/develop/"
license=('Unknown')
@poqudrof
poqudrof / robus.rb
Last active August 6, 2017 20:03
Robus Ruby work in progress
# coding: utf-8
require 'rubygems'
require 'rubyserial'
require 'json'
require 'eventmachine'
require 'em-websocket-client'
require 'osc-ruby'
$osc = OSC::Client.new('localhost', 4559 )
$osc.send(OSC::Message.new( "/greeting" , "hullo!" ))
To make it work on Arch Linux and Manjaro: 
yaourt -S gutenprint foomatic-db-gutenprint-ppds
## Dependences :
libffi lua qscintilla-qt5 sed cmake git qt5-tools supercollider jack2 aubio cadence libgit2 qt5-multimedia
supercollider-with-plugins qwt-qt5
## QWT missing features
# qmake -set QMAKEFEATURES /usr/local/qwt-6.1.2/features
## ruby gems
@poqudrof
poqudrof / stream.rb
Created July 28, 2016 14:17
Stream Gstreamer launch
#!/bin/ruby
## You can take pictures via Entangle, or in command line.
require 'fileutils'
# First argument is starting number
name = "capture"
output_name = "playing/capture000000.jpg"