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
'.editor': | |
'ctrl-shift-n': 'fuzzy-finder:toggle-file-finder' | |
'ctrl-1': 'tree-view:toggle' | |
'ctrl-shift-up': 'editor:move-line-up' | |
'ctrl-shift-down':'editor:move-line-down' | |
'ctrl-shift-w':'pane:close-other-items' | |
'ctrl-shift-a': 'command-palette:toggle' | |
'ctrl-l': 'go-to-line:toggle' | |
'ctrl-alt-ctrl-up': 'pane:split-right' | |
'ctrl-alt-ctrl-down': 'pane:split-down' |
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
FROM ubuntu:12.04 | |
MAINTAINER Alexander Kiryukhin <[email protected]> | |
RUN apt-get update | |
RUN apt-get -y upgrade | |
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install apache2 libapache2-mod-php5 php5-mysql php5-gd php-pear php-apc php5-curl curl lynx-cur php5-xdebug php5-memcached memcached wget | |
RUN a2enmod php5 |
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
[[ $TERM != "screen" ]] && (tmux attach || tmux new-session) |
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
▄▄▄▄▄▄▄ ▄▄▄▄ ▄▄▄ ▄ ▄ ▄▄ ▄ ▄▄▄▄▄▄▄ | |
█ ▄▄▄ █ ▀▄ ▀ ▄ ▀ ▄█▀ ▄▄▀ █ ▄▄▄ █ | |
█ ███ █ ▄ ██ █▄▀ ▀█▄▀ █ █ ███ █ | |
█▄▄▄▄▄█ █▀█ █▀█ █ ▄▀▄ ▄▀▄ █▄▄▄▄▄█ | |
▄▄▄ ▄▄ ██ ▄▄█ ▀▀█ ▄ ██▄ ▄▄▄▄ ▄▄ | |
▄ █▄█▀▄ ▄▄ █▄▄█▄▄█ ██ ▀▀█▄█▄▄▄█ | |
▀▄▀ ██▄█▀▄█▀▀▄█ ███▄ █▀▄ ▀ ▄▀███ | |
▀▄ █▀▄ ▄▄█▄ ▀▀ ▄▄▀▄▄█▀▄█▄▀▀▄▄▄ | |
▀ █▀█▄▄▄▄ ▀▄▄█ ▄ █ ▄ ██▄ ▄ █▄ ▀█▄ | |
█ █▀█▄▀▄▄▄ █▄▄ █▄█ █ ▄ ▀▀▀ █▄█▀ |
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
<?php | |
// Variables used in this script: | |
// $summary - text title of the event | |
// $datestart - the starting date (in seconds since unix epoch) | |
// $dateend - the ending date (in seconds since unix epoch) | |
// $address - the event's address | |
// $uri - the URL of the event (add http://) | |
// $description - text description of the event | |
// $filename - the name of this file for saving (e.g. my-event-name.ics) | |
// |
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
<?php | |
/* | |
GlobalMapTiles - part of Aggregate Map Tools | |
Version 1.0 | |
Copyright (c) 2009 The Bivings Group | |
All rights reserved. | |
Author: John Bafford | |
http://www.bivings.com/ | |
http://bafford.com/softare/aggregate-map-tools/ |
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
У нас было два Оптерона, 16 гигабайт оперативки, 2 гига под мемкеш, полвинчестера свободно и целое множество плагинов и модулей всех сортов и расцветок, а также Апач, MySQL и гигабайт чистого свопа. Не то чтобы это был необходимый набор для Друпала, но если начал писать на PHP, становится трудно остановиться. Единственное, что вызывало у меня опасение — это своп. Нет ничего более беспомощного, безответственного и испорченного, чем свопящийся сервер. Я знал, что рано или поздно мы перейдем и на эту дрянь. |
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
<?php | |
/** | |
* @author Alexander Kiryukhin <[email protected]> | |
* @date: 22.10.13 | |
* @time: 16:39 | |
*/ | |
class NameCases | |
{ | |
const SEX_MALE = 0; // Мужской пол |
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
"Трое из Простоквашино" - жуткая изнанка советской классики. | |
Эта ,совсем не детская сказка, имеет скрытый, пугающий смысл. О чем же этот мультфильм на самом деле? | |
Начинается история незатейливо – некий мальчик, спускается по лестнице и жует бутерброд с колбасой. Прямо на лестнице мальчик знакомится с котом, «живущим на чердаке», «который ремонтируют». Запомним эти ключевые слова, они очень важны для понимания сути происходящего, мы вернемся к ним позже. | |
Разговор мальчика с котом сам по себе не является чем-то необычным для мультфильмов, хотя как правило звери разговаривают в них друг с другом, а не с людьми. Но исключений полно – например русские народные сказки, в которых орудуют говорящие лягушки, зайцы и медведи. Но этот мультфильм совсем не сказка, в чем мы скоро убедимся. | |
Из диалога с котом выясняется забавная вещь – мальчика зовут «дядя Федор», что заставляет зрителя задуматься над вопросом – почему маленького с виду мальчика зовут так по-взрослому –«дядя»? И если он дядя, то где его племянник? Что т |
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
Законопроект о защите чувств атеистов | |
1. Российская Федерация является светским государством, в котором проживают миллионы неверующих, которым Конституцией гарантировано право оставаться таковыми. | |
Поэтому любое открытое и публичное проведение религиозных обрядов и других проявлений оскорбляет чувства миллионов неверующих граждан. | |
2. Запрещаются любые религиозные проявления в публичных местах, в т.ч. на улице, кроме специальных мест, предназначенных для этого: молельных домов, церквей, соборов и пр. | |
3. Ношение религиозной одежды, головных уборов, одежды с религиозной символикой, крестов, чёток и пр. в публичных местах запрещено. Это может оскорбить чувства неверующих. Эти предметы могут использоваться только внутри религиозных заведений. | |
4. Каждый гражданин России рождается неверующим. |