Posts

Showing posts from 2011

WebJCS – Google+

/follow - First version

1 + 1 = 1

1 + 1 = 1: "Sublime Text 2"

'via Blog this'

Demian's Gamebook Web Page

By the Numbers: How to Write a Long Interactive Novel That Doesn’t Suck - Choice of Games

Wrangling with the Facebook Graph API | Nettuts+

Digital Bookmaking Tools Roundup #2 - YouTube

PHPDeveloper.org: DZone.com: Speed Up Your PHP Like Facebook

YaCy Search Portal using a Load Balancer over Distributed Peers

Greenfoot Provides a Visual Playground to Help Learn Java

How to Create a Secure Login Script in PHP and MySQL | wikiHow

How to get into the Amazon Top 500 in a single day

XML Tools - PHP Classes

How to Generate a Complete Excel Spreadsheet From MySQL | Nettuts+

PHP Tutorials Examples Introduction to PHP PDO

HTML Color Table with HEX values

Image

PHP Simple HTML DOM Parser

ASCII art generator for PHP - PHP Classes

Mysql2Search - PHP Classes

Simple XML (SimpleXML) Tutorial Part 1 | Will Fitch's Blog

Pure CSS Progress Bar

michaelhue/cssdock - GitHub

pootle:installation · Translate Toolkit & Pootle

Tutorial: HTML5 File Upload with Progress Bar | Web Resources | WebAppers

PHP Regex find text between custom added HTML Tags - Stack Overflow

regex - Get text between complex tags in PHP - Stack Overflow

PHP Tutorials Examples Get Text Between Tags

Koders Code Search: Xliff.php - PHP

TMXResourceBundle - TMX PHP Bridge

Simple XLSX (parse xls, excel xml, excel php5, xls parse, xml excel, excel download) - PHP Classes

PHP: Reading the "clean" text from RTF

Extracting XML data in PHP with SimpleXML

Extracting XML data in PHP with SimpleXML: "$feed = simplexml_load_file($filename)"

'via Blog this'

Store & Downloads - Isogenic Engine

Apache Tika - Download

Project: JavaScript 2D Tile Engine with HTML5 Canvas – Part 4 – Using Zones for Further Optimization | John E Graham II

Documentation - Impact

Creating pseudo 3D games with HTML 5 canvas and raycasting - Dev.Opera

Creating pseudo 3D games with HTML 5 canvas and raycasting: Part 2 - Dev.Opera

PHPDeveloper.org: Tutorial: An Introduction to OOP in PHP

Error Handling in PHP » phpmaster

Using Regular Expressions with PHP

docxParser | Copy Paste Code

How to Build a Chrome Extension

Learn Web Design, Web Development, and iOS Development - Treehouse

XML for PHP developers, Part 1: The 15-minute PHP-with-XML starter

Centering in the Unknown | CSS-Tricks

Cupcake Ipsum - Sugar-coated Lorem Ipsum Generator

Google’s Guide to the App Galaxy Provides Priceless Tips for Developers

Zend Framework from Scratch | Nettuts+

PHP: filter_var - Manual

PHP7framework / SVN / [r60] /trunk/php7/input.php

20 Useful PHP Scripts

http://www.noupe.com/php/20-useful-php-jquery-tutorials.html

opentag.com - Welcome

Search Through Word .docx Files

Formee – A Framework for Flexible Web Based Forms

Image
Formee – A Framework for Flexible Web Based Forms: Nowadays most developers already know how to quickly code a menu or a layout structure, but there’re always a great difficulty when coding a form, either contact, login, newsletter, comment etc.Formee is nothing but a framework to help you develop and customize web based forms. works with the technique provided by Fluid 960 Grid System to compose the form’s layout, allowing total flexibility to put it in any website or web system.The form has a structure built around percentage widths, thus allowing its inclusion in any project, adapting to the space available. Formee has its structural code independent of the style codes, facilitating the complete customization and manteinance of the form.The form was built with care to preserve web standards and their semantic values, working with the smallest possible amount of tags and according to the W3C rules.Requirements: -
Demo: http://www.formee.org/demo/
License: GPL, MIT License

