npm init -y
Create a folder called src and add an empty index.js file. The code that webpack compiles goes in here including any Javascript modules and the main Tailwind file.
FreeSWITCH is a software defined telecom stack that runs on any commodity hardware. FreeSWITCH can handle voice, video and text communication and support all popullar VoIP protocols. FreeSWITCH is flexible and modular, and can be used in any way you can imagine
This guide demonstrates how to get it install FreeSWITCH and get it up and running on a Ubuntu 20.04 LTS machine
To follow along with this guide, you need one Ubuntu 20.04 LTS server which has prerequisite packages installed and configured. In order to install required packages issue following command
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
#!/usr/bin/python3 | |
# Copyright 2020 The Wazo Authors (see the AUTHORS file) | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
from wazo_auth_client import Client as Auth | |
from wazo_confd_client import Client as Confd | |
# Please add a web service user with acl confd.# | |
# in order to use ./add-webrtc-line |
#!/usr/bin/python3 | |
from wazo_auth_client import Client as Auth | |
from wazo_confd_client import Client as Confd | |
# Please add a web service user with acl confd.# | |
# To use ./add-webrtc-line | |
username = "sylvain" # Fill with your username | |
password = "sylvain" # Fill with your password |
.DEFAULT_GOAL := default | |
app_root = backend/app | |
pkg_src = $(app_root)/app | |
tests_src = $(app_root)/tests | |
local_tests_src = $(app_root)/tests/local | |
isort = isort -rc $(pkg_src) $(tests_src) | |
black = black $(pkg_src) $(tests_src) | |
flake8 = flake8 $(pkg_src) $(tests_src) | |
mypy = mypy $(pkg_src) |
Install Python, follow the steps here.
Steps I take when beginning a new Django project.
$ mkdir [project_name]_project
$ cd [project_name]_project
#!/bin/sh | |
# | |
# Simple Firewall configuration. | |
# | |
# Author: Nicolargo | |
# | |
# chkconfig: 2345 9 91 | |
# description: Activates/Deactivates the firewall at boot time | |
# | |
### BEGIN INIT INFO |