Makefile for rust projects
Personal Coding and Hobby Notebook
After I received comments from ispak on Flickr I made a few fixes. ispak pointed out that it was a bad idea reading one byte at the time, also I had a gay ass try/catch that didn’t catch any exception :p So now I read 16 byte chunks, and I also take care of the […]
I don’t think I’ve ever used union for anything, but today I came across a very interesting use case to avoid bit-shifting tricks when dealing with data embedded in numbers. What’s a union? Microsoft defines it this way A union is a user-defined type in which all members share the same memory location. This definition means that […]
Say you have some environment variables that you’d love to use as arguments of an executable in your project. 1. Go to “Run Configurations” 2. Click on the “Environment” tab. 3. Click the “Select” button. 4. A list with all of your environment variables will be shown. Choose the environment variables you need for this […]