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
#include <stdio.h> | |
#include <tchar.h> | |
#include <conio.h> | |
#include <math.h> | |
// Структура, описывающая заголовок WAV файла. | |
struct WAVHEADER | |
{ | |
// WAV-формат начинается с RIFF-заголовка: |
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
using System; | |
using System.IO; | |
using System.Runtime.InteropServices; | |
namespace WavFormatCSharp | |
{ | |
[StructLayout(LayoutKind.Sequential)] | |
// Структура, описывающая заголовок WAV файла. | |
internal class WavHeader | |
{ |
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
error D8045: cannot compile C file '..\codec\ag_dec.c' with the /clr option |
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
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 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 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 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 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 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 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 )" |
OlderNewer