Skip to content

Instantly share code, notes, and snippets.

View sum-catnip's full-sized avatar
🌌
sitting on the roof top - watching the moon drop

Σcatnip sum-catnip

🌌
sitting on the roof top - watching the moon drop
View GitHub Profile
@NickHastings
NickHastings / init
Created December 12, 2022 04:51
RiverWM configuration example written in python using pywayland
#!/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
@Ciantic
Ciantic / YAML-to-JSON-with-Rust.rs
Created February 3, 2021 16:39
YAML to JSON with Rust
// 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:
@psifertex
psifertex / keybindings.json
Last active October 11, 2022 19:23
simple VIM style motion keys for Binary Ninja
{
"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",