This is my collection of things that I desire to publish out there for you to read, use, or reference. I have attempted to create a simple tag system to help you navigate the content. The default view will simply list everything. I hope to improve the design of this portal to my collection of things over time. Enjoy!
github: https://github.com/kmcguire3413 email: firstname.lastname@example.org country: US preferred-languages: rust, python, c, assembly(ARM,X86,X64_86,AVR,PIC) website-software: pypagey (might publish to github one day)
PYTHON I/O DEMO SOCKETS MS-SQL-SERIES MICROSOFT SQL MERGE SELECT INSERT RUST GUIDE EASY ARM CROSS-COMPILE RUSTC SYSTEM-SOFTWARE KERNEL USER-MODE-SCHEDULING THREADS THREADING RUST-DEV LINK UBUNTU WANDBOARD EMBEDDED LINUX LOOPBACK DEVICE DISK IMAGE PROJECT RTLSDR SCANNER RADIO SOFTWARE DEFINED RADIO DSP C TOR INTERNALS POINTERS CODE LIFETIME-SPECIFIERS MS-SQL UDF TABLE RSA SSH-KEYGEN GC GARBAGE-COLLECTOR HISTORY DEBIAN GNURADIO SETUP GO CUSTOM-BOX LINKED-LIST CONDITIONAL-COMPILATION CRATES RAW-PACKET LOW-LEVEL-NET LIBRARY NETWORK DNS TCP IP UDP NIM PORT CHALLENGE FUN POLYMORPHISM COMMUNICATION CHANNELS MESSAGES ASN ASN.1 CONSOLE KSPLICE HOT-PATCH NAMED PIPE PROGRAMMING IPC
A example of the requiring of two lifetime specifiers in Rust.Python RSA Public Private Key Encryption SSH using ssh-keyen
This will read a public key file and a non-encrypted private key file generated by ssh-keygen and encrypt and decrypt some data. Also, of use is two functions which convert from base 256 to integer. The toi256 converts from little-endian format, and the toi256r converts from big-endian.Demonstation In Go Of Sync, Async, And Buffering Communication
A demonstation in Go of sync, async, And buffering communication.Rust Custom Box Implementation
A custom box implementation in Rust.Rust Safe Uni-Directional Link List
An implementation of a uni-directional linked list in safe Rust code which uses Rc to facilitate safely having multiple owners, and RefCell for inner mutability. This is my first successful linked list implementation, but it is inefficient in it's usage of Rc>T< and the API is wonky requiring clone calls.Python Raw Packet
Been working on some a project and needed to craft raw packets in Python. As an example to generate a simple limited functionality DNS query....Rust (Challenge) Port Simple State Machine
A friend suggested porting the following code from Nim to Rust. I have never used Nim but could grasp the intention of the code. I had to make a choice along the way. Was I going to support multiple Worker being able to use the same State, and was I going to support multiple State being able to use the same worker. Well, I decide to allow multiple workers to use the same state and left it open to be implemented for state to be able to implement a field to hold a specific worker.ASN.1 Data Python Reading Example
If you are like me you have used a drag net across the internet looking for a simple understandable example of reading data in the ASN.1 format. You have likely seen and tried to read the overly complex technical specifications only to wonder why someone has to make something so complex.. I do not know the answer. The following will read basic ASN.1 data. It tries to error out when it gets to something more complex than it is designed to read such as indefinite length data and data that does not use 7-bit or 16-bit length fields. Such as an 8-bit (if possible) or larger than 16-bit. I used the following resources. I wrote this a while back and had to revisit it because I ran into a problem. I found out my code is working correctly, but here are the resources I found this recent time when searching that helped.Python 3.x Cross Platform Console Library
After a bit of work I have come up with a nice light-weight cross platform console library. It currently supports Linux and Windows NT operating systems. If on Linux you must have ncurses installed and have Python compiled with support. I would love to do a version that did not use ncurses but there are some complications in doing so right now.