Step 1: open file config rsync
$ vi /etc/xinetd.d/rsync
service rsync
{
disable = no
| # Stop dance for nginx | |
| # ======================= | |
| # | |
| # ExecStop sends SIGSTOP (graceful stop) to the nginx process. | |
| # If, after 5s (--retry QUIT/5) nginx is still running, systemd takes control | |
| # and sends SIGTERM (fast shutdown) to the main process. | |
| # After another 5s (TimeoutStopSec=5), and if nginx is alive, systemd sends | |
| # SIGKILL to all the remaining processes in the process group (KillMode=mixed). | |
| # | |
| # nginx signals reference doc: |
| # Install the gRPC PHP plugin on Mac | |
| # | |
| # See: http://www.grpc.io/docs/quickstart/php.html#install-protobuf-plugin | |
| # Source: https://gist.github.com/johndpope/503029706ed56d5375d1e9469f0135d4 | |
| # C1: | |
| # ================================================================================================ | |
| # Install build dependencies | |
| brew install automake libtool |
| #!/bin/bash | |
| # | |
| # supervisord Startup script for the Supervisor process control system | |
| # | |
| # AUTHOR : betapcode - [email protected] | |
| # COMPANY: Tamtay JSC | |
| # VERSION: 1.0 | |
| # CREATED: 04/11/2016 10:31:01 AM | |
| # | |
| # chkconfig: 345 83 04 |
| #!/bin/sh | |
| # | |
| # supervisord init file for starting up the supervisord daemon | |
| # | |
| # chkconfig: - 20 80 | |
| # description: Starts and stops the supervisord daemon. | |
| # AUTHOR : betapcode - [email protected] | |
| # COMPANY: Tamtay JSC | |
| # VERSION: 1.0 | |
| # CREATED: 04/11/2016 10:31:01 AM |
| [program:uwsgi] | |
| user=robdev | |
| command=uwsgi --ini /path/to/config.uwsgi | |
| autostart=false |
| #! /bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: ganglia-monitor | |
| # Required-Start: $remote_fs $syslog | |
| # Required-Stop: $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| ### END INIT INFO | |
| PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin |
| //Flutter Modal Bottom Sheet | |
| //Modified by Suvadeep Das | |
| //Based on https://gist.github.com/andrelsmoraes/9e4af0133bff8960c1feeb0ead7fd749 | |
| import 'dart:async'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:meta/meta.dart'; | |
| const Duration _kBottomSheetDuration = const Duration(milliseconds: 200); |
| import 'package:flutter/material.dart'; | |
| class AudioTabsScreen extends StatefulWidget { | |
| @override | |
| State<StatefulWidget> createState() { | |
| return new _AudioTabsState(); | |
| } | |
| } |
| import 'package:flutter/material.dart'; | |
| class AudioTabsScreen extends StatefulWidget { | |
| @override | |
| State<StatefulWidget> createState() { | |
| return new _AudioTabsState(); | |
| } | |
| } |