- Install and start rtpproxy, configure firewall to allow UDP ports used.
make menuconfig
.- Generate OpenSIPS Script -> Residential Script -> Configure.
- Select ENABLE_TLS, USE_AUTH, USE_DIALOG and USE_NAT.
- Go back, Generate & Save Residential Script.
- Copy etc/opensips_residential_*.cfg to
/etc/opensips/opensips.cfg
. - Customize
opensips.cfg
andSIP_DOMAIN
,DBENGINE
, etc. inopensipsctlrc
. opensipsdbctl create
.systemctl enable opensips.service && systemctl start opensips.service
.opensipsctl add <USER> <PASSWORD>
.
This file contains 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
# Angie Prometheus template "all" | |
# HELP angie_connections_accepted The total number of accepted client connections. | |
# TYPE angie_connections_accepted counter | |
angie_connections_accepted 204 | |
# HELP angie_connections_dropped The total number of dropped client connections. | |
# TYPE angie_connections_dropped counter | |
angie_connections_dropped 0 | |
# HELP angie_connections_active The current number of active client connections. | |
# TYPE angie_connections_active gauge | |
angie_connections_active 1 |
This file contains 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
#!/usr/bin/python3 | |
from functools import partial | |
def colors16(): | |
for bold in [0, 1]: | |
for i in range(30, 38): | |
for j in range(40, 48): | |
print(f'\x1b[{bold};{i};{j}m {bold};{i};{j} |\x1b[0m', end='') | |
print() |
This file contains 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
#!/usr/bin/env node | |
const fs = require('fs'); | |
// https://stackoverflow.com/a/17265031 | |
function matchCase(target, pattern) { | |
var result = ''; | |
for (var i = 0; i < target.length; i++) { | |
var c = target.charAt(i); |
NGINX Amplify Agent can collect a number of additional useful metrics described below. To enable these metrics, please make the following configuration changes. More predefined graphs will be added to the Graphs page if the agent finds additional metrics. With the required log format configuration, you'll be able to build more specific custom graphs.
- The access.log log format should include an extended set of NGINX variables. Please add a new log format or modify the existing one — and use it with the
access_log
directives in your NGINX configuration.
log_format main_ext '$remote_addr - $remote_user [$time_local] "$request" '
This file contains 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
const iTunes = Application('iTunes') | |
const app = Application.currentApplication() | |
app.includeStandardAdditions = true | |
const hookURL = 'https://misskey-hook.firebaseapp.comで取得して' | |
function getTrack(iTunes) { | |
return iTunes.currentTrack() | |
} | |
function getTrackData(iTunes) { |
Flag | Meaning |
---|---|
C | Accepts compressed messages |
M | Will forward messages to another mix when used as final hop |
| final hop |
title | description | ms.prod | ms.mktglfcycl | ms.sitesec | author | ms.localizationpriority | ms.date |
---|---|---|---|---|---|---|---|
Group Policy settings that apply only to Windows 10 Enterprise and Education Editions (Windows 10) |
Use this topic to learn about Group Policy settings that apply only to Windows 10 Enterprise and Windows 10 Education. |
w10 |
manage |
library |
brianlic-msft |
medium |
10/13/2017 |
This file contains 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
@startuml | |
' https://qiita.com/Tachy_Pochy/items/752ef6e3d38e970378f0 | |
/' | |
図の中で目立たせたいエンティティに着色するための | |
色の名前(定数)を定義します。 | |
'/ | |
!define MAIN_ENTITY #E2EFDA-C6E0B4 | |
!define MAIN_ENTITY_2 #FCE4D6-F8CBAD |
NewerOlder