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
/target |
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
fn main() -> anyhow::Result<()> { | |
println!("{}", get_name(include_bytes!("../Class.class"))?); | |
Ok(()) | |
} | |
fn get_name(cf: &[u8]) -> anyhow::Result<String> { | |
use anyhow::Context; | |
use classfile_parser::constant_info::ConstantInfo::{Class, Utf8}; | |
use classfile_parser::constant_info::ClassConstant; |
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
#!/bin/bash | |
set -e -u -x | |
oldlist="" | |
declare -A idi | |
current='' # '' codes for "do nothing with that window" | |
xprop -spy -root _NET_CLIENT_LIST _NET_ACTIVE_WINDOW |\ | |
while read info; do |