Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
Autofire /
Last active Nov 26, 2020
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() {
Autofire /
Created Nov 26, 2020
Playing with messages in Rust and OrbTk
use orbtk::prelude::*;
enum Message {
#[derive(Default, AsAny)]
struct MainState {
count: i32,
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