Skip to content

Instantly share code, notes, and snippets.

View fcecagno's full-sized avatar

Felipe Cecagno fcecagno

View GitHub Profile
@fcecagno
fcecagno / install-ffmpeg.sh
Last active August 29, 2015 14:04
FFmpeg on trusty
#!/bin/bash
set -e
sudo apt-get install build-essential git-core checkinstall yasm texi2html libvorbis-dev libx11-dev libvpx-dev libxfixes-dev zlib1g-dev pkg-config libxext-dev libv4l-dev netcat
FFMPEG_VERSION=2.3.3
if [ ! -d "/usr/local/src/ffmpeg-${FFMPEG_VERSION}" ]; then
cd /usr/local/src
@fcecagno
fcecagno / fetch-metadata.rb
Created July 23, 2014 17:07
Fetch metadata
#!/usr/bin/ruby
require 'uri'
require 'fileutils'
url = ARGV[0]
uri = URI.parse(url)
meeting_id = uri.query.sub(/meetingId=/, '')
file_repo = "#{uri.scheme}://#{uri.host}/presentation/#{meeting_id}"
@fcecagno
fcecagno / gist:12d7fc439af290d4553d
Created July 25, 2014 15:19
Oportunidades de estágio em startup no INF (julho de 2014)
Prezados colegas,
A Mconf Tecnologia (http://mconf.com) é uma startup que desenvolve produtos e
serviços baseados na plataforma Mconf - alguns de vocês devem conhecer pois é
o sistema de conferência web disponível pra comunidade da UFRGS
(http://mconf.ufrgs.br).
Estamos com uma oportunidade de estágio para alunos de Ciência da Computação
e Engenharia da Computação, na área de desenvolvimento de software. As
atividades a serem desenvolvidas durante o estágio são variadas, e incluem:
@fcecagno
fcecagno / inf-nameservers.sh
Created July 29, 2014 21:39
Setting up the nameserver at INF/UFRGS
#! /bin/bash
sudo sed -i "/nameserver 8.8.8.8/d" /etc/resolvconf/resolv.conf.d/head
sudo sed -i "/nameserver 143.54.11.9/d" /etc/resolvconf/resolv.conf.d/head
sudo sed -i "/nameserver 143.54.11.7/d" /etc/resolvconf/resolv.conf.d/head
sudo sed -i "/nameserver 143.54.11.4/d" /etc/resolvconf/resolv.conf.d/head
echo 'nameserver 8.8.8.8' | sudo tee -a /etc/resolvconf/resolv.conf.d/head
sudo resolvconf -u
@fcecagno
fcecagno / build-web.sh
Last active August 29, 2015 14:09
Compile bbb-web
#!/bin/bash
set -xe
sudo service tomcat7 stop
sudo chmod 666 /var/log/bigbluebutton/bbb-web.log
cd ~/dev/bigbluebutton/bigbluebutton-web
# cp /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties grails-app/conf/
sudo rm -rf /var/lib/tomcat7/webapps/bigbluebutton*
@fcecagno
fcecagno / build-apps.sh
Created November 11, 2014 19:58
Build bbb-apps
#!/bin/bash
sudo service bbb-red5 stop
sudo pkill -u red5
set -xe
sudo chmod -R 777 /usr/share/red5/webapps
apps=( "bbb-video" "bbb-voice" "bigbluebutton-apps" "deskshare" )
#!/bin/bash
set -xe
# no 64 bit version of the flash debug player is available, thus we will use the 32 bit version and use nspluginwrapper to make it work
set +e
sudo killall -9 firefox
set -e
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
@fcecagno
fcecagno / selecao
Last active August 29, 2015 14:25
Oportunidades no PRAV - Projeto Mconf
Pessoal, novas oportunidades pra fazer parte do Laboratório do PRAV, pra
trabalhar no projeto Mconf. Vejam abaixo e em anexo:
| O Mconf é um sistema de conferência web de código aberto usado em instituições
| no mundo inteiro. O projeto possui forte interação com outros grupos de P&D de
| fora do Brasil, principalmente dentro da comunidade de desenvolvimento do
| BigBlueButton, que possui mais de 1600 pessoas espalhadas ao redor do globo.
|
| O Mconf é o software usado no serviço de conferência web da UFRGS, disponível no
| endereço http://mconf.ufrgs.br e integrado ao Moodle Institucional
@fcecagno
fcecagno / en-us.txt
Last active November 4, 2016 13:47
Plugins do Mconf para Moodle
For Moodle 2.x, the plugins locations are:
https://github.com/mconf/moodle-mod_bigbluebuttonbn/tree/v1.0.11-upstream (Download https://github.com/mconf/moodle-mod_bigbluebuttonbn/archive/v1.0.11-upstream.zip)
https://github.com/mconf/moodle-mod_recordingsbn/tree/v1.0.9-upstream (Download https://github.com/mconf/moodle-mod_recordingsbn/archive/v1.0.9-upstream.zip)
For Moodle 3.x, the plugins locations are:
https://github.com/mconf/moodle-mod_bigbluebuttonbn/tree/v2.0.3-upstream (Download https://github.com/mconf/moodle-mod_bigbluebuttonbn/archive/v2.0.3-upstream.zip)
https://github.com/mconf/moodle-mod_recordingsbn/tree/v1.2.1-upstream (Download https://github.com/mconf/moodle-mod_recordingsbn/archive/v1.2.1-upstream.zip)
@fcecagno
fcecagno / package-lock.json
Last active May 1, 2018 13:26
kurento_pipelines
{
"name": "kurento-hello-world",
"version": "6.6.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"bower": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/bower/-/bower-1.8.2.tgz",
"integrity": "sha1-rfU1KcjUrwLvJPuNU0HBQZ0z4vc=",