Skip to content

Instantly share code, notes, and snippets.

@JohnTheodore
JohnTheodore / programming_links
Last active December 16, 2015 21:18
programming links
@JohnTheodore
JohnTheodore / farstream.txt
Last active December 18, 2015 12:49
encrypted voice/video calling on gstreamer based apps, chat discussion with the maintainer who can unblock the situation.
17:16 -!- Topic for #farstream: GStreamer voice/video calling library | http://www.freedesktop.org/wiki/Farstream | Farstream 0.2.0 for GStreamer 1.0 and 0.1.2 for GStreamer
0.10 | Please stay for long enough for us to answer your questions, if you have a question, just ask it
17:16 -!- Topic set by ocrete [~ocrete@gentoo/developer/tester] [Tue Sep 25 17:06:06 2012]
(ocrete is the maintainer of farstream)
16:33 < unstable> Does gstreamer support ZRTP? What is the story there? Is there a link / bug report talking about it? Are there plans to make the rough plugin integrated into
the gstreamer mainline project?
#!/usr/bin/env node
var util = require('util'),
http = require('http'),
fs = require('fs'),
url = require('url'),
events = require('events');
var DEFAULT_PORT = 8000;
# Class: lmmclient
#
# This module manages lmmclient
class lmmclient (
$system_log = '', # override in heira/operatingsystem/<fill in dist>.yaml
$pkg_install_opts = [],
$package_name = 'lmmclient',
$package_ver = 'latest',
$lmm_ash2_broker = '',
$log_infra_apikey = '',
"hardware_health": {
"raid": {
"batter_replacement_required": "No"
},
"power": {
"PS Redundancy": "Fully Redundant",
"PSU2": "Presence detected",
"PSU1": "Presence detected"
}
},
~/openshift-ansible$ cat inventory/byo/hosts|grep -vi ^#|grep .
[OSEv3:children]
masters
nodes
etcd
[OSEv3:vars]
ansible_ssh_user=johntheodore
ansible_sudo=true
deployment_type=origin
use_cluster_metrics=true
gluu.example.com:443 172.22.x.x - - [18/Mar/2016:01:05:59 +0000] "GET /oxauth/authorize?scope=openid+profile+email+user_name&response_type=code+id_token&nonce=nonce&redirect_uri=https%3A%2F%2Fgluu.example.com%2Fidentity%2Fauthentication%2Fauthcode&client_id=%40%211675.E217.CD44.79E2%210001%21B60F.1B8D%210008%2181BB.08D6 HTTP/1.1" 302 677 "https://gluu.example.com/identity/authentication/authcode" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36"
gluu.example.com:443 172.22.x.x - - [18/Mar/2016:01:05:59 +0000] "GET /oxauth/seam/resource/restv1/oxauth/authorize?response_type=code+id_token&scope=openid+profile+email+user_name&redirect_uri=https%3A%2F%2Fgluu.example.com%2Fidentity%2Fauthentication%2Fauthcode&nonce=nonce&client_id=%40%211675.E217.CD44.79E2%210001%21B60F.1B8D%210008%2181BB.08D6&cid=123 HTTP/1.1" 302 1237 "https://gluu.example.com/identity/authentication/authcode" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537
INFO | jvm 1 | 2016/03/18 21:01:10 | ... 54 more
INFO | jvm 1 | 2016/03/18 21:01:11 | 2016-03-18 21:01:11,525 INFO [org.gluu.oxtrust.action.Authenticator] authorizationCode : 140501ef-c544-4974-b6ef-ede28ac58ea5
INFO | jvm 1 | 2016/03/18 21:01:11 | 2016-03-18 21:01:11,526 INFO [org.gluu.oxtrust.action.Authenticator] scopes : user_name email openid profile
INFO | jvm 1 | 2016/03/18 21:01:11 | 2016-03-18 21:01:11,526 INFO [org.gluu.oxtrust.action.Authenticator] clientID : @!9E1B.E3BE.F56B.47DA!0001!9AA2.1121!0008!8FCD.5C4B
INFO | jvm 1 | 2016/03/18 21:01:11 | 2016-03-18 21:01:11,526 INFO [org.gluu.oxtrust.action.Authenticator] getting accessToken
INFO | jvm 1 | 2016/03/18 21:01:11 | 2016-03-18 21:01:11,526 INFO [org.gluu.oxtrust.action.Authenticator] tokenURL : https://gluu.example.com/oxauth/seam/resource/restv1/oxauth/token
INFO | jvm 1 | 2016/03/18 21:01:11 | 2016-03-18 21:01:11,526 INFO [org.gluu.oxtrust.action.Authenticator] Sending request to token endpoint
INFO
@JohnTheodore
JohnTheodore / gluu.xml
Last active March 19, 2016 00:12
gluu_tomcat_xml
<?xml version='1.0' encoding='utf-8'?>
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.core.AprLifecycleListener" />
<Listener className="org.apache.catalina.core.JasperListener" />
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
<GlobalNamingResources>
GLUU.root@gluu:/opt# cat /etc/apache2/sites-enabled/https_gluu.conf
<VirtualHost 100.73.151.78:80>
ServerName gluu.example.com
Redirect / https://gluu.example.com/
DocumentRoot "/var/www/html/"
</VirtualHost>
<VirtualHost 100.73.151.78:443>
DocumentRoot "/var/www/html/"
ServerName gluu.example.com:443