cargo run run memgpt.modelfile
I hereby claim:
To claim this, I am signing this object:
| javascript:(function() { const createCommentElement = (comment, depth) => { const commentWrapper = document.createElement('div'); commentWrapper.style.paddingLeft = (depth * 20) + 'px'; commentWrapper.style.marginBottom = '10px'; commentWrapper.style.marginLeft = '10px'; commentWrapper.style.color = '#333'; commentWrapper.style.background = '#f6f6ef'; commentWrapper.style.fontFamily = 'Verdana, Geneva, sans-serif'; commentWrapper.style.fontSize = '14px'; const toggleButton = document.createElement('button'); toggleButton.textContent = '[-]'; toggleButton.style.marginRight = '10px'; toggleButton.style.background = 'none'; toggleButton.style.border = 'none'; toggleButton.style.color = '#888'; toggleButton.style.cursor = 'pointer'; commentWrapper.appendChild(toggleButton); const commentText = document.createElement('span'); const decoded = new DOMParser().parseFromString(comment.text, 'text/html').body.textContent || ''; const author = comment.author || ' |
| // Serialize encodes the given value into an any.Any protobuf message. | |
| func (serializer) Serialize(v interface{}) (*any.Any, error) { | |
| scratchBuf := make([]byte, binary.MaxVarintLen64) | |
| switch val := v.(type) { | |
| case int: | |
| nBytes := binary.PutVarint(scratchBuf, int64(val)) | |
| return &any.Any{ | |
| TypeUrl: "i", | |
| Value: scratchBuf[:nBytes], | |
| }, nil |
| type Worker struct { | |
| cfg WorkerConfig | |
| masterConn *grpc.ClientConn | |
| masterCli proto.JobQueueClient | |
| } | |
| // NewWorker creates a new Worker instance with the specified configuration. | |
| func NewWorker(cfg WorkerConfig) (*Worker, error) { | |
| if err := cfg.Validate(); err != nil { |
| https://github.com/EFForg/https-everywhere/blob/master/src/chrome/content/rules/Href.li.xml |
| type File struct { | |
| *file // os specific | |
| } | |
| func (f *File) Name() string { | |
| return f.name | |
| } | |
| func (f *File) Read(b []byte) (n int, err error) { | |
| if err := f.checkValid("read"); err != nil { |
| ### Keybase proof | |
| I hereby claim: | |
| * I am shermix on github. | |
| * I am shermix (https://keybase.io/shermix) on keybase. | |
| * I have a public key ASDVWhrni--9jT8WobsiYii4B3L8_75TPicv1aCoZHJyswo | |
| To claim this, I am signing this object: |