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
/* 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; |
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
data:image/png;base64,iVBORw0KGgoAA... |
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
Перкодировка большого числа файлов из cp1251 в UTF-8 | |
==================================================== | |
Полное условие задачи: | |
* Смена кодировки текстового файла с cp1251 на UTF-8 | |
* Последняя строка обязательно должна завершаться символом конца строки | |
* В качестве символа конца строки должны выступать CR + LF, как в DOS | |
Решение с помощью редактора Vim: |
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
Добавление частных репозиториев в 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 == |
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
Скрипт, который просматривает все подпапки текущей папки | |
и объединяет для каждой папки имеющиеся в ней mp3-файлы | |
в один mp3 c именем самой папки, где они находились. |
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
" hide hidden chars | |
:set nolist | |
" show hidden characters in Vim | |
:set list | |
" settings for hidden chars | |
" what particular chars they are displayed with | |
:set lcs=tab:▒░,trail:▓,nbsp:░ | |
" or |
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
# For Windows: | |
#alias vi="/c/Program\ Files\ \(x86\)/Vim/vim73/gvim.exe" | |
#alias vim="/c/Program\ Files\ \(x86\)/Vim/vim73/gvim.exe" | |
#alias gvim="/c/Program\ Files\ \(x86\)/Vim/vim73/gvim.exe" | |
# For Linux: | |
#alias vi="/usr/bin/gvim" | |
#alias vim="/usr/bin/gvim" | |
#export PYTHONPATH="/home/andrei/repogitories/" |
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
<% if Now() < cdate("20/09/2010 14:53:00") then | |
'ДД/ММ/ГГГГ ЧЧ:ММ:СС' %> | |
<!-- | |
Разметка внутри этой инструкции if | |
будет появляться только до 20.09.2010 | |
до 14:53:00. | |
--> | |
<% end if %> |
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
<style type="text/css"> | |
/* MetaWebPro font family licensed from fontshop.com. WOFF-FTW! */ | |
@font-face { | |
font-family: 'MetaWebPro-Book'; | |
src: url('http://www.mozilla.com/img/fonts/MetaWebPro-Book.woff') format('woff'); | |
} | |
@font-face { |
OlderNewer