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
#!/bin/bash | |
# save and run | |
# . nginx_builder2 | |
CPUC=`cat /proc/cpuinfo | grep processor | wc -l` | |
CPUC=$((CPUC-1)) | |
PARENTF=`pwd` | |
BUILDF="$PARENTF/build" | |
NGINXV='nginx-1.26.0' |
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
install | |
example for openSUSE 42.1 (x86_64) | |
-------------------------------------------------------------------------------------------------------- | |
zypper in scons libportaudio2 libao-devel portaudio-devel libpulse-devel alsa-devel libgiomm-2_4-1 glibmm2-devel | |
git clone https://github.com/Olga-Yakovleva/RHVoice.git RHVoice.git | |
cd RHVoice.git |
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
use strict; | |
use warnings; | |
use Data::Dumper; | |
use Time::HiRes; | |
use AnyEvent; | |
use AnyEvent::HTTP; | |
my @list = ( |
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
package AndrewPFindIndex; | |
use strict; | |
use warnings; | |
use Data::Dumper; | |
# sorted array |
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
#!/bin/bash | |
# save and run | |
# . nginx_builder | |
CPUC=`cat /proc/cpuinfo | grep processor | wc -l` | |
CPUC=$((CPUC-1)) | |
PARENTF=`pwd` | |
BUILDF="$PARENTF/build" | |
NGINXV='nginx-1.18.0' |