Skip to content

Instantly share code, notes, and snippets.

View kevinw's full-sized avatar

Kevin Watters kevinw

View GitHub Profile
C:\Users\Kevin\src\pypy\fast-foward>svn info
Path: .
URL: http://codespeak.net/svn/pypy/branch/fast-forward
Repository Root: http://codespeak.net/svn
Repository UUID: fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
Revision: 79657
Node Kind: directory
Schedule: normal
Last Changed Author: afa
Last Changed Rev: 79564
1 block, cream cheese
1 tub, cottage cheese
1 cup, sugar
1 box, graham crackers
3 eggs
several large swirls, nutella
voila, nutella cheesecake
@kevinw
kevinw / bidenemail
Created October 28, 2010 17:46
joe biden email
Kevin --
There's only one way to wake up the morning after an election -- with no regrets.
There's only one way to be sure that's how you wake up on November 3rd: giving everything you've got in the last five days.
That's why I'm out there day after day, doing exactly what you're doing -- talking to voters.
These kinds of conversations are the most effective thing we can do in a campaign -- you know it. I know it. They're how we brought change to this country after years of Republican malarkey. They're how we won the White House.
(?:^|\s)((?:\&quot\;\(\^\_\^\)\&quot\;)|(?:\&lt\;\/sarcasm\&gt\;)|(?:\(\¬\_\¬\&quot\;\))|(?:\(n\/\/\/n\))|(?:\&gt\;\:\-O)|(?:\&gt\;\:o)|(?:\(\.O\.\'\))|(?:\(sarc\))|(?:\(sick\))|(?:\(\-\_\_\-\))|(?:\(\-\_\-\)p)|(?:\(\^\_\^\)d)|(?:\(T\_T\))|(?:\(\.\_\.\))|(?:\(u\_u\))|(?:\(\^O\^\))|(?:\(\*\_\*\))|(?:\&lt\;3)|(?:\(\♥\_\♥\))|(?:\)\^o\^\()|(?:\(OwO\))|(?:\(O\_O\))|(?:\(\$\_\$\))|(?:\(o\_O\))|(?:\(\^\_\^\))|(?:\(\=\_\=\))|(?:\(\ò\_\ó\))|(?:\(\^\_\-\))|(?:O\:\-\))|(?:o\:\-\))|(?:\:\-\[)|(?:\:\-S)|(?:\:\-s)|(?:\:\'\()|(?:\:\-\!)|(?:\:\-\|)|(?:\:\-\()|(?:\=\-o)|(?:\:\-D)|(?:O\:\))|(?:o\:\))|(?:\(A\))|(?:\(L\))|(?:8\-\))|(?:\(H\))|(?:\:\-\*)|(?:\(K\))|(?:\=\-O)|(?:\:\-O)|(?:\:\-x)|(?:\:\-X)|(?:\:\-\$)|(?:\$\-\))|(?:P\-\[)|(?:\:\[\[)|(?:\:\-\))|(?:\^\_\^)|(?:\:\-p)|(?:\:\-P)|(?:\(N\))|(?:\(n\))|(?:\(Y\))|(?:\(y\))|(?:\:\-\\)|(?:\:\-\/)|(?:\:\-\@)|(?:\;\-\))|(?:\:\[)|(?:\:S)|(?:\:s)|(?:\:\!)|(?:\:\|)|(?:\:\()|(?:\:o)|(?:\:D)|(?:8\))|(?:\:\*)|(?:\:O)|(?:\=O)|(?:\:X)|(?:\:x)|(?:\:\$)|(?:\$\))|(?:\^\))|(?:\:\))|(?:\:P)|(?:
diff -r 5a125fe3302d ropevim.py
--- a/ropevim.py Fri Feb 05 00:33:19 2010 +0300
+++ b/ropevim.py Thu Feb 11 12:07:55 2010 -0500
@@ -7,6 +7,8 @@
import ropemode.environment
import ropemode.interface
+import rope.base.fscommands as fscommands
+
import vim
diff -r 1216cb0e6b25 rope/base/change.py
--- a/rope/base/change.py Thu Feb 04 22:41:45 2010 +0300
+++ b/rope/base/change.py Thu Feb 11 12:03:54 2010 -0500
@@ -123,8 +123,9 @@
"""
def call(self, job_set=taskhandle.NullJobSet()):
job_set.started_job(str(self))
- function(self)
+ res = function(self)
job_set.finished_job()
diff -r 172c3949e621 ropemode/interface.py
--- a/ropemode/interface.py Wed Feb 03 22:34:27 2010 +0300
+++ b/ropemode/interface.py Thu Feb 11 12:04:04 2010 -0500
@@ -85,7 +85,10 @@
if self.project is not None:
self.close_project()
progress = self.env.create_progress('Opening [%s] project' % root)
- self.project = rope.base.project.Project(root)
+ fscommands = None
+ if self.env.get('editor_changes'):
typedef void MainThreadFunction(void*);
void callOnMainThread(MainThreadFunction*, void* context);
template <typename T>
static void deref(void* obj)
{
static_cast<T*>(obj)->deref();
}
<typename Value, typename HashFunctions, typename Traits>
<typename T, typename HashTranslator>
<typename HashSet<Value, HashFunctions, Traits>::iterator, bool>
<Value, HashFunctions, Traits>::add(const T& value)
{
typedef HashSetTranslatorAdapter<ValueType, ValueTraits, T, HashTranslator> Adapter;
return m_impl.template addPassingHashCode<T, T, Adapter>(value, value);
}
from traceback import print_exc
class debug_property(object):
'''
Doesn't squash AttributeError.
'''
def __init__(self, fget=None, fset=None, fdel=None, doc=None):
self.__get = fget
self.__set = fset