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
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | |
░░░░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░░░ | |
░░░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░░░ | |
░░░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░░░ | |
░░░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░░█░░░░ | |
░░░▄▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░░█░░░ | |
░░█░▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒░█░░ | |
░░█░▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█░░ | |
░░░█░▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█░░░ | |
░░░░█░░░▀▄▀█▄▄░█▀▀▀▄▄▄▄▀▀█▀██░█░░░░ |
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
_ _ _ | |
|\ ||_ / \|\ |\/|_) | |
| \||_ \_/| \|/\| | |
M"""""""`YM MM""""""""`M MMP"""""YMM M"""""""`YM M""MMMM""M MM"""""""`YM | |
M mmmm. M MM mmmmmmmM M' .mmm. `M M mmmm. M M `MM' M MM mmmmm M | |
M MMMMM M M` MMMM M MMMMM M M MMMMM M MM. .MM M' .M | |
M MMMMM M MM MMMMMMMM M MMMMM M M MMMMM M M .mm. M MM MMMMMMMM | |
M MMMMM M MM MMMMMMMM M. `MMM' .M M MMMMM M M MMMM M MM MMMMMMMM |
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
На форуме, посвященном творчеству Юрия Никитина, задали вопрос: как быстро придти в норму, если чай и кофе уже не | |
помогают проснуться? Классическая ситуация: 3 часа ночи, у вас подготовка диплома или ночная смена на работе в самом | |
разгаре, а вы уже не работник, а обыкновенный зомби. 2-х литровый чайник чая или кофе внутри вас, сердце выпрыгивает из | |
груди, каждые 15 минут ползаете в туалет, а глаза уже не открываются. Знакомо? Как привести себя в норму за 5-7 минут без | |
медикаментов и энергетиков? | |
Предупреждаю заранее: не смейтесь, методика проверена годами и многими людьми, очень действенна и проста для изучения. | |
Перед боем, спортивными соревнованиями и просто в экстренных случаях, методика просто незаменимая. Только не |
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
1 Введение | |
В своей прошлой заметке я постарался осветить в общих чертах стиль работы с | |
распределенной системой контроля версий git и указать на отличия по сравнению с | |
классическими централизованными СКВ. Целью было прежде всего обобщение опыта | |
работы с системой без упоминания тонкостей синтаксиса отдельных команд. | |
Данный же топик задумывался как непосредственное введение в работу с git, нечто | |
среднее между tutorial и обобщенной справкой, до которого все же рекомендуется |
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
<?php | |
$http_statuses = array ( | |
100 => 'Continue', | |
101 => 'Switching Protocols', | |
102 => 'Processing', | |
200 => 'OK', | |
201 => 'Created', | |
202 => 'Accepted', | |
203 => 'Non-Authoritative Information', | |
204 => 'No Content', |
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
<?php | |
function getExtByMimeType($mime) { | |
$known_files = array( | |
'/etc/mime.types', | |
'/etc/httpd/mime.types', | |
'C:\Program Files\Apache Group\Apache\conf\mime.types' | |
); /* If mime type file of your system not listed here, please add it path here */ | |
$extensionFile = null; |
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
<?php | |
function parseFile($file) { | |
$matches = array(); | |
$pattern = '/(.+?)\s+(.+?)\n/'; | |
preg_match_all($pattern, file_get_contents($file), $matches); | |
$matches[2] = array_map(function($value) { preg_match_all('/\G(?:^|,)(?:"([^"]*+(?:""[^"]*+)*+)"|([^",]*+))/x', $value, $ret); return (count($ret[2])>1)?$ret[2]:$ret[2][0]; } , $matches[2]); | |
return array_combine($matches[1], $matches[2]); | |
} | |
print_r(parseFile('input.txt')); |
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
/** | |
* Name: Nice Menu | |
* Version: 0.2 | |
* Author: Marcell Jusztin - http://www.marcelljusztin.com | |
* Description: A simple, elegant, colorful, CSS3 animated menu | |
* Tags: css3, animation, menu, simple, elegant, colourful | |
* License: http://creativecommons.org/licenses/by-sa/3.0/ | |
* | |
* Changelog v0.2: | |
* - Changed animation to support percentage, so there is no need to update values one-by-one |
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
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
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
/^(((([0-2][0-9]|30)\.(04|06|09|11))|(([0-2][0-9]|31)\.(01|03|05|07|08|10|12))|(([0-2][0-9])\.02))\.[0-9](0|4|8)((0|2|4|6|8)(0|4|8)|(1|3|5|7|9)(2|6)))|(((([0-2][0-9]|30)\.(04|06|09|11))|(([0-2][0-9]|31)\.(01|03|05|07|08|10|12))|(([0-2][0-8])\.02))\.!([0-9](0|4|8)((0|2|4|6|8)(0|4|8)|(1|3|5|7|9)(2|6))))$/ |
OlderNewer