Contact Kent Safranski

x Cancel
posted 8 months ago

Codiad Open Source Cloud IDE

I just recently released an early version of a Web-Based IDE called Codiad and I'm looking to get some initial opinions on the project.

It's still early in development so I'm working to add features like code hinting, deployment, collaboration, and more.

Anyways, feedback and (constructive) criticism is greatly appreciated. I don't have an online demo yet based on the nature of the beast, but it installs quickly on any LAMP server and doesn't require a database, so if you want to test it and then just delete it you won't have to do any major work.

posted 9 months ago

Responsive Workspace

I'm working on a project to create a responsive tester Chrome extension which will allow users to not only dynamically resize the viewport but also inject/test css.

It's currently very beta, and being that the final goal is to develop it as a Chrome extension - you guessed it - works best in Chrome.

I'm planning on also building a standalone version which will use a PHP Proxy to allow cross-domain injections into the iframe, but that's a little ways off. Right now it will only allow console injection on local files (hence the default to 'demo.html').

Just looking for input - thoughts, ideas, features you'd like to see, etc.

fluidbyte.net/workshop/responsive-workspace/

posted 9 months ago

Common Mobile Resolutions

I'm developing a testing toolkit for responsive websites and was curious if anyone knew of a place where I can find a set of common mobile device resolutions.

I'd like to be able to provide the user with 5-10 presets that demonstrate the most common configurations.

posted 9 months ago

PHP Determine City, State, Zip

I'm creating a simple form that searches a MySQL database for property information. I'd like to have a single field where the user can enter City, State, or Zip. Any 3 of those can be used in a search (we don't have to have City + State for example).

I'm curious if anyone knows of any PHP script, which I'm assuming would be primarily RegEx's, that would allow me to determine what type of information was submitted.

Determining that a zip has been entered is simple enough, but I'm hoping for something that can simplify this process on the backend with some degree of accuracy.

posted 10 months ago

PHP + PayPal DirectPay Return Issues

I'm working on a custom ecommerce solution for a client. They process around 15-30 transactions per hour via PayPal Direct and ExpressPay. During development and testing everything worked perfectly. Now the PayPal direct is spawning what we've termed 'ghost orders', here's the scenario with the DirectPay:

The system collects the submitted information (name, address, credit card #, etc) and passes it to the API which then returns the transaction ID (or errors) and then the system either returns an error code or processes the order - saving it as a database record. Nothing super complex. This works 98% of the time, except when it doesn't and (from what I can tell) PayPal doesn't return anything before the script times out. However, when this happens the payment still goes through on the PayPal side and the customer is charged - we just have no record of it in the system native.

I can replicate the issue by setting the CURL_TIMEOUT to a super-low value in which case the script times out, doesn't send anything back (except a CURL timeout), but the process goes through on the PayPal side.

I'd include code or something to look at but I've rewritten the code so many times I'm not sure what to send at this point - it happens no matter what I do.

My question is has anyone else experienced this, or have any idea how I can ensure some sort of response from PayPal?