Skip to content

Instantly share code, notes, and snippets.

using System;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.ServiceModel.Web;
namespace Microsoft.ServiceModel.Samples.BasicWebProgramming
{
public class Constants
{
public const string Namespace = "http://test.org";
@tewarid
tewarid / node-gstreamer-tcpserversink.js
Last active April 9, 2018 23:52
stream live webm over http
var cmd = 'gst-launch-1.0';
var args = ['autovideosrc',
'!', 'video/x-raw,framerate=30/1,width=320,height=240',
'!', 'videoconvert',
'!', 'queue', 'leaky=1',
'!', 'vp8enc',
'!', 'queue', 'leaky=1',
'!', 'm.', 'autoaudiosrc',
'!', 'queue', 'leaky=1',
'!', 'audioconvert',

Keybase proof

I hereby claim:

  • I am tewarid on github.
  • I am tewarid (https://keybase.io/tewarid) on keybase.
  • I have a public key ASCq-Mt_n9YvbxTc1ExAECsqlhl66SE3RL6Mb5T7UEx7pgo

To claim this, I am signing this object:

@tewarid
tewarid / test.cpp
Last active March 31, 2022 18:41
Avoid templates especially when using std::make_unique and std::unique_ptr in clang++
#include <iostream>
#include <memory>
struct BaseValues
{
int intValue = -1;
};
struct DerivedValues : BaseValues
{