intensivstation :: CSS Templates

Character Sets / Character Encoding Issues [Web Application Component Toolkit]

10 PHP code snippets for working with strings | CatsWhoCode.com

Reading the "clean" text from DOCX and ODT

Introducing Android WebDriver

Image
Introducing Android WebDriver: [This post is by Dounia Berrada, an engineer on the EngTools team. — Tim Bray]Selenium WebDriver is a browser automation tool which provides a lightweight and elegant way for testing web apps. Selenium WebDriver is now available as an SDK extra in the Android SDK, and supports 2.3 (Gingerbread) and onwards!Whether or not your site is optimized for mobile browsers, you can be sure that users will be accessing it from their phones and tablets. WebDriver makes it easy to write automated tests that ensure your site works correctly when viewed from the Android browser. We’ll walk you through some basics about WebDriver and look at it in action.WebDriver BasicsWebDriver tests are end-to-end tests that exercise the web application just like a real user would. WebDriver models user interactions with a web page such as finger flicks, finger scrolls and long presses. It can rotate the display and interact with HTML5 features such as local storage, session storage …

How to Create A Simple Web-based Chat Application | Nettuts+

10 Things You Should Know About Being A Web Designer

Image
10 Things You Should Know About Being A Web Designer: Web design is not the most noble job in the world. We don’t save lives or build houses for the poor kids of Africa. We create visual experiences on the internet. Our job has its own ups and downs and rules that not everybody agrees with and there are obviously things you should know about this career if you plan on getting serious about it. You can find here a list of things you might want to know about being a web designer that will help on easing you in the business.

Clients are hard to deal with
Well, not all of them, but the majority of them will create a lot of stress for you and you won’t be happy to hear from them again soon. They put the money in your pocket, so you always have to try and bring their vision to life. There is a very funny illustration on the internet that talks about this topic better than I could ever; you can enjoy it here. Many times you will have to deal with this situation and might design a product you a…

How to Create iOS-like Home Screen using CoffeeScript

Image
How to Create iOS-like Home Screen using CoffeeScript: Tutorialzine has written a great tutorial: Create an iOS-like Home Screen using CoffeeScript. CoffeeScript is a neat programming language meant to enhance the good parts of JavaScript, while working around the not so good. It makes OOP easy and introduces a number of useful additions such as comprehensions, new syntax for functions and scope handling, along with numerous small improvements.But don’t fall pray to the hype surrounding it just yet – CoffeeScript isn’t going to replace JavaScript any time soon, as it sacrifices some of the agility that JS provides in attempt to make development easier. The CS way might not be the best fit for your project.Requirements: CoffeeScript
Demo: http://demo.tutorialzine.com/2011/10/ios-homescreen…
License: License FreeRelated PostsHow to Create a “Who is Online” WidgetText2PNG Converts Text to PNG with JavascriptHow to Create a Google Wave-like History SliderHow to Create a Sponsor Flip Wall …

List.js - Add search, sort and flexibility to plain HTML lists with cross-browser native JavaScript by @javve

How to Create a Facebook App | Nettuts+

prettyCheckboxes | Stéphane Caron – No Margin For Errors

msword - Reading/Writing a MS Word file in PHP - Stack Overflow

boedesign – canadian based web developer eh » Blog Archive » Keystrokes for jQuery

boedesign – canadian based web developer eh » Blog Archive » Keystrokes for jQuery: "$(document).bind('keystrokes.SingleItem', {
// The key pattern you set your element to listen for
keys: ['m', 'arrow down+r']
}, function(event){
// Unbind this event after it's been successfully typed
$(this).unbind(event.keystrokes.stack_item.name);
alert('You typed : ' + event.keystrokes.stack_item.keys.join(', ') + '. You cannot type it again because it has been unbound!');
});"

