Skip to content

Instantly share code, notes, and snippets.

View Autofire's full-sized avatar

Autofire

View GitHub Profile
@Autofire
Autofire / main.rs
Last active November 26, 2020 22:40
Project which I cannot get text to update in
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 November 26, 2020 22:27
Playing with messages in Rust and OrbTk
use orbtk::prelude::*;
enum Message {
Increment,
}
#[derive(Default, AsAny)]
struct MainState {
count: i32,
}
@Autofire
Autofire / .vimrc
Created September 21, 2018 00:14
vimrc for Git Bash
" 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