This file contains hidden or 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
" Sections (use <Leader>s to quick jump to section) | |
" 1. Basic options [S_BASIC] | |
" 2. Plugins [S_PLUGINS] | |
" 3. Colors [S_COLORS] | |
" 4. Autocommands [S_AUTO] | |
" 5. Mappings [S_MAPPINGS] | |
" 6. Lightline [S_LIGHTLINE] | |
" 7. NeoMake [S_NEOMAKE] | |
" 8. LSP & similar things [S_LSP] | |
" 9. Firenvim (using NeoVim in browser) [S_FIRENVIM] |
This file contains hidden or 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
[package] | |
name = "transact" | |
version = "0.1.0" | |
authors = ["Maximilian Siling <[email protected]>"] | |
edition = "2018" | |
[dependencies] | |
actix-rt = "1.0.0" | |
actix-web = "2.0.0" | |
actix-identity = "0.2.1" |
This file contains hidden or 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
admin_route = pipe() | |
@admin_route | |
def extract_data(request: HttpRequest) -> Ns: | |
return Ns( | |
user=request.cookies.get('user'), | |
authcookie=request.cookies.get('auth'), | |
) | |
This file contains hidden or 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
error[E0698]: type inside `async` block must be known in this context | |
--> src/main.rs:5:1 | |
| | |
5 | #[tokio::main] | |
| ^^^^^^^^^^^^^^ cannot infer type for type parameter `HandlerE` | |
| | |
note: the type is part of the `async` block because of this `await` | |
--> src/main.rs:5:1 | |
| | |
5 | #[tokio::main] |
This file contains hidden or 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
hi VertSplit ctermbg=NONE guibg=NONE guifg=#455354 | |
hi CursorLine term=NONE cterm=NONE gui=NONE | |
hi SpellCap guibg=#383900 cterm=NONE gui=NONE | |
hi SpellBad guibg=#661400 cterm=NONE gui=NONE | |
hi Pmenu guibg=#2d3135 guifg=#a0d1d9 | |
hi PmenuSel guibg=#818890 | |
hi PmenuSbar guibg=#121315 | |
hi PmenuThumb guibg=#b1bfcc guifg=#66d9ef | |
hi NeomakeWarningSign guifg=#969900 guibg=#232526 cterm=NONE gui=NONE | |
hi NeomakeErrorSign guifg=#991f00 guibg=#232526 cterm=NONE gui=NONE |
This file contains hidden or 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
========== | |
VULKANINFO | |
========== | |
Vulkan Instance Version: 1.1.126 | |
Instance Extensions: count = 17 | |
==================== | |
VK_EXT_acquire_xlib_display : extension revision 1 |
This file contains hidden or 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
[INFO][amethyst::app] Initializing Amethyst... | |
[INFO][amethyst::app] Version: 0.13.2 | |
[INFO][amethyst::app] Platform: x86_64-unknown-linux-gnu | |
[INFO][amethyst::app] Amethyst git commit: 38f04eb5709f892d9bdaed3a23ea1c5235584663 | |
[INFO][amethyst::app] Rustc version: 1.38.0-nightly Nightly | |
[INFO][amethyst::app] Rustc git commit: 60960a260f7b5c695fd0717311d72ce62dd4eb43 | |
[INFO][winit::platform::platform::x11::window] Guessed window DPI factor: 1.5 | |
[WARN][gfx_backend_vulkan] Unable to find extension: VK_KHR_wayland_surface | |
[WARN][rendy_factory::factory] Slow safety checks are enabled! Disable them in production by enabling the 'no-slow-safety-checks' feature! | |
[INFO][rendy_util::wrap] Slow safety checks are enabled! You can disable them in production by enabling the 'no-slow-safety-checks' feature! |
This file contains hidden or 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
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
typedef char bool; | |
static const bool false = 0; | |
static const bool true = 1; | |
bool primep(uint64_t n) { | |
if (n == 2) { |
This file contains hidden or 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(core_intrinsics)] | |
use std::fmt; | |
use std::io::{self, Write}; | |
use std::intrinsics::likely; | |
const WINDOW_SIZE: usize = 10; | |
const UPPER_BOUND: usize = 10; | |
struct FloatingWindow { |
This file contains hidden or 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
use std::io; | |
const WINDOW_SIZE: usize = 10; | |
struct FloatingWindow { | |
data: [i64; WINDOW_SIZE], | |
start_index: usize, | |
current_size: usize, | |
} |