- /usr/libexec/ hook ,
bsp: /usr/libexec/net/if_link_up/synorelayd_hook.sh
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://cdn.jsdelivr.net/npm/jsmpeg-player@3/build/jsmpeg-player.min.js"></script> | |
<script> | |
function testStream() { | |
var videoUrl = document.getElementById("myinput").value; | |
new JSMpeg.VideoElement('#videoWrapper', videoUrl); | |
} | |
</script> |
Creating New Line | |
To create a New line, we will call the following URL. | |
http://dns:port/api.php?action=user&sub=create | |
The above URL, accepts the POST action, and to create a new line we will have to specify some arguments in an array called user_data | |
Example Code: |
# | |
FROM debian:jessie | |
MAINTAINER dbiesecke | |
ADD http://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2015.6.1_all.deb /keyring.deb | |
RUN dpkg -i /keyring.deb | |
RUN echo 'deb http://www.deb-multimedia.org jessie main non-free' > /etc/apt/sources.list.d/ffmpeg.list | |
RUN echo 'deb ftp://ftp.deb-multimedia.org jessie main non-free' >> /etc/apt/sources.list.d/ffmpeg.list | |
RUN apt-get update |
services: | |
cloud9: | |
image: cs50/ide | |
container_name: cloud9 | |
environment: | |
- PGID=${PGID} | |
- PUID=${PUID} | |
- TZ=${TZ} | |
# - PORT=80 | |
# - IP=178.254.3.20 |
sudo apt-get install -y libglib2.0-dev libcairo2-dev libgtk-3-dev xvfb
go get -tags gtk_3_10 github.com/gotk3/gotk3/gtk
#!/usr/bin/perl | |
# use Carp; | |
# require Exporter; | |
# require DynaLoader; | |
# require 5.006; | |
my $hostname = `hostname | xargs echo -n`; # bot will get here machine name | |
my $name = getlogin."\@".$hostname; |
# -*- coding: utf-8 -*- | |
''' | |
Created on 9/05/2014 | |
@author: pybquillast | |
''' | |
import sys | |
import os |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- ~/.kodi/userdata/Lircmap.xml --> | |
<!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml --> | |
<!-- --> | |
<!-- How to add remotes --> | |
<!-- <remote device="name_Lirc_calls_the_remote"> --> | |
<!-- --> | |
<!-- For the commands the layout following layout is used --> | |
<!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND> --> |