This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate serde_json; | |
use self::serde_json::Value; | |
use self::serde_json::Value::{I64, U64, F64, Bool, Null, Object, Array}; | |
fn grab(keys: Vec<&str>, data: Value) -> Result<Value, String> { | |
let last: bool = keys.len() == 0; | |
if last { return Ok(data); } | |
let key = keys[0]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macro_rules! serializable { | |
( | |
$(#[$struct_meta:meta])* | |
pub struct $name:ident { | |
$( | |
$(#[$field_meta:meta]) * | |
$field:ident: $type_:ty | |
),* , | |
} | |
) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am orthecreedence on github. | |
* I am orthecreedence (https://keybase.io/orthecreedence) on keybase. | |
* I have a public key whose fingerprint is DEDF 113E 5424 8344 1637 16B5 5C66 FAD1 3222 D757 | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rofi usage: | |
rofi [-options ...] | |
Command line only options: | |
-no-config Do not load configuration, use default values. | |
-v,-version Print the version number and exit. | |
-dmenu Start in dmenu mode. | |
-display [string] X server to contact. | |
${DISPLAY} | |
-h,-help This help message. |
OlderNewer