This howto is valid for Betanet on Ubuntu or Debian
You have to install some dependencies. In debian / ubuntu run:
(defun zerodark-flycheck-mk-icon (name face) | |
"Create icon for flycheck stats. | |
NAME - name of the font awesome icon in all-the-icons | |
FACE - symbol for theme face to use on the icon" | |
(all-the-icons-faicon name | |
:height 0.9 | |
:v-adjust 0 | |
:face (if (zerodark--active-window-p) | |
face 'mode-line-inactive))) |
function mhg () { | |
start_time=`date +%s` | |
for i in `find . -maxdepth 2 -name .hg -type d `; | |
do | |
d=$(dirname $i); | |
echo "--- $d: $*"; | |
hg -R $d $*; | |
done | |
end_time=`date +%s` | |
echo execution time was `expr $end_time - $start_time` s. |
simplewiki-20140209.aar | |
----------------------- | |
lxml: | |
Finished adding content in 619.53s | |
Finalizing... | |
Sorting... sorted in 11.27s | |
Resolving aliases... | |
Sorting... sorted in 17.90s | |
Resolved aliases in 322.40s |
diff --git a/client/xhr.js b/client/xhr.js | |
index 223358d..b53143e 100644 | |
--- a/client/xhr.js | |
+++ b/client/xhr.js | |
@@ -113,6 +113,12 @@ | |
response.headers = parseHeaders(client.getAllResponseHeaders()); | |
response.entity = client.responseText; | |
+ if (response.status.code === 0) { | |
+ if (/^file:\/\//i.test(url)) { |
import inspect | |
class A(object): | |
def __call__(self): | |
stack = inspect.stack() | |
frame = stack[1][0] | |
caller = frame.f_locals.get('self', None) | |
print type(caller).__name__ if caller else None |
# -*- coding: utf-8 -*- | |
def asciify(us): | |
""" | |
>>> us = "Ňóƫė".decode('utf-8') | |
>>> asciify(us) | |
u'Note' | |
""" | |
result = [] |
#! /bin/bash -x | |
export SCRIPT_FILENAME=$1 | |
export SCRIPT_NAME="$2" | |
export PATH_INFO="$3" | |
export DOCUMENT_ROOT='/' | |
export REQUEST_URI="${SCRIPT_NAME}/${PATH_INFO}" | |
export GATEWAY_INTERFACE='CGI/1.1' | |
export REDIRECT_STATUS="-" | |
php-cgi |