H3XED
Jul 19, 2017   Programming
When attempting to edit or create an eBay Shipping Policy in M2E Pro for Magento 2, you may come across an error like this:
May 16, 2017   Programming
To create inward-moving particles using the stock Particle System in Unity, you need to set the Start Speed to a negative number. This reverses the direction of the particles so they move towards the center.
May 12, 2017   Programming
This is a simple method for creating a self-signed SSL certificate on Windows. This is useful for testing and development purposes; you shouldn't use a self-signed SSL certificate on a production website.
Apr 12, 2017   Programming   Comments (1)
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.
Mar 6, 2017   Programming   Comments (2)
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.
Sep 28, 2016   Programming
Here is a very simple example on using static properties and methods (variables and functions) with JavaScript.
Sep 6, 2016   Programming   Comments (3)
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 2, 2016   Programming   Comments (3)
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.
Nov 30, 2015   Programming   Comments (2)
If you've updated to SourceTree 1.6.24 on your Windows computer and it keeps asking for a password, here is one potential workaround/solution that may work for you.
Apr 10, 2015   Programming
X-Sendfile allows you to use PHP to instruct the server to send a file to a user, without having to load that file into PHP. It solves the problem of securely managing file access, without the excessive memory requirement of loading the file and reading it from PHP.
Apr 10, 2015   Programming
cURL has a lot of configuration options and much more power than file_get_contents, but it can be daunting to learn. This guide is designed to teach you cURL from its most basic steps, and build onto it slowly so that you can understand it easily.
Nov 3, 2014   Programming
Here is a compact PHP function that you can use to convert two-digit country codes to their corresponding full names in English:
Newer   Page 1 of 5   Older
Follow H3XED
Facebook Twitter RSS
Follow H3XED
Facebook Twitter RSS
H3XED © Nick Vogt   RSS   Policies   Facebook   Twitter   Google+