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
| #!/bin/bash | |
| echo "php-cs-fixer pre commit hook start" | |
| PHP_CS_FIXER="php-cs-fixer" | |
| git status --porcelain | grep -e '^[AM]\(.*\).php$' | cut -c 3- | while read line; do | |
| $PHP_CS_FIXER fix --verbose "$line"; | |
| git add "$line"; | |
| done | |
| echo "php-cs-fixer pre commit hook finish" |
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
| var Col = require('react-bootstrap/lib/Col') | |
| var PageHeader = require('react-bootstrap/lib/PageHeader') | |
| var React = require('react') | |
| var Row = require('react-bootstrap/lib/Row') | |
| var {connect} = require('react-redux') | |
| var {reduxForm} = require('redux-form') | |
| var DateInput = require('./DateInput') | |
| var FormField = require('./FormField') | |
| var LoadingButton = require('./LoadingButton') |
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.voip-info.org/wiki/view/Asterisk+Configuration+Examples |
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
| [macro-record-enable] | |
| include => macro-record-enable-custom | |
| exten => s,1,GotoIf($["${BLINDTRANSFER}" = ""]?check) | |
| exten => s,n,ResetCDR(w) | |
| exten => s,n,StopMixMonitor() | |
| exten => s,n(check),ExecIf($["${ARG1}"=""]?MacroExit()) | |
| exten => s,n,GotoIf($["${ARG2}"="Group"]?Group:OUT) | |
| exten => s,n(Group),Set(LOOPCNT=${FIELDQTY(ARG1,-)}) | |
| exten => s,n,Set(ITER=1) | |
| exten => s,n(begin),GotoIf($["${CUT(DB(AMPUSER/${CUT(ARG1,-,${ITER})}/recording),=,3)}" != "Always"]?continue) |
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
| Alias /records /var/spool/asterisk/monitor/ | |
| <Directory /var/spool/asterisk/monitor/> | |
| Options +Indexes | |
| Order Deny,Allow | |
| Deny from all | |
| Allow from {ip1 ip2} | |
| </Directory> |