Skip to content

Instantly share code, notes, and snippets.

{"content":"this is the response"}
diff --git a/vumi/persist/fake_redis.py b/vumi/persist/fake_redis.py
index 5cfc84e..11aec86 100644
--- a/vumi/persist/fake_redis.py
+++ b/vumi/persist/fake_redis.py
@@ -484,6 +484,6 @@ class Zset(object):
return score
def zremrangebyrank(self, start, stop):
- deleted_keys = self._zval[start:stop+1]
- del self._zval[start:stop+1]
@smn
smn / -
Created December 11, 2013 14:52
vumi/persist/model.py: def raw_search(cls, manager, query):
vumi/persist/model.py: def raw_search(self, query):
@smn
smn / 0_reuse_code.js
Created December 5, 2013 19:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
الله معك
@smn
smn / python-example.txt
Created August 18, 2013 06:42
Brackets are only used for grouping a calculation, the resulting value of the calculation in the bracket group is used as the value for the next bit. And subtracting a negative number results in a positive number
$ python
Python 2.7.2 (default, Oct 11 2012, 20:14:37)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> -2
-2
>>> - -2
2
>>> (-2)
-2
@smn
smn / -
Created August 16, 2013 22:00
.
├── config
├── gfmaccounts
│   ├── gfmaccounts
│   │   ├── core
│   │   └── settings
│   └── requirements
└── ve
├── bin
├── include
# Key bindings for Slate to match ShiftIt's defaults.
config defaultToCurrentScreen false
config nudgePercentOf screenSize
config resizePercentOf screenSize
# Push Bindings
bind right:ctrl;alt;cmd push right bar-resize:screenSizeX/2
bind left:ctrl;alt;cmd push left bar-resize:screenSizeX/2
bind up:ctrl;alt;cmd push up bar-resize:screenSizeY/2
<?xml version="1.0"?>
<!DOCTYPE tsung
SYSTEM '/usr/local/Cellar/tsung/1.5.0/share/tsung/tsung-1.0.dtd'>
<tsung loglevel="notice" version="1.0">
<!-- Client side setup -->
<clients>
<client host="localhost" use_controller_vm="true"/>
</clients>
<servers>
<server host="go.vumi.org" port="80" type="tcp"></server>
diff --git a/README.rst b/README.rst
index 345bdca..73634c8 100644
--- a/README.rst
+++ b/README.rst
@@ -20,8 +20,8 @@ You'll find the docs in `docs/_build/index.html`
You can contact the Vumi development team in the following ways:
- * via *email* by joining the the `vumi-dev@googlegroups.com`_ mailing list
- * on *irc* in *#vumi* on the `Freenode IRC network`_