Tools

Go Language JSON to Struct

Ever saw a huge JSON string and wanted it as a Go Language Struct? Here’s a great tool to automagically convert that JSON to a usable struct for your golang application. https://mholt.github.io/json-to-go/ Try it out for yourself! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 { "user": [{ "id": 1, [...]






Tools

Auto Connect Rancher Hosts

This script was extremely useful for me, you would run this script on a new host for your rancher server. It will automatically connect to the rancher server, and add it as a node. This script will automatically install Docker (for ubuntu-trusty) and add host in your rancher server. Script for Ubuntu 14.04 (trusty) 1 2 3 4 5 6 7 8 9 10 [...]




CSS

Scale Down an Iframe

Recently I had to make a minimized version of an iframe. It shows the website with the correct CSS, but just smaller. With CSS3 transforms you can scale down (or up) an iframe for a preview type of iframe. HTML iframe 1 <iframe class="miniiframe" src="http://yayprogramming.com"></iframe><iframe [...]


Unity3d

UnityScript to C# Converter

Some people that use Unity3D only program with UnityScript, also known as Javascript. Javascript in Unity3D is a hassle for me, I recommend you start using C#, you’ll type less, and it’s just better overall. Javascript and C# are pretty similar, but creating variables is different. For those of you who see a Unity3d script in [...]


Go Language

Google reCAPTCHA in Go Language