'via Blog this'

tesseract-ocr - An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google. - Google Project Hosting

phpOCR (recognition, image recognition, character, training, recognize, winner) - PHP Classes

Data Grid nav

Image
Data Grid nav:
Package:
Data Grid nav
Summary:
Display MySQL query results in an HTML table
Groups:
Databases, HTML
Author:
Sérgio Micaelo Soares
Description:
This class can display MySQL query results in an HTML table...



Read more at http://www.phpclasses.org/package/7175-PHP-Display-MySQL-query-results-in-an-HTML-table.html


PHP Security Tips

http://stackoverflow.com/questions/4632663/is-htmlentities-and-mysql-real-escape-string-enough-for-cleaning-user-input-i

iPhone SDK Tutorial: Build your very own Web Browser! | dBlog.com.au

Import Excel Data as XML into MySQL with PHP

http://www.ibm.com/developerworks/opensource/library/os-phpexcel/

Highlight Text in Textarea

http://www.sitepoint.com/life-autocomplete-textboxes/

8 essential checks on securing PHP | Anson Cheung

Update Select Box Content with AJAX

http://roshanbh.com.np/2007/12/change-dropdown-list-options-values-from-database-with-ajax-and-php.html

Textbox Manipulate Selected Text with JavaScript

<script type="text/javascript"> function blah() { var ta = document.getElementById("test"); if (document.selection) { str = document.selection.createRange().text document.selection.createRange().text = "[b]" + str + "[/b]"; return true; } else if (ta.selectionStart) { var startPos = ta.selectionStart; var endPos = ta.selectionEnd; var str = ta.value.substring(startPos, endPos); ta.value = ta.value.substring(0, startPos) + "[b]" + str + "[/b]" + ta.value.substring(endPos, ta.value.length); return true; } else { return false; } } </script> <input type="button" value="Bold" onclick="blah()" /> <br /> <textarea id="test" style="height:150px"> This is a test to see if the bold tags will work.

Clickable Table Row with JavaScript

Unity 2D and Compiz

Getting off the Facebook Grid

Trimming Special Character from Microsoft Office Products with PHP

Styling File Input HTML Button

Upload File to MySQL via PHP

Import CSV/Excel into MySQL via PHP

Import Text into MySQL Database from Text File

Search MySQL database with PHP

Installing WEBSVN on Ubuntu

The first thing to do is install Subversion and apache package for Subversion. All I need to do is: sudo aptitude install subversion libapache2-svn In the next step I need to create a directory where my repositories will be stored. In my case /var/sourcecontrol/svn/. The default location is /var/lib/svn/. This command will create de directory where all my repositories will be: sudo mkdir /var/sourcecontrol/svn After create the directory I copied my entire repository backup from windows into this directory. Note if I need to create new repositories I just had to do: sudo svnadmin create /var/sourcecontrol/svn/newRepository newRepository is the name of the new repository. Next I need to change the owner of the files in order to access using apache. This can be done with this command: sudo chown www-data:www-data  /var/sourcecontrol/svn/repositoryName -R repositoryName is the name of the repository. Next I just need to configure all my repositories to be access in apache. This can be do…

Manually Installing a LAMP

Alle verfügbaren Locales installieren (speziell alle UTF8-Locales) LAMP installieren: Apache 2 (Apache direkt auf Localhost limitieren
PHP5 (inklusive Libraries php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-json php5-gettext) MySQL installieren (inklusive Libraries für Apache 2 und PHP5 sowie phpMyAdmin) MySQL extension für PHP5 aktivieren MySQL-User einrichten Userdir-Modul für Apache 2 enablen Public_html Verzeichnis im Home-Verzeichnis erstellen Apache2-Default-Site auf dieses public_html Verzeichnis ändern SVN installieren (inklusive Server und WebSVN) Eclipse installieren Aptana für Eclipse über Software Updates/Sources in Eclipse installieren (bitte nicht die Stand-Alone-Version von Aptana) Subversion-Plugin für Eclipse installieren GIMP installieren Inkscape installieren


Befehle:


sudo su
aptitude install mysql-server mysql-client


aptitude…

Portal = Fun!

Avast! If ye haven't played Portal yet (like me) and want to get it cheap, you have to hurry. It is still free for a few more hours on Steam. I really don't know why I hadn't given it a go before, but it is really something different from all of the shooters out there.

Love the AI and how it sometimes just fails to function properly - adds a lot to the game. And I mean the AI character that guides you through the game, not some kind of mobiles (haven't seen any thus far).

Speaking of games, I have also tried the new Adventure World on Facebook (by Zynga) and have to admit that it is highly polished and a lot of fun... Until you reach level 4 and run out of energy very quickly. Oh well, it's free and nobody forced me to buy anything to advance, so I'll keep playing it for a few days.

In other news, Twisty Passage needs some more attention, but I am really struggling with coding on the laptop keyboard. I will go into town on Saturday and buy myself a proper keybo…

It's A Brave New World

Just letting the world know that I am re-reading this classic after buying the Soma shirt from The Affair. Awesome threads to go with the awesome read.

Twisty Passages Development Update

Finally finding some more time to work on Twisty Passages after my move from the UK to Germany. It's amazing how your surroundings affect your development attitude. Couldn't really be bothered to start working without a proper desk, a comfy chair and also some ease-of-mind. Still missing a proper keyboard, but since the laptop has a fully-fledged keyboard it should not be so bad until I can get my awesome keyboard from the UK.

 I have a few cool ideas for Twisty Passages, including a periodical section (authors write one chapter and offer several options for readers to vote on). Will try to finish a rough version of this and then move on to "The Chase", which I will detail a little bit more once I start the development on that.

 Oh and I am really upset with Amazon. My UK Kindle's experimental browser worked fine when I moved over from the UK to Germany (I can prove it, since I showed one of my new co-workers how Facebook looks on its browser), but since a coupl…

Wordpress and JavaScript = Headache

Can't even get an image preloader to work! Yikes. Guess I'll have to read up a lot more on this... Costs too much time, too busy - have to find alternative!

facebook - Check if user liked page - Stack Overflow

GameDev.net - Tile/Map-Based Game Techniques: Handling Terrain Transitions

10 tips for PHP scripts: Learn to use PHP's arrays | TechRepublic

MySQL :: MySQL 5.1 Reference Manual :: 5.5.2 Adding User Accounts

PHP Tutorial - Session

Installing Eclipse + Aptana + Subclipse SVN

about | electric sheep

Kindle Formatting - Frequently Asked Questions

The Millions : Kindle-Proof Your Book in Seven Easy Steps!

End of the line for paperbacks? - News - IOL | Breaking News | South Africa News | World News | Sport | Business | Entertainment | IOL.co.za

Kindle Images

Hi,
While playing around with this I worked out the following method, I'm using photoshop but perhaps someone who uses a different application can adapt it for that?

Part 1 - Image size
So as I'm going to create a screensaver image, I resize my image to 800x600 and set the DPI to 72.
NB If you want to create an image for in-book use, use 640x525 and 72 DPI.

1) Image -> Image size
2) Height 800
3) Resolution 72

Part 2 - Convert to Grayscale (or Greyscale)
Next we need to convert it to a gray scale, there are numerous ways to do this depending on how fussy you are (i.e. how much data you want to preserve) but here are a couple of methods below.

Method 1

1) Image menu -> Mode - Grayscale
2) Select yes to discard the colour information
NB: With this method, you don't get to tweak the image before it's converted

Method 2

1) Image menu -> adjustments -> Channel mixer
2) Tick the monochrome box
3) Move the sliders around until your happy
4) Click OK
NB: This method allows you to t…