Showing all posts tagged #c:

System.FormatException: Invalid hexadecimal string format.

Posted on January 8th, 2014

I'm working on a task and wanted to find a certificate from the Local Computer store based on its Thumbprint and ran into the below exception. If you are trying something similar you might get the below exception if you COPY the value from the Certificate MMC snap in. System.FormatException: Invalid hexadecimal string format. at System.IdentityModel.SecurityUtils.DecodeHexString(String hexString) at System.IdentityModel.Selectors.X509CertificateStore.Find(X509FindType f...

Use inotify-tools to auto compile code on save with VIM/tmux

Posted on September 22nd, 2013

I'm doing a little R&D on ZMQ & C++ with my Raspberry Pi. I'm connecting to the PI via SSH and using tmux and tmuxinator to launch my development environment which looks like this: I wanted a solution where when a file was saved in VIM, gcc got automatically launched with the proper parameters to automatically compile the code and automatically launch the binary. Here is how I did it. Quick install of tmux, tmuxinator, ruby and rubygems on Raspberry Pi The setup for tmux and tmuxina...

Adam Croot

I'm a meat eating, weight lifting programmer. I work for a software company developing ultra low latency delivery platforms and occasionally websites.