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 | |
echo("This is a test."); | |
// comment | |
//another comment | |
?> | |
rohtoari |
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
# Начин на употреба: | |
# | |
# За да бенчмаркнете всички решения | |
# $ python3 fbbench.py fizzbuzz_*.py | |
# | |
# За да бенчмаркнете едно решение: | |
# $ python3 fbbench.py fizzbuzz_string.py | |
# | |
# Забележка: fizzbuzzrecursive.py не може да се бенчмарква, | |
# защото работи при n < 999, а fbbenchmark.py ползва n = 1000000 |
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
set nocompatible | |
source $VIMRUNTIME/vimrc_example.vim | |
source $VIMRUNTIME/mswin.vim | |
behave mswin | |
set sol | |
set is | |
set ic scs | |
set so=5 | |
set bg=dark |
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
MIME-Version: 1.0 | |
Sender: [email protected] | |
Reply-To: [email protected] | |
Received: by 10.103.241.14 with HTTP; Mon, 29 Mar 2010 03:02:56 -0700 (PDT) | |
Date: Mon, 29 Mar 2010 13:02:56 +0300 | |
Delivered-To: [email protected] | |
X-Google-Sender-Auth: 233a56e64ab192ad | |
Message-ID: <[email protected]> | |
Subject: TPS reports | |
From: Smith, John <[email protected]> |
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
====================================================================== | |
ERROR: test_editing (pages.tests.PageEditorTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Library/Python/2.6/site-packages/django/test/testcases.py", line 256, in __call__ | |
self._pre_setup() | |
File "/Library/Python/2.6/site-packages/django/test/testcases.py", line 223, in _pre_setup | |
self._fixture_setup() | |
File "/Library/Python/2.6/site-packages/django/test/testcases.py", line 502, in _fixture_setup | |
Site.objects.clear_cache() |
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
function showUser(str) { | |
// clear highlights | |
$('.highlight').removeClass('highlight'); | |
$('#txtHint').load('author-ajax.php?q=' + str, function() { | |
$('#authors .' + str).addClass('highlight'); | |
}); | |
} | |
/* |
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
import json | |
class Banjo: | |
""" | |
jQuery proxy for Python | |
>>> from banjo import b, js | |
>>> b('#home').toggle() | |
$("#home").toggle() | |
>>> b.map(b('p.blue'), js.myJsMapFunc) |
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
/* | |
A dynamic version for the 960.gs CSS grid framework. | |
Usage: | |
.mydiv { | |
.grid(4); // 4 column box | |
.grid(4, -2); // 4 column box, 2 column pull (negative left margin) | |
.grid(8, 0, 2); // 8 column box, 2 column prefix (left padding) | |
.gird(8, 0, 0, 3); // 8 column box, 3 column suffix (right badding) | |
} |
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
import inspect | |
def aspectize(arg): | |
def decorate_method(func): | |
func.__before = [] | |
func.__after = [] | |
def decorated(*args, **kwargs): | |
for f in func.__before: | |
res = f(*args, **kwargs) |
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
blink { | |
text-decoration: none; | |
animation: fade-in-out 1s steps(1,end) infinite alternate; | |
-webkit-animation: fade-in-out 1s steps(1,end) infinite alternate; | |
} |
OlderNewer