$ cd /path/to/Dockerfile
$ sudo docker build .
View running processes
<?xml version="1.0" encoding="utf-8"?> | |
<Configuration status="info"> | |
<Properties> | |
<Property name="logdir">${sys:catalina.base}/logs</Property> | |
<Property name="layout">%d [%t] %-5p %c- %m%n</Property> | |
</Properties> | |
<Appenders> | |
<Console name="CONSOLE" target="SYSTEM_OUT"> | |
<PatternLayout pattern="${layout}"/> | |
</Console> |
#EXTM3U | |
#EXTINF:0 tvg-name="Newsmax TV" tvg-language="English" tvg-country="CA" tvg-id="Newsmax-TV" tvg-logo="https://i.imgur.com/Twkovic.gif" group-title="Entertainment",Newsmax TV | |
https://nmxlive.akamaized.net/hls/live/529965/Live_1/index.m3u8 | |
#EXTINF:0 tvg-logo="https://i.imgur.com/ODIWC6n.jpg" tvg-name="Infowars1" tvg-id="Infowars1" group-title="News",Infowars Live1 | |
https://infostream.secure.footprint.net/hls-live/infostream-infostream/_definst_/master.m3u8 | |
#EXTINF:0 tvg-logo="https://i.imgur.com/ODIWC6n.jpg" tvg-name="Infowars" tvg-id="Infowars" group-title="News",Infowars Live 2 | |
https://infowarslive-lh.akamaihd.net/i/infowarsevent_1@366809/master.m3u8 | |
#EXTINF:0 tvg-name="Russia today News" tvg-country="RU" tvg-language="English" tvg-logo="https://i.imgur.com/QY4B8Hg.png" group-title="News",RT News | |
https://rt-news-gd.secure2.footprint.net/1103.m3u8 | |
#EXTINF:0 tvg-name="Russia today USA" tvg-country="RU" tvg-language="English" tvg-logo="https://i.imgur.com/QY4B8Hg.png" group-title="News",RT USA |
/* | |
* File: Regxp.h | |
* Author: solution | |
* | |
* Created on 11. listopad 2011, 16:00 | |
*/ | |
#include <stdio.h> | |
#include <string.h> | |
#include <pcre.h> |
I really like the regex syntax of the rename perl script, e.g.: | |
rename "s/OldFile/NewFile/" OldFile* | |
I simply wanted the same thing with a copy command: | |
copy "s/OldFile/NewFile/" OldFile* | |
So here it is! |
Grr this took hours to figure out. I was trying to install MJPG-streamer and running VLC command lines and all this crap but nothing worked.
First install motion
:
~> sudo apt-get install motion
Then create a config file:
~> mkdir ~/.motion
~> nano ~/.motion/motion.conf
#!/usr/bin/env python | |
# | |
# Copyright 2014-2015 Cameron Hart <[email protected]>. | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# 1. Redistributions of source code must retain the above copyright notice, | |
# this list of conditions and the following disclaimer. |
C:\Program Files\boost_1_59_0
.C:\Program Files\boost-build
.C:\Program Files\boost_1_59_0\build
.C:\Program Files\boost
.import socket, ssl, json, struct | |
import binascii | |
# device token returned when the iPhone application | |
# registers to receive alerts | |
deviceToken = '39cac56f 986a0e66 3c4fd4f4 68df5598 024d2ca3 8b9f307c 741c180e 9fc30c62' | |
thePayLoad = { | |
'aps': { | |
'alert':'Oh no! Server\'s Down!', |