Skip to content

Instantly share code, notes, and snippets.

Avatar

Autofire

View GitHub Profile
@Autofire
Autofire / main.rs
Last active Nov 26, 2020
Project which I cannot get text to update in
View main.rs
use orbtk::prelude::*;
pub use self::main_state::*;
pub use self::main_view::*;
mod main_state;
mod main_view;
fn main() {
Application::from_name("orbtk-sandbox")
@Autofire
Autofire / message_science.rs
Created Nov 26, 2020
Playing with messages in Rust and OrbTk
View message_science.rs
use orbtk::prelude::*;
enum Message {
Increment,
}
#[derive(Default, AsAny)]
struct MainState {
count: i32,
}
@Autofire
Autofire / .vimrc
Created Sep 21, 2018
vimrc for Git Bash
View .vimrc
" I don't know exactly how Git Bash is setup, and even if VIM is packaged along side it or something else.
" However, at the school I go to, the lab computers has Git Bash and I wanted to mimic the VIM on Mac OSX.
" Thus, I came up with this.
set ts=4
set mouse=a
set novisualbell
" From https://superuser.com/questions/634326/how-can-i-get-a-block-cursor-in-vim-in-the-cygwin-terminal