All Projects → arturoherrero → gvar

arturoherrero / gvar

Licence: MIT license
gvar(1) -- display, set, or remove global variables.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to gvar

Memo
The memo elastic and resilient key-value store.
Stars: ✭ 111 (+640%)
Mutual labels:  key-value-store
Client Rust
Rust Client for TiKV.
Stars: ✭ 175 (+1066.67%)
Mutual labels:  key-value-store
request store rails
📦 Per-request global storage for Rails prepared for multi-threaded apps
Stars: ✭ 78 (+420%)
Mutual labels:  global-variables
Foundationdb
FoundationDB - the open source, distributed, transactional key-value store
Stars: ✭ 10,937 (+72813.33%)
Mutual labels:  key-value-store
Mit 6.824 2018
Solutions to mit 6.824 2018
Stars: ✭ 158 (+953.33%)
Mutual labels:  key-value-store
6.824 2017
⚡️ 6.824: Distributed Systems (Spring 2017). A course which present abstractions and implementation techniques for engineering distributed systems.
Stars: ✭ 219 (+1360%)
Mutual labels:  key-value-store
Incubator Pegasus
['pɛgəsəs] A distributed key-value storage system developed and maintained by Xiaomi Cloud Storage Team.
Stars: ✭ 1,346 (+8873.33%)
Mutual labels:  key-value-store
pDPM
Passive Disaggregated Persistent Memory at USENIX ATC 2020.
Stars: ✭ 38 (+153.33%)
Mutual labels:  key-value-store
Lucid
High performance and distributed KV store w/ REST API. 🦀
Stars: ✭ 171 (+1040%)
Mutual labels:  key-value-store
Konserve
A clojuresque key-value/document store protocol with core.async.
Stars: ✭ 240 (+1500%)
Mutual labels:  key-value-store
Olric
Distributed cache and in-memory key/value data store. It can be used both as an embedded Go library and as a language-independent service.
Stars: ✭ 2,067 (+13680%)
Mutual labels:  key-value-store
Cete
Cete is a distributed key value store server written in Go built on top of BadgerDB.
Stars: ✭ 153 (+920%)
Mutual labels:  key-value-store
Swaydb
Non-blocking persistent & in-memory key-value storage engine for JVM.
Stars: ✭ 221 (+1373.33%)
Mutual labels:  key-value-store
Olegdb
Enough works to use this in production
Stars: ✭ 122 (+713.33%)
Mutual labels:  key-value-store
avl array
High performance templated AVL tree using a fixed size array. Extensive test suite passing.
Stars: ✭ 33 (+120%)
Mutual labels:  key-value-store
Jungle
An embedded key-value store library specialized for building state machine and log store
Stars: ✭ 110 (+633.33%)
Mutual labels:  key-value-store
Iowow
The skiplist based persistent key/value storage engine
Stars: ✭ 206 (+1273.33%)
Mutual labels:  key-value-store
julea
A Flexible Storage Framework for HPC
Stars: ✭ 25 (+66.67%)
Mutual labels:  key-value-store
meteora
Distributed key-value store.
Stars: ✭ 23 (+53.33%)
Mutual labels:  key-value-store
Cubdb
Elixir embedded key/value database
Stars: ✭ 235 (+1466.67%)
Mutual labels:  key-value-store

gvar

Code Climate Build Status

gvar(1) -- display, set, or remove global variables*.

* When I say global variable, I refer to a key-value pair that you can read/write at any time in any terminal session. You can think this is similar to the environment variables because it's a set of dynamic-named values but they are not session-wide or system-wide related.

Description

gvar is a pure Bash key-value store where each user has a different collection of data. The records are stored in the user's home directory as ~/.gvar file.

Installation

Clone this repository:

$ git clone [email protected]:arturoherrero/gvar.git

Add gvar/bin/ to your PATH:

$ echo 'export PATH="${PATH}:path/to/gvar/bin"' >> ~/.bash_profile

Source your profile:

$ source ~/.bash_profile

OS X

$ brew tap arturoherrero/formulae
$ brew install gvar

Usage

To print out the names and values of all the global variables, use:

$ gvar

To set global variables, use arguments of the form <VARIABLE>=<VALUE>, setting variable <VARIABLE> to value <VALUE>:

$ gvar VARIABLE=VALUE

Setting a global variable to an empty value is different from unsetting it:

$ gvar VARIABLE=

To print the value of the global variable <VARIABLE>, use:

$ gvar VARIABLE

To remove (unset) a global variable <VARIABLE>, use:

$ gvar -u VARIABLE
$ gvar --unset=VARIABLE

To delete the environment, removing all the global variables, use:

$ gvar -d
$ gvar --delete-environment

Who made this?

This was made by Arturo Herrero under the MIT License. Find me on Twitter @ArturoHerrero.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].