H3XED
All Topics   Browse Topics
Amazon offers a PHP SDK for handling AWS and S3 requests, but it weighs in at over 500 files and nearly 5MB. If you just want to upload a file to an S3 bucket using PHP, you can create the HTTP POST request yourself using only about 50 lines of code. This is also useful if you want to understand how the request and authorization process work.
Apr 12, 2017
This code creates an outline of a 2D mesh utilizing the LineRenderer component in Unity. It does not require any shaders and seems to run very quickly from my testing. It also supports meshes that have mutliple non-connected components.
Mar 6, 2017
Landing and returning from Eve is one of the hardest missions in Kerbal Space Program. Eve has higher surface gravity and a thicker atmosphere than Kerbin, but no oxygen for jet engines.
Feb 11, 2017
Use this calculator to figure out how much wattage and money you can save by converting to LED light bulbs in your home.
Nov 9, 2016
Why You Should Avoid "A Small Orange" Web and Domain Hosting
A Small Orange hosting was once the pinnacle of exceptional-quality web hosting. They had impeccable customer service and response times, great pricing and plans, and a wonderfully-designed website. Unfortunately, this is no longer the case. Here's why I now recommend avoiding A Small Orange, and what host you may want to consider instead.
Oct 18, 2016
Here is a very simple example on using static properties and methods (variables and functions) with JavaScript.
Sep 28, 2016
Lately there has been a scam text message going around trying to trick people into thinking their Bank of America account has been compromised in some way. It contains a fake authorization code, and a link to "block" the transaction.
Sep 11, 2016
If you're curious how much power your computer uses at the outlet, you'll have to get a measuring tool. You can get a rough estimate by adding up published specs for each component, but that won't be too accurate and you won't be able to determine load-vs-idle power usage.
Sep 9, 2016
I was working on a 2D game in Unity and needed some way to automatically create a collider for a complex 2D level mesh. Editing a Polygon Collider 2D in the editor was out of the question, since there were thousands of vertices. I ended up writing a script that analyzes the MeshFilter of the mesh, and programmatically creates a Polygon Collider 2D for it. It also supports meshes that have mutliple non-connected components.
Sep 6, 2016
One of the cool things about Amazon S3 (and most other cloud storage services) is that you can map your own domain or subdomain to your bucket using a CNAME, so it looks like resources are being served by your website. The downside is it doesn't work with HTTPS.
Sep 5, 2016
Note: This code uses Amazon AWS Signature Version 2, which is not available on any S3 Regions created after January 30, 2014. It is recommended to use Version 4. Please view the AWS Version 4 post here.

--------------------

Amazon offers a PHP SDK for handling AWS and S3 requests, but it weighs in at over 500 files and nearly 5MB. If you just want to upload a file to an S3 bucket using PHP, you can create the HTTP POST request yourself using only about 30 lines of code. This is also useful if you want to understand how the request and authorization process work.
Sep 3, 2016
This is a guide with examples for setting up a simple redirect rule for your Amazon S3 bucket. This rule sends the user to a website and page of your choice when they access a resource that is not found or they do not have permission to access.
Sep 1, 2016
Newer   Page 1 of 25   Older
Follow H3XED
Facebook Twitter RSS
H3XED © Nick Vogt   RSS   Privacy Policy   Facebook   Twitter   Google+