Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0"?>
<document type="freeswitch/xml">
<X-PRE-PROCESS cmd="set" data="local_address=$${local_ip_v4}"/>
<X-PRE-PROCESS cmd="set" data="sipnet_proxy=sipnet.ru"/>
<X-PRE-PROCESS cmd="set" data="sipnet_login=..."/>
<X-PRE-PROCESS cmd="set" data="sipnet_password=..."/>
<X-PRE-PROCESS cmd="set" data="sound_prefix=$${sounds_dir}/en/us/callie"/>
@victor-shelepen
victor-shelepen / VSCode_Node_Babel_Recipe.md
Created November 18, 2021 16:31 — forked from ahmadawais/VSCode_Node_Babel_Recipe.md
VSCode Node + Babel Recipe | Solves: vscode debug unexpected token import

VSCode Node + Babel Recipe

Debug Modern JavaScript with VSCode. Part of VSCode Course.

1. init a module:

npm init -y
@victor-shelepen
victor-shelepen / seed_derivatives.drush.inc
Created April 14, 2016 08:08 — forked from typhonius/seed_derivatives.drush.inc
This script can generate image derivatives for Drupal for warming up the filesystem prior to going live. Image derivative generation puts an amount of load on the servers so it images have been migrated from another server with no derivatives, it may be useful to pre-generate using this script.
<?php
/**
* Implements hook_drush_command().
*/
function seed_derivatives_drush_command() {
$items = array();
$items['seed_derivatives'] = array(
'description' => "Create image derivatives",
@victor-shelepen
victor-shelepen / install_python27_virtualenv.sh
Created October 11, 2015 20:47 — forked from ellmetha/install_python27_virtualenv.sh
Python 2.7 & virtualenv installation on Alwaysdata
#!/bin/bash
# Python 2.7 installation
mkdir -p $HOME/.python/src
cd $HOME/.python/src
wget https://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz --no-check-certificate
tar xvfz Python-2.7.6.tgz
cd Python-2.7.6
mkdir $HOME/.python/python2.7
./configure --prefix=$HOME/.python/python2.7