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.
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.
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.
Use this calculator to figure out how much wattage and money you can save by converting to LED light bulbs in your home.
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.
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.
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.
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.
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.
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.
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.