Showing all posts tagged #c:

Private NuGet server behind nginx (Request Entity Too Large)

Posted on June 7th, 2017

Spent some time today trying to make NuGet.Server work so that I can host my own packages. I’m working on a new .NET core project on my Mac and wanted to host the server in IIS which is accessible from various machines. I’ve got a public facing web server running nginx which is connected to a windows server behind it (actually via VPN). I use nginx proxy_pass feature to pass the request on backwards to the IIS server. I was trying to push a package to the server and got this error: PUT h...

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.