Wednesday, September 14, 2016

So here's a trick I learned in case someone is having trouble adding an inherited windows form control to a derived class' group box.

You'll find if you try to drag/drop the inherited control, it won't actually be addable to the group box.

So the trick here is, while you're dragging with the left mouse button into the group box, click and release the right mouse button, and you'll notice the control is now a child of the group box.

That's all there is to it.

Wednesday, July 13, 2016

List of Important Commands

Okay, so it's not the "complete" list, but it's definitely a list of important CLI commands.

Generate Linux Commands

ln -s <file-to-link> <link-name>

Docker Commands

docker exec -ti <container-id> bash
docker run -P --privilege --net=host -td <image-name:version>
docker commit [-m "message"] <container-id> <image-name:version>
docker cp container-id:/<source-path> <target-path>
docker cp <source-path> container-id:/<target-path>

docker run --privileged -p 80:80 -p 443:443 -td <image-name:version>
docker run --privileged -p 9200:9200 -p 5601:5601 -p 1433:1433 -td <image-name:version>

Elastic Search Curl commands

List elastic search indeces

curl 'localhost:9200/_cat/indices?v' | sort -nk3

Delete elastic search indeces

curl -XDELETE localhost:9200/_all
curl -XDELETE localhost:9200/

Thursday, April 21, 2016

Unity's "5/11Clustering" hang issue solved

So this is just a quick post to help those of you who may be facing the same issue I was today when trying to build for iOS and/or Android in Unity.

I kept getting "5/11 Clustering" box and then it would just hang forever.  Turns out it's a super easy fix.

Simply open up the "Lighting" and uncheck the "Auto" checkbox.  I was pulling my hair out until I figured that part out.