⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
if ($cat == $cat1 || $parent == $cat1) $class = 'cat1'; | |
if ($cat == $cat2 || $parent == $cat2) $class = 'cat2'; | |
if ($cat == $cat3 || $parent == $cat3) $class = 'cat3'; | |
if ($cat == $cat4 || $parent == $cat4) $class = 'cat4'; | |
if ($cat == $cat5 || $parent == $cat5) $class = 'cat5'; | |
if ($cat == $cat6 || $parent == $cat6) $class = 'cat6'; | |
if ($cat == $cat7 || $parent == $cat7) $class = 'cat7'; |
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
#!/usr/bin/env python | |
""" | |
Parse a HAR (HTTP Archive) and return URLs which do not match specific domain | |
HAR Spec: http://groups.google.com/group/http-archive-specification/web/har-1-2-spec | |
HAR can be saved, for example, from Chrome Developer Tools | |
Copyleft 2012 Andrei Kost <[email protected]> | |
based Ian Gallagher <[email protected]> script https://gist.github.com/892479 | |
Example usage: ./har_request_urls.py foo.har | |
""" |
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
#!/bin/bash | |
# Recursive file convertion windows-1251 --> utf-8 | |
# Place this file in the root of your site, add execute permission and run | |
# Converts *.php, *.html, *.css, *.js files. | |
# To add file type by extension, e.g. *.cgi, add '-o -name "*.cgi"' to the find command | |
find ./ -name "*.php" -o -name "*.html" -o -name "*.css" -o -name "*.js" -type f | | |
while read file | |
do |
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
With regard to any processes related to Telecommunication Services | |
and Additional Services provided by Operator | |
(including technical processes of message transmission, | |
receipt and processing), Moscow time shall apply. |
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
/** | |
* Widgets Library | |
* @version 0.1 | |
* @author Alexey Karunos ([email protected]) | |
* @example | |
* var widgets = new Widgets('http://site.com/widgets/'); | |
* widgets.show('userinfo'); | |
*/ | |
; | |
function Widgets(urlPrefix, urlSuffix) { |
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
.b-accordion .b-accordion-item .b-accordion-item-title .b-accordion-item-title-arrow { | |
float:left; | |
width:14px; | |
height:11px; | |
margin-top:7px; | |
background:url(../i/graphic.png) 0 -30px no-repeat; | |
} | |
.b-accordion .b-accordion-current-item .b-accordion-item-title .b-accordion-item-title-arrow { | |
float:left; |
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
.b-accordion { | |
padding:0; | |
margin: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
td { | |
padding:1em; | |
border-bottom:solid 1px #ccc; | |
line-height:1.5; | |
} | |
tr[bgcolor="#cccccc"] td, | |
tr[bgcolor="#ffffff"] td | |
{ | |
padding:0; |