Skip to content

Instantly share code, notes, and snippets.

View fcecagno's full-sized avatar

Felipe Cecagno fcecagno

View GitHub Profile
@fcecagno
fcecagno / Readme.md
Last active December 6, 2022 08:08
Automation for BigBlueButton launch on hybrid scenarios

Automation for BigBlueButton launch on hybrid scenarios

The context is the following:

  • professor will teach to a classroom of students in a lecture hall AND remote students
  • professor will be in the lecture hall
  • there won't be any technical staff to help the professor during the lecture, which means that the professor will operate the system

BigBlueButton will be used in this context and professor wants to engage both the local and remote audience, and allow interactivity.

The problem is the current workflow to launch and configure BigBlueButton, by the professor, as follows:

@fcecagno
fcecagno / export-playback-links.rb
Created September 21, 2021 13:15
Export playback links
@fcecagno
fcecagno / initialize-pos.rb
Last active December 29, 2020 22:41
Initialize pos_file for existing files
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
require 'fileutils'
POSITION_FILE_ENTRY_FORMAT = "%s\t%016x\t%016x\n".freeze
POSITION_FILE_ENTRY_REGEX = /^([^\t]+)\t([0-9a-fA-F]+)\t([0-9a-fA-F]+)/.freeze
DEFAULT_DIR_PERMISSION = 0755
DEFAULT_FILE_PERMISSION = 0644
@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=",
@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)
#!/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 / 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" )
@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 / 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