vi 7.2 dolazi na macosx-u 10.6.7 ali bez ruby support-a
https://github.com/fesplugas/wip/wiki/Vim-with-Ruby-Support-on-Mac-OS-X
hg clone https://vim.googlecode.com/hg/ vim
.container { | |
line-height: 85px; /* container height */ | |
} | |
.element { | |
display:inline; | |
display:inline-table; | |
display:inline-block; | |
vertical-align:middle; | |
} |
vi 7.2 dolazi na macosx-u 10.6.7 ali bez ruby support-a
https://github.com/fesplugas/wip/wiki/Vim-with-Ruby-Support-on-Mac-OS-X
hg clone https://vim.googlecode.com/hg/ vim
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# written by Arthur Furlan <[email protected]> | |
from __future__ import with_statement | |
from fabric.api import * | |
import socket | |
import time |
#!/usr/bin/env python2.4 | |
# This program shows off a python decorator( | |
# which implements tail call optimization. It | |
# does this by throwing an exception if it is | |
# it's own grandparent, and catching such | |
# exceptions to recall the stack. | |
import sys | |
class TailRecurseException: |
#!/usr/bin/env ruby | |
#-*- coding: utf-8 -*- | |
def √(n) | |
Math::sqrt(n) | |
end | |
class Numeric | |
def ±(n) | |
r = [self + n, self - n] |
/* | |
--- | |
Port from the YUI3 event-simulate functionality to vanilla javascript. | |
... | |
*/ | |
(function(global, document){ | |
var mix = function(obj1, obj2){ | |
for (var key in obj2){ | |
obj1[key] = obj2[key]; |
git shortlog -s | sort -rn | nl |
#!/usr/bin/env python | |
import sys | |
from subprocess import * | |
# | |
# subprocess.check_output() is new in Python 2.7 | |
# | |
def _check_output(*popenargs, **kwargs): | |
r"""Run command with arguments and return its output as a byte string. |
class SeleniumBrowser(object): | |
def __init__(self): | |
self.driver = WebDriver() | |
def _extract_error(self, exception): | |
regex = re.compile(ur'URL = (?P<url>\S+) Response_Code = (?P<status>\d+) Error_Message = (?P<message>.*)') | |
found = regex.search(unicode(exception)) | |
if found: | |
return found.groupdict() |
GitHub.TreeSlider = function () { | |
if (window.history && window.history.pushState) { | |
function a() { | |
if (e.sliding) { | |
e.sliding = false; | |
$(".frame-right").hide(); | |
$(".frame-loading:visible").removeClass("frame-loading") | |
} | |
} | |
if (!($("#slider").length == 0 || !GitHub.shouldSlide)) if (!navigator.userAgent.match(/(iPod|iPhone|iPad)/)) { |