Skip to content

Instantly share code, notes, and snippets.

Скрипт, который просматривает все подпапки текущей папки
и объединяет для каждой папки имеющиеся в ней mp3-файлы
в один mp3 c именем самой папки, где они находились.
@while0pass
while0pass / _README
Created May 21, 2010 15:07
Добавление PPA для cherokee, nginx, git и postgresql
Добавление частных репозиториев в Ubuntu для веб-серверов nginx, cherokee,
системы контроля версий git и СУБД postgresql-9.1
To start installing and using software from a Personal Package Archive, you
first need to tell Ubuntu where to find the PPA.
Important: The contents of Personal Package Archives are not checked or
monitored. You install software from them at your own risk.
== Adding the PPA to Ubuntu 9.10 (Karmic) and later ==
Перкодировка большого числа файлов из cp1251 в UTF-8
====================================================
Полное условие задачи:
* Смена кодировки текстового файла с cp1251 на UTF-8
* Последняя строка обязательно должна завершаться символом конца строки
* В качестве символа конца строки должны выступать CR + LF, как в DOS
Решение с помощью редактора Vim:
data:image/png;base64,iVBORw0KGgoAA...
/* p1, p2, p3 defined as pointers to int, while i1, i2 and i3 as just int variables */
int *p1, i1;
int* p2, i2;
int * p3, i3;
/* constant pointer to int */
int *const p;
/* pointer to constant int */
int const *p;