This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" config based on awesome https://sharksforarms.dev/posts/neovim-rust/ | |
syntax on | |
syntax enable | |
filetype plugin indent on | |
" Specify a directory for plugins | |
" - For Neovim: ~/.local/share/nvim/plugged | |
" - Avoid using standard Vim directory names like 'plugin' | |
call plug#begin('~/.local/share/nvim/plugged') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Sensible defaults | |
XTerm.vt100.locale: false | |
XTerm.vt100.utf8: true | |
XTerm.vt100.scrollTtyOutput: false | |
XTerm.vt100.scrollKey: true | |
XTerm.vt100.bellIsUrgent: true | |
XTerm.vt100.metaSendsEscape: true | |
! Styling | |
XTerm.vt100.faceName: Iosevka Medium |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set-window-option -g mode-keys vi | |
set-option -g default-shell "/usr/bin/bash" | |
set -g default-terminal "screen-256color" # Setting the correct term | |
# clone from https://github.com/jimeh/tmux-themepack | |
source-file "${HOME}/src/various/tmux-themepack/powerline/double/yellow.tmuxtheme" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# ~/.bashrc | |
# | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
# Make sure to install Z with pikaur -S z | |
[[ -r "/usr/share/z/z.sh" ]] && source /usr/share/z/z.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH="$HOME/.cargo/bin:$PATH" | |
export LD_LIBRARY_PATH=~/bin:$(rustc --print sysroot)/lib:$LD_LIBRARY_PATH | |
export TESSDATA_PREFIX=~/ | |
export RUST_SRC_PATH=$(rustc --print sysroot)/lib/rustlib/src/rust/src | |
export MSBuildSDKsPath=/opt/dotnet/sdk/2.1.500/Sdks | |
export GPG_TTY=$(tty) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
syntax enable | |
filetype plugin indent on | |
" Specify a directory for plugins | |
" - For Neovim: ~/.local/share/nvim/plugged | |
" - Avoid using standard Vim directory names like 'plugin' | |
call plug#begin('~/.local/share/nvim/plugged') | |
Plug 'tpope/vim-sensible' | |
Plug 'scrooloose/nerdtree' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn code() -> impl Future<Item = (), Error = ErrorB> { | |
io_a() | |
.from_err() | |
.and_then(|_| done(met_a())) | |
.from_err() | |
.and_then(|_| done(met_b()).and_then(|_| io_b())) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![feature(conservative_impl_trait)] | |
extern crate futures; | |
use futures::future::*; | |
#[derive(Debug)] | |
struct ErrorA; | |
#[derive(Debug)] | |
struct ErrorB; |
NewerOlder