Posts

how to install nginx rtmp monitoring dashboard

Image
fstv-monitoring  real-time monitoring dashboard for nginx rtmp module How to install first you must installed @nginx-rtmp-module and you need to install nodejs , npm and git . open nginx config file and add at http -> server section put this code location /stat { rtmp_stat all; rtmp_stat_stylesheet stat.xsl; } location /stat.xsl { root html; } location /control { rtmp_control all; # Enable CORS add_header Access-Control-Allow-Origin * always; } move stat.xsl file to main html folder of ningx go to your home folder in your server git clone  https://github.com/fiftysoft/nginx-rtmp-monitoring.git cd to nginx-rtmp-monitoring folder run : npm install start nodejs server node server.js open your borwser to login go to :  http://your-server-ip-address:9991/login?username=admin&password=123123 then open dashboard go to :  http://your-server-ip-address:9991/ if want to logout ...

fix react native duplicate symbol with react-native-maps package

Image
This issue happen to me when i tried to archive the final ipa  to fix this issue replace your pod file with : # You Podfile should look similar to this file. React Native currently does not support use_frameworks! source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' target 'baghdadSewer' do     pod 'React' , path: '../node_modules/react-native'          pod 'GoogleMaps'   # <~~ remove this line if you do not want to support GoogleMaps on iOS          # when not using frameworks  we can do this instead of including the source files in our project (1/4):     #  pod 'react-native-maps', path: '../../'     #  pod 'react-native-google-maps', path: '../../'  # <~~ if you need GoogleMaps support on iOS end Then goto ios folder in your project and run this commend : pod install Then open th...

Laravel 5.3 multiple image upload and resize

Image
laravel 5.3 upload & resize images In this post i well show you how to upload multiple images and resize them . first we need to install the required packages using composer . first go to your project path : cd path/your/project than run this commend to install intervention/image package : composer require intervention/image add to config/app.php  : $provides => [ ......... Intervention\Image\ImageServiceProvider::class, ], $aliases => [ .......... 'Image' => Intervention\Image\Facades\Image::class, ] than in your controller : <?php namespace App\Http\Controllers; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Intervention\Image\Facades\Image; class UploadController extends Controller { public function thumbnail (Request $request ) { $this -> validate ( $request , [ 'image.*' =>...