I hereby claim:
- I am codysoyland on github.
- I am codysoyland (https://keybase.io/codysoyland) on keybase.
- I have a public key ASBOlmsqov_I5Mozg4ZnvRmbQ63kDW-9OztjTY2BpTCZKgo
To claim this, I am signing this object:
| #!/bin/bash | |
| # virtualenv-auto-activate.sh | |
| # | |
| # Installation: | |
| # Add this line to your .bashrc or .bash-profile: | |
| # | |
| # source /path/to/virtualenv-auto-activate.sh | |
| # | |
| # Go to your project folder, run "virtualenv .venv", so your project folder | |
| # has a .venv folder at the top level, next to your version control directory. |
| mode: atomic | |
| github.com/sigstore/cosign/v2/cmd/conformance/main.go:34.14,38.2 3 0 | |
| github.com/sigstore/cosign/v2/cmd/conformance/main.go:40.18,41.32 1 0 | |
| github.com/sigstore/cosign/v2/cmd/conformance/main.go:41.32,42.21 1 0 | |
| github.com/sigstore/cosign/v2/cmd/conformance/main.go:49.19,51.10 2 0 | |
| github.com/sigstore/cosign/v2/cmd/conformance/main.go:52.36,54.10 2 0 | |
| github.com/sigstore/cosign/v2/cmd/conformance/main.go:55.33,57.10 2 0 | |
| github.com/sigstore/cosign/v2/cmd/conformance/main.go:58.27,60.10 2 0 | |
| github.com/sigstore/cosign/v2/cmd/conformance/main.go:61.25,63.10 2 0 | |
| github.com/sigstore/cosign/v2/cmd/conformance/main.go:64.11,65.7 1 0 |
I hereby claim:
To claim this, I am signing this object:
| # Example usage: | |
| # with temporary_settings(CELERY_ALWAYS_EAGER=True): | |
| # run_task.delay() # runs task with eager setting enabled. | |
| from contextlib import contextmanager | |
| from django.conf import settings | |
| @contextmanager | |
| def temporary_settings(**temp_settings): | |
| orig_settings = {} |
I hereby claim:
To claim this, I am signing this object:
| /* | |
| twirc.js | |
| ======== | |
| Automating Twitter messages to IRC. BSD license. | |
| Installation: | |
| ------------- | |
| * brew install node |
| -module(riak_zmq). | |
| -export([postcommit_publish/1, get_zmq_publisher/0, zmq_publisher/0, zmq_publisher/1]). | |
| postcommit_publish(RObj) -> | |
| Body = riak_object:get_value(RObj), | |
| {ok, Pid} = get_zmq_publisher(), | |
| Pid ! {send, Body}. | |
| get_zmq_publisher() -> |
| import functools | |
| class memoize(object): | |
| def __init__(self, func): | |
| self.func = func | |
| self.cache = {} | |
| def __call__(self, *args): | |
| return self.cache_get(args, lambda: self.func(*args)) | |
| def __get__(self, obj, objtype): | |
| return self.cache_get(obj, lambda: self.__class__(functools.partial(self.func, obj))) |
| #!/usr/bin/env python | |
| import requests | |
| import subprocess | |
| import re | |
| import string | |
| import textwrap | |
| import argparse | |
| def parse_args(): |
| from itertools import count | |
| def filter(input, prime): | |
| for i in input: | |
| if i % prime: | |
| yield i | |
| def get_primes(num): | |
| g = count(2) | |
| for _ in xrange(num): |