Skip to content

Instantly share code, notes, and snippets.

# Defined in /home/judson/.config/fish/functions/status_glyph.fish @ line 1
function status_glyph
switch $LAST_STATUS
case 0
term_fcolor 3b1
echo -n "😉 ";;
case 1
term_fcolor c66
echo -n "😠 ";;
case 2
@nyarly
nyarly / -
Created April 10, 2018 22:14
import System.Taffybar
import System.Taffybar.Systray
import System.Taffybar.Pager
import System.Taffybar.TaffyPager
import System.Taffybar.WorkspaceHUD
import System.Taffybar.SimpleClock
import System.Taffybar.FreedesktopNotifications
import System.Taffybar.Weather
import System.Taffybar.MPRIS
installing 'taffybar-with-packages'
these derivations will be built:
/nix/store/8nm1khv7rnc75xs5ra8pd14y8g8h85ng-gtk-traymanager-1.0.0.drv
/nix/store/b9nhyz9f0pjkgshcgl49955lszc7v2qk-taffybar-1.0.0.drv
/nix/store/0fn60mm9x9m8flh6zvjz5mr3s9klhdb4-ghc-8.2.2-with-packages.drv
/nix/store/flq02s5f487i4gahl3jlr87b2glj48m4-taffybar-with-packages.drv
building '/nix/store/8nm1khv7rnc75xs5ra8pd14y8g8h85ng-gtk-traymanager-1.0.0.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/2pdyyxb4dzhrbpyhq57rwnn8nahahr9f-ghc-8.2.2.
unpacking sources
installing 'taffybar-with-packages'
these derivations will be built:
/nix/store/ikwk1wwfk79c3y2bsjsh79z6ys8362ff-gtk-traymanager-1.0.0.drv
/nix/store/bpdm1v3d9l4sfrzs6xf2255w0j77i9r0-taffybar-1.0.0.drv
/nix/store/knpnhn57wqy0xgpqbcbb3bbn30ljsixq-ghc-8.2.2-with-packages.drv
/nix/store/wsdmp4bsapymjpjldvgjvmp5xkjfkxj3-taffybar-with-packages.drv
building '/nix/store/ikwk1wwfk79c3y2bsjsh79z6ys8362ff-gtk-traymanager-1.0.0.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/2pdyyxb4dzhrbpyhq57rwnn8nahahr9f-ghc-8.2.2.
unpacking sources
[Unit]
Description=Dunst Notification Service
PartOf=graphical-session.target
[Service]
ExecStart=/run/current-system/sw/bin/dunst
[Install]
WantedBy=graphical-session.target
{ }:
let
pkgs = import <nixpkgs> {};
in
pkgs.stdenv.mkDerivation {
name = "k8";
buildInputs = [
pkgs.kubectl
pkgs.minikube
failures:
---- [run-pass] run-pass/out-of-stack.rs stdout ----
executing /tmp/nix-build-rustc-1.17.0.drv-0/rustc-1.17.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustc /tmp/nix-build-rustc-1.17.0.drv-0/rustc-1.17.0-src/src/test/run-pass/out-of-stack.rs -L /tmp/nix-build-rustc-1.17.0.drv-0/rustc-1.17.0-src/build/x86_64-unknown-linux-gnu/test/run-pass --target=x86_64-unknown-linux-gnu --error-format json -L /tmp/nix-build-rustc-1.17.0.drv-0/rustc-1.17.0-src/build/x86_64-unknown-linux-gnu/test/run-pass/out-of-stack.stage2-x86_64-unknown-linux-gnu.run-pass.libaux -C prefer-dynamic -o /tmp/nix-build-rustc-1.17.0.drv-0/rustc-1.17.0-src/build/x86_64-unknown-linux-gnu/test/run-pass/out-of-stack.stage2-x86_64-unknown-linux-gnu -Crpath -O -Lnative=/tmp/nix-build-rustc-1.17.0.drv-0/rustc-1.17.0-src/build/x86_64-unknown-linux-gnu/native/rust-test-helpers
------stdout------------------------------
------stderr------------------------------
{"message":"function cannot return without recurring","code":null,"level":
src/destiny/mod.rs|347 col 5 error 277| the trait bound `futures::Future<Item=(std::string::String, std::ffi::OsString, hyper::Chunk), Error=failure::Error>: std::marker::Sized` is not satisfied
|| |
|| 347 | Box::new(future)
|| | ^^^^^^^^ `futures::Future<Item=(std::string::String, std::ffi::OsString, hyper::Chunk), Error=failure::Error>` does not have a constant size known at compile-time
|| |
|| = help: the trait `std::marker::Sized` is not implemented for `futures::Future<Item=(std::string::String, std::ffi::OsString, hyper::Chunk), Error=failure::Error>`
|| = note: required by `<std::boxed::Box<T>>::new`
| Bucket Name | Item Name | Item Level | Primary Value | Infusion Cat. | Infusion Power
| General | Nox Reve II | 9 | 92 | | 92
* | Vehicle | Vanishing Point | 0 | 160 | | 160
* | Vehicle | Noble Steed | 0 | 160 | | 160
* | Vehicle | Crucible Courser | 0 | 160 | | 160
| Vehicle | Skedaddle | 0 | 150 | | 150
| Vehicle | Lunadove | 0 | 150 | | 150
| Vehicle | Chronoglass | 0 | 150 | | 150
* | Subclass | Gunslinger | 0 | 1 |
util/docker_registry/dummy_client.go:80:
cannot use func literal (type
func("github.com/opentable/sous/vendor/github.com/stretchr/testify/mock".Arguments) bool
) as type
func( "github.com/stretchr/testify/mock".Arguments) bool
in argument to drc.Spy.MatchMethod
My spies package (github.com/nyarly/spies) leverages testify/mock, because the interfaces are similar.
Because I'm using my local copy of `spies` and also have vendored testify/mock, I get this conflict.