I hereby claim:
- I am travcunn on github.
- I am travcunn (https://keybase.io/travcunn) on keybase.
- I have a public key whose fingerprint is D8FC CD53 2D92 0048 E03C FC86 CC99 F770 8063 DE1F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# -*- coding: utf-8 -*- | |
import aioamqp | |
connection = None | |
protocol = None | |
async def disconnected(exception): | |
global connection, protocol |
I hereby claim:
To claim this, I am signing this object:
>>> x = [] | |
>>> y = [] | |
>>> | |
>>> def test_loop(): | |
... for _ in range(5000000): | |
... x.append(_) | |
... | |
>>> def test_map(): | |
... map(y.append, range(5000000)) | |
... |
using System; | |
using System.IO; | |
using System.Web; | |
using System.Net; | |
using System.Collections; | |
using SmartFile; | |
namespace SmartFileTest | |
{ |
using System; | |
using System.IO; | |
using System.Web; | |
using System.Net; | |
using System.Collections; | |
using SmartFile; | |
namespace SmartFileTest | |
{ |
Open $ vim /etc/default/grub
then add elevator=noop
next to GRUB_CMDLINE_LINUX_DEFAULT
. Run $ update-grub
and $ cat /sys/block/sda/queue/scheduler
to be sure that noop is being used:
$ vim /etc/default/grub
$ update-grub
$ cat /sys/block/sda/queue/scheduler
[noop] deadline cfq
class TrackRefs: | |
"""Object to track reference counts across test runs.""" | |
def __init__(self, limit=40): | |
self.type2count = {} | |
self.type2all = {} | |
self.limit = limit | |
def update(self): | |
obs = sys.getobjects(0) |
class Tree(object): | |
def __init__(self, root_node=None): | |
self.root = root_node | |
self.__size = 0 | |
def delete(self, value): | |
node = self._search(self.root, value) | |
if node is False: | |
raise ValueError("%s not found in the tree" % value) | |
self._delete(node) |
And then it happened... | |
a door opened to a world... | |
rushing through the phone line like heroin through an addict's veins, | |
an electronic pulse is sent out, | |
a refuge from the day-to-day incompetencies is sought... | |
a board is found. | |
"This is it... this is where I belong..." | |
I know everyone here... | |
even if I've never met them, | |
never talked to them, |