I hereby claim:
- I am benjaminjkraft on github.
- I am benkraft (https://keybase.io/benkraft) on keybase.
- I have a public key ASDj9ZVsxA4_K56AzNEwtOxnbVGdIAQkaFzIabrOeUICDgo
To claim this, I am signing this object:
// Package gaepb is copied from cloud.google.com/go/datastore/internal/gaepb, | |
// which copied a subset of google.golang.org/appengine/internal/datastore. | |
// It includes the Reference, Path, and Path_Element protos. | |
// | |
// They are copied there, and here, to provide compatibility to decode keys | |
// generated by the google.golang.org/appengine/datastore package. Copying the | |
// minimal amount of protos to support key decoding means we don't need to add | |
// a dependency on the appengine/datastore package. | |
// | |
// Other than the above comment, code generated by protoc-gen-go. DO NOT EDIT. |
I hereby claim:
To claim this, I am signing this object:
We have a s3cr3t repository (ok, you can probably find it, but don't peek) that we will announce right before the contest start. It's some of the exercises that were literally and liberally stolen from literally and liberally stolen from the Exercism.io Go track.
Fork this repo, solve the exercises, and submit a pull request TO THIS REPO, NOT EXERCISM/GO for judging with the description containing your personal Tally. No more commits after the time limit, but you can fuss with your Pull Request more.
Please notify the judges in Slack the #go-contest
channel which one, if any of your fully 100% passing solutions, should be considered for Special Awards:
(gdb) info locals | |
hash = 7972575859106013492 | |
hi = 0x555555ba9660 | |
wc = <optimized out> | |
buf = "f̷̢̩̰̬͕͇͍́̀ō̶̯̌̋͛̕͜r̷̔̓͗̌̂͂̀͑̀c̷̓̄͒̆̃̈̒̔̾e̷̎̂͆͛̔̓̅͊͌s" | |
p = 0x7fffffffbf10 "f̷̢̩̰̬͕͇͍́̀ō̶̯̌̋͛̕͜r̷̔̓͗̌̂͂̀͑̀c̷̓̄͒̆̃̈̒̔̾", <incomplete sequence \314>... |
def caller(cb): | |
while True: | |
try: | |
yield cb() | |
except StopIteration: | |
break | |
sentinel = object() |
package sandbox | |
import ( | |
"testing" | |
"github.com/stretchr/testify/assert" | |
) | |
// WithSetup would be a standard util. It accepts a setup func (which returns | |
// a teardown func to undo its work) and the test itself. |
#!/usr/bin/env python | |
# | |
# Script to generate animated slack messages | |
# | |
# Credit for the idea goes to @mroth. | |
# | |
# Usage: ./slackimate.py '#channel-name' 'frame-1' 'frame-2' 'frame-3' ... | |
# (ctrl-C to end) | |
# If `--delete` is an argument, the message will be deleted on exit. | |
# |
import pickle | |
from django.utils.functional import SimpleLazyObject | |
class FooBase(object): | |
def __reduce__(self): | |
self.__dict__['_version'] = 1 | |
return super(FooBase, self).__reduce__() | |
``` | |
with open('/usr/share/dict/words') as f: | |
words=set([x.strip() for x in f]) | |
words = words - set('in' + x for x in words) | |
inwords = set(x for x in words if x.startswith('in') and not x.endswith("s") and not x.endswith("ed")) | |
``` | |
in | |
inadvertence | |
inadvertent | |
inadvertently |