Skip to content

Instantly share code, notes, and snippets.

View Gastove's full-sized avatar

Ross Donaldson Gastove

View GitHub Profile
Compiling voltron-grpc v0.1.0 (/home/rdonaldson/Code/DB/voltron/code/rust)
error[E0277]: the trait bound `impl Future: VoltronCache` is not satisfied
--> src/bin/server.rs:17:46
|
17 | .add_service(VoltronCacheServer::new(server))
| ^^^^^^ the trait `VoltronCache` is not implemented for `impl Future`
|
note: required by `VoltronCacheServer::<T>::new`
--> /home/rdonaldson/Code/DB/voltron/code/rust/target/debug/build/voltron-grpc-ae3836ff64840844/out/voltron.rs:191:9
|
# =============================================================================
#
# Utility functions for zoxide.
#
# Remove definitions.
# pwd based on the value of _ZO_RESOLVE_SYMLINKS.
function __zoxide_pwd
pwd -L
// This is what the Giraffe template produces
module giraffe.App
open System
open System.IO
open Microsoft.AspNetCore.Builder
open Microsoft.AspNetCore.Cors.Infrastructure
open Microsoft.AspNetCore.Hosting
open Microsoft.Extensions.Hosting
open Microsoft.Extensions.Logging
Running 7 tests (2018-11-25 14:42:02-0800)
Test epg-decrypt-1 backtrace:
signal(epg-error ("Decryption failed" ""))
apply(signal (epg-error ("Decryption failed" "")))
(setq value-7 (apply fn-5 args-6))
(unwind-protect (setq value-7 (apply fn-5 args-6)) (setq form-descri
(if (unwind-protect (setq value-7 (apply fn-5 args-6)) (setq form-de
(let (form-description-9) (if (unwind-protect (setq value-7 (apply f
(let ((value-7 'ert-form-evaluation-aborted-8)) (let (form-descripti
(let* ((fn-5 (function equal)) (args-6 (condition-case err (let ((si
class CustOps:
def __init__(self, name, age, hire_date):
self.name = name
self.age = age
self.hire_date = convert_to_dt(hire_date)
def tenure(self):
# today - hire date
pass
@Gastove
Gastove / graal.txt
Created April 30, 2018 04:57
Graal build output
build: Checking SubstrateVM requirements for building ...
Compiling com.oracle.truffle.api.dsl.test with javac-daemon... [/home/rdonaldson/Code/open-source/graal/truffle/mxbuild/src/com.oracle.truffle.api.dsl.test/bin/com/oracle/truffle/api/dsl/test/RewriteUnexpectedResultTest.class does not exist]
Compiling com.oracle.truffle.api.interop.java.test with javac-daemon... [/home/rdonaldson/Code/open-source/graal/truffle/mxbuild/src/com.oracle.truffle.api.interop.java.test/bin/com/oracle/truffle/api/interop/java/test/FunctionalInterfaceTest.class does not exist]
Compiling org.graalvm.compiler.replacements.amd64 with javac-daemon... [/home/rdonaldson/Code/open-source/graal/compiler/mxbuild/src/org.graalvm.compiler.replacements.amd64/bin/org/graalvm/compiler/replacements/amd64/AMD64MathSubstitutions.class does not exist]
Compiling org.graalvm.compiler.replacements.aarch64 with javac-daemon... [/home/rdonaldson/Code/open-source/graal/compiler/mxbuild/src/org.graalvm.compiler.replacements.aarch64/bin/org/graalvm/comp
#!/bin/sh
# This repo exists to help me get a few common configs in place -- things I use
# absolutely everywhere. Currently, this means my Emacs and fish shell configs.
EMACS_REPO='git@github.com:Gastove/orary.git'
FISH_REPO='git@gitlab.com:gastove/fish-sauce.git'
echo "Bootstrapping directories..."
I met an engineer from an antique stack
Who said: "Two vast and headless instances of stone
Stand in the datacenter. Near them, on the JVM,
Half sunk, a shattered disk image lies, whose frown,
And wrinkled lip, and sneer of cold command,
Tell that it's developer well those pages read
Which yet survive, stamped on these lifeless UIs,
The hand that mocked them and the heart that fed:
And on the git log these words appear:
(defun rabbit/python-shell-send-region (start end &optional send-main msg)
"Send the region delimited by START and END to inferior Python process.
When optional argument SEND-MAIN is non-nil, allow execution of
code inside blocks delimited by \"if __name__== \\='__main__\\=':\".
When called interactively SEND-MAIN defaults to nil, unless it's
called with prefix argument. When optional argument MSG is
non-nil, forces display of a user-friendly message if there's no
process running; defaults to t when called interactively."
(interactive
(list (region-beginning) (region-end) current-prefix-arg t))
rossdonaldson@becon λ ~/Dropbox/org-docs
$ cat demo.org
# Created 2017-01-31 Tue 10:03
#+TITLE: Export file + pandoc
#+AUTHOR: Ross Donaldson
This document -- which has several characters that... usually fail to typeset
well -- should export nicely, I hope.
#+BEGIN_SRC sh
ls -la | grep rc