This file contains 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
#!/usr/bin/env python3 | |
import sys | |
import os | |
# Uncomment for gconf settings | |
#from gi.repository import Gio | |
from pywayland.client import Display | |
from pywayland.protocol.wayland import WlOutput | |
from pywayland.protocol.wayland import WlSeat | |
try: | |
from pywayland.protocol.river_control_unstable_v1 import ZriverControlV1 |
This file contains 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
// Yaml to JSON with Rust | |
// Dependencies serde_yaml and serde_json | |
// https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=3ddd4d9a65f03b717eeb1258299e9503 | |
fn main() { | |
let json_value: serde_json::Value = serde_yaml::from_str(&" | |
--- | |
test: some value here | |
another: value here | |
third: |
This file contains 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
{ | |
"Back" : "Escape; Back; Ctrl+[; Meta+O", | |
"Forward" : "Forward; Ctrl+[; Meta+I", | |
"Change Type..." : "Shift+Y; ", | |
"Close Window" : "Ctrl+W; X", | |
"Command Palette" : "Ctrl+P; Space", | |
"Copy" : "Ctrl+C; Y", | |
"Disassembly Graph" : "G, L", | |
"Display as\\Binary" : "D", | |
"Display as\\Default" : "D", |