What is a Sustainable Developer?

I was recently asked to describe what I felt were the traits that exemplified modern, professional software engineers. I wrote pages of notes trying to describe how I felt and why, but the most effective way I found to describe what a Sustainable Developer does is to point out the differences from the traditional (i.e. […]

nginx CORS whitelist map

Above your server {} block, you need to add a whitelist map. map $http_origin $cors_header{ default “”; include /etc/nginx/cors-whitelist.map; } Then you need to create a cors-whitelist.map file in /etc/nginx. “~^(http:\/\/localdomain1\.com)$” “$http_origin”; “~^(http:\/\/localdomain3\.com)$” “$http_origin”; And finally, add in the appropriate headers in your server block: server { listen 80; listen [::]:80; add_header ‘Access-Control-Allow-Origin’ “$cors_header”; add_header […]

How to record desktop images into gif format on Ubuntu 14.04

First, you need to install a few requirements: sudo apt-get install gifsicle imagemagick sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder sudo apt-get update sudo apt-get install simplescreenrecorder Now you need to use simple screen recorder to capture whatever video you like. I used it to snag some gameplay of a game I was working on. It has an excellent […]

LWJGL 2D Breakout Tutorial – Setup Summary

I stream-of-consciousness documented my unnecessarily complex journey through figuring out how to set up LWJGL enough to draw images on the screen. Since it took me almost 2 weeks and 3 posts to figure out, I clearly made some mistakes along the way. If you’d like to read of my trials, check out the posts, […]

LWJGL 2D Breakout Tutorial – Slick2D and images

Update: Just trying to get set up? Check out the streamlined setup tutorial LWJGL 2D Breakout Tutorial – Setup Summary. This is the third post in a series. You should probably go back and start from the first post. LWJGL 2D Breakout Tutorial – Environment Setup Ok, so we’ve got a shape drawing, but I really want […]

LWJGL 2D Breakout Tutorial – OpenGL drawing and keyboard input

Update: Just trying to get set up? Check out the streamlined setup tutorial LWJGL 2D Breakout Tutorial – Setup Summary. This is the second post in a series, you should probably go back and read the first post. LWJGL 2D Breakout Tutorial – Environment Setup Ok, so we were able to run our Hello World project that […]