I hereby claim:
- I am SpaceManiac on github.
- I am spacemaniac (https://keybase.io/spacemaniac) on keybase.
- I have a public key whose fingerprint is DB3B 2679 BD6D F878 2216 F940 87EB 20C4 5D61 EFD5
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| import sys, shutil | |
| from PIL import Image | |
| from PIL.PngImagePlugin import PngInfo | |
| def split(fname): | |
| image = Image.open(f"{fname}.dmi") | |
| if 'Description' not in image.info: | |
| return |
| D:\projects\Sandbox>"cpp/"a.exe "cpp/"a.exe | |
| ---- argc and argv think: | |
| 0: cpp/a.exe | |
| 1: cpp/a.exe | |
| ---- GetCommandLineW is: | |
| "cpp/"a.exe "cpp/"a.exe | |
| ---- CommandLineToArgvW thinks: | |
| 0: cpp/ | |
| 1: a.exe | |
| 2: cpp/a.exe |
| <meta charset="utf-8"> | |
| <script type="text/javascript" src="hello.js"></script> |
| use std::borrow::Cow; | |
| #[macro_export] | |
| macro_rules! kwargs { | |
| // pass no arguments | |
| () => { |_| {} }; | |
| // in-progress variants | |
| (@struct [$($attr:meta)*] $name:ident [$($decls:tt)*] $field:ident: $typ:ty, $($rest:tt)*) => { | |
| kwargs!(@struct [$($attr)*] $name [$($decls)* $field: ::std::option::Option<$typ>,] $($rest)*); | |
| }; |
| trait And<Rhs=Self> { | |
| type Output; | |
| fn short(&self) -> Option<Self::Output>; | |
| fn and(self, rhs: Rhs) -> Self::Output; | |
| } | |
| trait Or<Rhs=Self> { | |
| type Output; | |
| fn short(&self) -> Option<Self::Output>; | |
| fn or(self, rhs: Rhs) -> Self::Output; |
| extern crate memmap; | |
| #[cfg(target_pointer_width = "32")] | |
| const MAGIC_VALUE: usize = 0xdedbeef0; | |
| #[cfg(target_pointer_width = "32")] | |
| const WORD_SIZE: usize = 4; | |
| #[cfg(target_pointer_width = "64")] | |
| const MAGIC_VALUE: usize = 0xd0e0a0d0b0e0e0f0; | |
| #[cfg(target_pointer_width = "64")] | |
| const WORD_SIZE: usize = 8; |
| #![allow(non_camel_case_types)] | |
| use std::mem; | |
| // The Situation | |
| struct ffi_Object; | |
| type ffi_Callback = unsafe extern fn(*mut ffi_Object) -> u32; | |
| extern fn ffi_push_callback(_: *mut ffi_Object, _: ffi_Callback) {} | |
| // Dummy wrapper | |
| struct Object { |
I hereby claim:
To claim this, I am signing this object:
| mod ffi { | |
| mod inner { | |
| /// A Docs | |
| pub type A = i32; | |
| } | |
| /// A Use Docs | |
| #[doc(inline)] | |
| pub use self::inner::A; | |
| } |
| package spongetest; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import org.spongepowered.api.Game; | |
| import org.spongepowered.api.util.event.Subscribe; | |
| import org.spongepowered.api.event.state.PreInitializationEvent; | |
| import org.spongepowered.api.plugin.Plugin; | |
| import org.spongepowered.api.plugin.PluginContainer; |