Skip to content

Instantly share code, notes, and snippets.

@rjgonza
rjgonza / kvstore.rs
Last active Aug 8, 2021
LearningRust
View kvstore.rs
fn main() {
let mut args = std::env::args().skip(1);
let key = args.next().unwrap();
let value = args.next().unwrap();
let db = Database::new()?;
let contents = format!("{}\t{}\n", key, value);
println!("Key: {}, Value: {}", key, value);
db.insert(key, value);
View gist:4eacebac161ec2afa2f2f219d16ac1a1
tasks/tasks_b.yml
---
- name: tasks_b - 1
tags: [never, tags_b]
debug:
msg: This is a test from the tasks_b tasks
tasks/tasks_a.yml
---
View keybase.md

Keybase proof

I hereby claim:

  • I am rjgonza on github.
  • I am rjgonza (https://keybase.io/rjgonza) on keybase.
  • I have a public key ASAeESRHai62gfEZa5drTHUisSdU6UsjuhSbPo2c1HU52Ao

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am rjgonza on github.
  • I am rjgonza (https://keybase.io/rjgonza) on keybase.
  • I have a public key whose fingerprint is CC6C 8164 4C1D C581 A403 DF17 2FCF 8B95 A854 CB39

To claim this, I am signing this object: