Sublime Text 2 Word Wrap Problem…

Recently I’ve been using ST2 on my new all-Linux setup, with the SFTP plugin of course…

However, I did come across some issues with certain file types not conforming to the predefined settings for no word wrapping.

Simply changing the ‘line break column number’ (have forgotten the actual variable name and I’m not at a computer ATM) to something large such as “9999”, seems to be an affective work around for now.

Sublime Text 2 Word Wrap Problem…

Coda 2 by Panic…

Here at hozzamedia we use Coda. A brilliant IDE for coding in PHP, HTML, CSS and JS by Panic. Amazing software (especially when coupled with Transmit [their File Transfer client)).

Panic have now finally released their new IDE Coda 2. With some major program and work-flow improvements, which I wont go into as you can see it all on their webpage for Coda 2.

However, I’ve never been to keen on the default syntax highlighting, and after using a Dreamweaver themed syntax highlighting for so long and feeling traitorous. I’ve built my own syntax colouring theme (in the old Coda 1 called a SeeStyle), called a SSS file.

My theme is based on various themes all over the net, feel free to use. Its easy on the eye and makes coding easier.

Download hozzamedia.sss

Coda 2 by Panic…

Encoding,Encryption, and Hashes…

I’ve noticed that there’s a lot of interest out there right now in encryption, and rightfully so. It seems that strong encryption will play an increasingly large role in the future of computer security.
Unfortunately, I’ve also noticed a fair bit of confusion. My goal in this article is to clear that up, and provide a starting point for those of us interested in the field.

Encoding,Encryption, and Hashes.
Although you’ll often see these terms used interchangably, it is important to understand the differences. We’ll begin with the most common, encryption.
Continue reading “Encoding,Encryption, and Hashes…”

Encoding,Encryption, and Hashes…

ChangeLog Generator…

I’ve been looking into source control and version control software to help manage and organise some of our code. The majority of them don’t seem to fit our workflow and are to restrictive or complicated for tiny projects. I’m a massive fan of the good old ChangeLog (https://en.wikipedia.org/wiki/Changelog) which does not scale well with larger projects.

So, I’ve built a little “one page” script (technically a few files if you include images for the GUI). Nice and simple app to manage a ChangeLog for a larger project but not quite big enough for full version management software.

Continue reading “ChangeLog Generator…”

ChangeLog Generator…

PHP Simple Calendar…

I have been looking for a proper, simple and well formed PHP calendar. I eventually found a promising looking script on emanueleferonato.com however it was not well formed (PHP or Output HTML)

I have tweaked the script to be correctly formed 😀 You can output any month of any year (within PHP restrictions) and you can start you week on any day of the week. i.e. Americans start on Saturday where as the English start on Monday.

Continue reading “PHP Simple Calendar…”

PHP Simple Calendar…

PHP Browser Detection…

Detecting the user’s browser type and version is helpful in web applications that harness some of the newer bleeding edge concepts. With the browser type and version you can notify users about challenges they may experience and suggest they upgrade before using such application. Not a great idea on a large scale public site; but on a private application this type of check can be helpful.

Searching for a way to do this at the PHP layer and not at the client layer was more of a challenge than I would have guessed; the only script available was written by Gary White and Gary no longer maintains this script because of reliability. I do agree 100% with Gary about the readability; however, there are realistic reasons to desire the user’s browser and browser version and if your visitor is not echoing a false user agent we can take an educated guess.

Check out the script and find out more information on the link below

http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/

PHP Browser Detection…