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
| ## Defaults for the beanstalkd init script, /etc/init.d/beanstalkd on | |
| ## Debian systems. Append ``-b /var/lib/beanstalkd'' for persistent | |
| ## storage. | |
| BEANSTALKD_LISTEN_ADDR=127.0.0.1 | |
| BEANSTALKD_LISTEN_PORT=11300 | |
| DAEMON_OPTS="-l $BEANSTALKD_LISTEN_ADDR -p $BEANSTALKD_LISTEN_PORT -b /var/lib/beanstalkd" | |
| ## Uncomment to enable startup during boot. | |
| START=yes |
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/sh | |
| ### BEGIN INIT INFO | |
| # Required-Start: beanstalk-job-server | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: | |
| # Description: Php workers wrapper | |
| ### END INIT INFO | |
| WORKDIR="$( cd "$( dirname "$0" )" && pwd )" |
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
| id -u `ps xu | grep -E "([a]pache2|nginx)" | awk '{print $1}' | head -n1` |
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
| chsh -s $(which zsh) |
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
| sudo apt-get install build-essential linux-headers-`uname -r` dkms |
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
| zend_extension=/usr/lib/php5/20100525/xdebug.so | |
| xdebug.profiler_enable_trigger=1 | |
| xdebug.remote_enable=1 | |
| xdebug.remote_port=9900 | |
| xdebug.profiler_output_name=cachegrind.out.%u |
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
| CREATE DATABASE amarokdb CHARACTER SET utf8 COLLATE utf8_unicode_ci; | |
| GRANT USAGE ON *.* TO amarokuser@localhost IDENTIFIED BY 'amarokpasswd'; | |
| GRANT ALL PRIVILEGES ON amarokdb.* TO amarokuser@localhost; | |
| FLUSH PRIVILEGES; |
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
| F:\vanac>alacConvert.exe a.wav a.caf | |
| Input file: a.wav | |
| Output file: a.caf | |
| F:\vanac>alacConvert.exe a.caf b.wav | |
| Input file: a.caf | |
| Output file: b.wav |
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
| error D8045: cannot compile C file '..\codec\ag_dec.c' with the /clr option |
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
| using System; | |
| using System.IO; | |
| using System.Runtime.InteropServices; | |
| namespace WavFormatCSharp | |
| { | |
| [StructLayout(LayoutKind.Sequential)] | |
| // Структура, описывающая заголовок WAV файла. | |
| internal class WavHeader | |
| { |