Skip to content

Instantly share code, notes, and snippets.

$ v4l2-ctl --all
Driver Info:
Driver name : uvcvideo
Card type : USB Capture SDI: USB Capture SD
Bus info : usb-0000:00:14.0-2
Driver version : 5.4.19
Capabilities : 0x84a00001
Video Capture
Metadata Capture
Streaming
@jonathanmtran
jonathanmtran / README.md
Last active May 11, 2019 01:56
Fiosan "Quickstart"

Fiosan "Quickstart"

Setup

Create a folder to hold the Fiosan repos (e.g. $HOME/Documents/fiosan). We will call this path $FIOSAN_ROOT.

CAS

There are two ways to set up a basic instance of CAS: Docker Image (requires CPP account) or from scractch using uPortal-start.

diff --git a/uportal-war/src/main/java/org/jasig/portal/shell/PortalShellBuildHelper.java b/uportal-war/src/main/java/org/jasig/portal/shell/PortalShellBuildHelper.java
index 60850f4..f570271 100644
--- a/uportal-war/src/main/java/org/jasig/portal/shell/PortalShellBuildHelper.java
+++ b/uportal-war/src/main/java/org/jasig/portal/shell/PortalShellBuildHelper.java
@@ -47,6 +47,8 @@ public interface PortalShellBuildHelper {
void deleteUser(String target, String user);
+ void deleteUserById(String target, int userid);
+
# This file allows to restrict SSL behavior in Mule. If the file doesn't exist or a property is not defined,
# default values of the current security provider will be used.
# Cipher suites that will be enabled in SSL. If this property is set, SSL sockets will
# only use cipher suites that are provided in this list and supported by the current security provider.
enabledCipherSuites=TLS_KRB5_WITH_3DES_EDE_CBC_MD5, \
TLS_KRB5_WITH_RC4_128_SHA, \
SSL_DH_anon_WITH_DES_CBC_SHA, \
# TLS_DH_anon_WITH_AES_128_CBC_SHA, \
#!/bin/sh
ffmpeg -i "$1" -s 640x360 -c:a copy -an $2.mp4
# ffmpeg -i "$1" -s 640x360 -c:a copy -an $2.webm
ffmpeg -i "$2.mp4" -s 640x360 -c:a copy -an -c:v libvpx -b:v 1M "$2.webm"
Public Class Form1
Dim gCurrentMove As Integer = 0
Private Sub Button1A_Click(sender As Object, e As EventArgs) Handles Button1A.Click
' Check to see if the button's text is empty.
' If it's not empty, let's not waste our time
If Button1A.Text <> "" Then
Return
End If
var comments_container = 'div#comments';
var content_container = 'div#content';
var nav_container = 'nav.post-navigation';
var post_title_selector = 'h1.entry-title';
var curr_url = window.location.href;
jQuery.noConflict();
jQuery(document).ready(function() {
#!/bin/sh
apt-get install -y apt-transport-https
curl https://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add -
echo "deb https://repo.varnish-cache.org/debian/ wheezy varnish-4.0" >> /etc/apt/sources.list.d/varnish-cache.list
apt-get update
apt-get install -y varnish
#!/bin/sh
sudo apt-get install -y git-core
cd /tmp
git clone https://github.com/ByteInternet/libapache-mod-fastcgi.git
cd libapache-mod-fastcgi
patch -p1 < debian/patches/byte-compile-against-apache24.diff
sudo /usr/local/apache2/bin/apxs -i -a -o mod_fastcgi.so -c *.c
#!/bin/sh
sudo apt-get install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl apt-show-versions libapt-pkg-perl
cd /tmp
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.690_all.deb
sudo dpkg -i webmin_1.690_all.deb