php

Base64 image uploading to Pasteros

Pasteros now has JPEG handling abilities when pastes are uploaded with base64 data (see commit). Convert your image to base64 like this and view it by add .jpg to the end of the paste ! I also wrote a command line utility that uploads a selected screenshot area to Pasteros.

 

Tags to Pasteros.io

Tags have been added to Pasteros.io, so now pastes can be "grouped" together, making it a bit easier to manage. For example, see https://pasteros.io/tag/snacklinux. A delete URL is still on my todo list, but that shouldn't be too difficult to implement.

SEOBudd WordPress plugin

I thought I'd mess around with WordPress and create a plugin or two. I ended up creating SEOBudd, a SEO stats plugin for WordPress. It retrieves stats about your website, such as average load time, social media mentions and incoming search words. It' has been approved and is now available for purchase on CodeCanyon.

 

 

Google Analytics to Twitter bot

The last week, I've been tinkering with Google's Analytics API. What I wanted to do was have daily reports on my website which then  tweets the difference from yesterday to today. The ideal situation was I would have it SMS me the results. The problem is that my phone carrier (Rogers) complicates things. For most carriers, you can email a carrier-supplied address (5555555@att.com for example) which in turn would send an SMS to that address. But, what Rogers does is once you receive a text, you have to respond back with REPLY to view it. Stupid huh.

QRer - quick URL to QR code

I made this little tool the other week: it's a simple URL to QR code generator that uses AJAX so it's even zippier. Check it out here: http://qrer-snacsnoc.dotcloud.com

It uses the PHP QR Code library to generate the QR codes. I set it up so it caches URLs that have already been generated which make it faster to deliver the image.

WorkSimple 1.3.5 control panel and login fix

After playing around with WorkSimple 1.3.5 (and apparently not doing much  testing), login.php doesn't redirect on login and cp.php strips HTML.  Download the attachments below and replace cp.php and login.php with the new versions. Save the new versions as cp.php and login.php respectively and upload them to your WorkSimple install directory.

WorkSimple 2.0 roadmap

I've been making lots of new changes to WorkSimple, paving the way for WorkSimple 2.0. I'll be going over old code and re-implementing some things. I used Twig for templating instead of a custom made method since it seemed easier and more convenient. Templates now are much more customizable and flexible. Check out the screenshot for what it may look like (the colours suck, I know).

Pasteros update

Worked some more on Pasteros, cloud based text storage lately and added some more features. Now you can download a paste or view it raw. Also, it displays how long ago the paste was submitted. The design colours still suck of course. There's an API (of some sort) so feel free to check it out.

Pasteros: cloud-based text storage

I just had to create [another] text storage project, just for shits. Pasteros (temporary domain) is a text storage storage (think Pastebin, Pastie, etc) running on DotCloud. It uses Twig for templating and I just converted the MySQL innerworkings to PostgreSQL (juste pour le fun). I also made an API for public use as well. I'll be releasing the source code shortly. Any feedback is appreciated.

WorkSimple 1.3.5 released

After 6 months, WorkSimple 1.3.5 has been released. Nothing too major, though I suppose this may be the last version of WorkSimple to be released. There's not too much else to be done with it as it is; moving to to SQL would be much easier to maintain.

Pages

Subscribe to RSS - php