This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Version | |
| Miner Type 17 | |
| Hw Version G19 | |
| MAC Addr 50:6c:be:09:6f:3f | |
| Build Date 2018-01-12 15:05:32 | |
| Platform Version 05ce00409af97f6a75ee5de76f761964a406de7f.0 | |
| Rootfs Version 4973e48bd7ab0bb58688ce4845bd7b2b532429f7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using UnityEditor; | |
| [InitializeOnLoad] | |
| public class Startup | |
| { | |
| static Startup() | |
| { | |
| if (EditorUserBuildSettings.activeBuildTarget == BuildTarget.WebGL) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from https://medium.com/@yenthanh/setup-a-rtmp-livestream-server-in-15-minutes-with-srs-1b0046c77267 | |
| - download reposity https://github.com/ossrs/srs | |
| - compile and run: | |
| cd ~ && git clone https://github.com/ossrs/srs && cd srs/trunk | |
| ./configure && make | |
| ./objs/srs -c conf/srs.conf | |
| - install OBS https://obsproject.com/ | |
| - OBS: File -> Setting. In Setting window, select Stream | |
| - In the URL section, put the rtmp link to our server: rtmp://<your_server_ip>/app (e.g. rtmp://1.2.3.4/app) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from http://zqdevres.qiniucdn.com/data/20170907091103/index.html | |
| - download ngingx with RTPM module http://nginx-win.ecsds.eu/download/ *nginx 1.7.12.1 Lizard.zip | |
| - unzip | |
| - create start.bat script | |
| @echo off | |
| title Start Stream | |
| cd /d "C:\nginx" | |
| start nginx | |
| exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| powershell.exe -command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;$web = New-Object System.Net.WebClient;$web.Headers['User-Agent'] = 'DefinitelyBrowser';$results = $web.DownloadString('https://api.github.com/repos/user/repo/releases/latest');$results = $results | ConvertFrom-Json;$results = $results | select -expand tag_name;echo $results | Out-File $(ProjectDir)PreviousVersion.txt;" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // http://www.kroosec.com/2012/10/a-look-at-pcap-file-format.html | |
| // https://wiki.wireshark.org/Development/LibpcapFileFormat | |
| // https://www.slideshare.net/ShravanKumarCEHOSCP/pcap-headers-description | |
| // GLOBAL HEADER | |
| typedef struct pcap_hdr_s { | |
| guint32 magic_number; /* magic number */ | |
| guint16 version_major; /* major version number */ | |
| guint16 version_minor; /* minor version number */ | |
| gint32 thiszone; /* GMT to local correction */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| After starting Mac, error screen comes: | |
| macos could not be installed on your computer /system/installation/packages/osinstall.mpkg | |
| solution: | |
| click outside the error window, menu appears, select Apple/StartupDisk.., select drive, restart. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // REVERSE REGEX | |
| https://github.com/pemistahl/grex | |
| // select last numbers from string | |
| (\d+)(?!.*\d) | |
| https://regex101.com/r/vFbxy3/1 | |
| https://stackoverflow.com/a/5320864/5452781 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Updated documentation at https://www.red5pro.com/docs/server/awsinstall.html#ec2-instance-setup | |
| Download | |
| - download "Red5 Pro Server" https://account.red5pro.com/download/red5 or from downloads https://account.red5pro.com/download | |
| Server Requirements | |
| - Requires Java JDK1.8+ | |
| Ports used by Red5 Pro | |
| Additionally, the following ports are required to be open on your local system: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://live.iphone.alsace20.fr/stream_multi.m3u8 | |
| from http://tvslinks.com/channel?id=204011 | |
| sample files | |
| https://www.w6rz.net/ |