-
Alternative to array_merge merging many arrays
Posted on July 8th, 2010 No commentsI have a case at work where I needed to go through a big list of arrays, and add them to a new master array. It turns out this is incredibly slow when adding many large arrays to a larger array. The alternative to this if you don’t care about keys or duplication of values is to just add it into the array
Follow this link:
Sphere: Related Content
Alternative to array_merge merging many arrays
17, 5, Class, ICO, James, OS, RDP, Wordpress, ad, amp, anyone, array, array_merge, asgrim, asgrim.com, car, case, code, coding, data, dataset, duplicate, get, help, http, image, images, in, include, ing, int, key, large, like, list, live, loop, me, merge, method, new, no, one, php, press, process, return, simple, smile, solution, something, time, to, ua, value, values, when, word, work, wp, www amp, asgrim.com, creamy, degree, each-as-well, include, int, list, merge, normally-enough, process, values -
VMWare Server sucks!
Posted on July 8th, 2010 No commentsAt the office we use VMWare Server on a couple of different systems to run “appliance” based applications, the problem is every few months the Web interface suddenly screws up and all we get is 503 errors when attempting to login. I’ve searched high and low for the cause and solution to fix it, as far I can tell its occurs because the server randomly deletes or corrupts some important Tomcat related content. Then the only solution I’ve found to fixing this is completely uninstall VMWare Server, remove all the licenses, reboot the system and then re-install VMWare server.
See the article here:
Sphere: Related Content
VMWare Server sucks!
17, 5, Kelvin, Mac, Mod, Search, Uncategorized, amp, applications, base, change, click, error, face, fix, folder, get, hang, high, ice, import, important, in, ing, install, int, interface, key, login, me, modify, name, named, new, number, office, problem, refused, server, software, solution, sub, system, time, to, tom, type, valid, vmware, web, when amp, important, license, named, number, office, sub, time, tom, valid -
Adding Extra Security – Encrypting Passwords For Multiple Users
Posted on June 26th, 2010 No commentsAs many of you probably know, I’ve been working for quite some time on a project called Private Passwords . It is an online password management tool which stores your passwords for any site and allows you to retrieve them from anywhere in the world. One of the things that has niggled me for a while was the fact that the encrypted passwords were all encrypted using an AES encryption key , but had no real barrier if someone somehow managed to get hold of the AES key
See the article here:
Sphere: Related Content
Adding Extra Security – Encrypting Passwords For Multiple Users
17, 5, Brilliant, FAIL, IDE, James, Kelvin, Someone, ad, amp, art, asgrim, base, blog, busy, check, code, coding, company, data, database, decryption, e-mail, encrypting, encryption, exam, fact, form, forms, get, home, http, import, important, in, ing, int, key, less, mail, management, me, multiple, name, no, not, one, password, passwords, private passwords, project, security, share, site, solution, sw, system, time, tip, to, uk, user, username, when, word, work, world, www busy, check, forms, int, Kelvin, kelvin-at-work, key, password, private passwords -
Moving to Linux – Finding Alternative Software
Posted on June 10th, 2010 No commentsI’ve been using Linux on servers for years, since before I started learning to code. Finally, after something like 7/8 years I am almost fully confident in severing the ties to my highly underused Windows installation on my personal laptop, but there are still a couple of exceptions
Go here to read the rest:
Sphere: Related Content
Moving to Linux – Finding Alternative Software
17, Adobe, Desktop, Eclipse, File, Google, IDE, James, OS, Photoshop, Read, Technology, The List, Top, ad, air, alternatives, amp, anyone, art, asgrim, box, cell, chrome, code, computer, contact, crash, day, default, disabled, editor, excel, face, family, finance, fine, get, google docs, growing, high, http, ice, import, important, in, ing, install, int, interface, issue, laptop, like, linux, list, live, me, message, messenger, microsoft, money, music, new, no, not, office, one, open, personal, photos, pidgin, rest, running, server, servers, simple, site, software, solution, something, studio, sw, switch, table, tech, test, thought, time, to, tools, truth, ua, ubuntu, user, version, video, videos, virtual, virtualbox, web, webcam, when, windows, windows live messenger, work, www, years code, File, import, linux, money, music, personal, Read, running, studio, videos, virtual, windows, years -
A Simple News System For Basic Websites
Posted on March 10th, 2010 No commentsThis is a very simple news system with comment support which is ideal for adding simple blog/news system functionality to any website needing that kind of system. In the past I'd usually use wordpress as a pre-built solution for adding this kind of content to a site and although you get a lot of extra benefits by using wordpress (as a result of its plugin system) there can be a lot of issues with tweaking the wordpress theme to suite the site. The method of embedding this system is so simple that it can be used easily within any site template and as such it's perfect for quickly adding blogging or news system style functionality to previously static sites or E-Commerce systems where an attempt at tying in wordpress could be very messy in reference to: About The Demo » Phpns » Open Source PHP News System ( view on Google Sidewiki )
Originally posted here:
Sphere: Related Content
A Simple News System For Basic Websites
5, Chris, EU, Google, HTML, IDE, News, OS, Plug, RDP, Reviews, Track, Wordpress, XHTML, XML, ad, blog, blogging, cd, click, comment, double, fun, function, functionality, get, http, https, ice, in, ing, issue, map, me, method, new, open, open source, php, plugin, press, service, simple, site, software, solution, source, style, system, theme, to, trac, ua, user, view, views, web, website, word, www Chris, ing, News, php, source, support-which, Track, XML -
AeroSQL an alternative to phpMyAdmin
Posted on March 8th, 2010 No commentsAnother really useful item from Oleg Burlaca. AreoSQL is a free web based database management solution which, given some development could be a decent replacement for the awful phpMyAdmin.
See the article here:
Sphere: Related Content
AeroSQL an alternative to phpMyAdmin
5, Chris, Databases, Desktop, EU, Google, HTML, IDE, OS, Projects, SQL, Top, Track, URL, XHTML, XML, ad, base, blog, data, database, development, face, fun, function, functionality, http, https, in, ing, int, interface, like, management, me, media, no, not, one, personal, php, phpmyadmin, place, project, replace, site, solution, to, trac, ua, user, view, web, when, www base, Databases, function, https, ing, lot-desktop, personal, place, replace, web, www -
Double quotes in INI files loaded with parse_ini_file
Posted on March 1st, 2010 No commentsWriting a bit of PHP tonight and found that if you use parse_ini_file to load an INI file in PHP, there is a slightly hacky way of having double quotes in strings. For example, I tried these: somevalue = "This " "string" " has quotes" somevalue = "This " string " has quotes" But none of them worked! Turns out a quick look at the PHP manual reveals a simple (but a bit hacky) solution to this is to define a constant e.g. QUOTE to be “, and use that in the INI string
Read more from the original source:
Sphere: Related Content
Double quotes in INI files loaded with parse_ini_file
EU, File, James, ad, amp, asgrim, coding, config, double, escaping, exam, fine, fun, function, http, in, ing, ini, light, load, me, no, one, parse_ini_file, php, php5, quote, quotes, setting, simple, solution, string, to, ua, value, work, www double, escaping, exam, File, having-double, ing, setting, simple, work -
Question: How does source control work in a non-distributed environment?
Posted on February 5th, 2010 No commentsAt our company we currently all work on one shared network drive. The source code is not under any kind of source control, which for me is a big no-no. I’d love to be able to set up SVN and us all work of separate repositories and just commit back to a trunk or branch, but our tech manager doesn’t agree.
Continue reading here:
Sphere: Related Content
Question: How does source control work in a non-distributed environment?
17, CVS, Eclipse, File, James, OS, SVN, amp, auto, change, check, code, coding, commit, company, control, fine, form, http, ical, in, ing, int, issue, linux, me, network, no, not, one, open, open to suggestions, problem, repository, scm, share, solution, something, source, tech, to, tom, ua, update, vcs, version, windows, work before-it-takes, check, commit, linux, network, situation, source-control, tech -
MySQL gotcha when using non-compulsory foreign keys
Posted on January 27th, 2010 No commentsI’m just writing a query at the moment that filters out test records from a database. These records have a foreign-keyed value that identifies test apps, e.g. a table with: id name 1 TEST 2 ANOTHER_VALUE 3 SOMETHING_ELSE This is joined onto the main data table, sensibly with a query like this: SELECT * FROM the_data LEFT JOIN the_values ON the_data.some_value = the_values.id WHERE the_values.name != 'TEST' The gotcha is however, that this doesn’t work as you’d expect
Read more here:
Sphere: Related Content
MySQL gotcha when using non-compulsory foreign keys
17, Eye, IDE, James, SQL, amp, base, check, coding, data, database, filter, gotcha, http, in, ing, join, key, left, like, me, mysql, name, no, not, null, query, record, simple, solution, something, table, test, to, value, values, work amp, base, gotcha, identifies-test, instance, joined-onto, null, onto-the-main, query, record, simple, simple-once, table, work -
Olark-ing About…
Posted on October 2nd, 2009 No commentsOlark is a very neat new service from as US company called Habla, Inc. that lets you integrate a live chat box on your website directly with one of a number of common Instant Messaging clients.

Visit link:
Sphere: Related Content
Olark-ing About…
17, 5, Chris, Class, Freelancing, Google, ICO, IDE, OS, PS3, Read, SQL, SSH, Someone, Touch, action, ad, amp, anyone, apache, blog, book, box, case, cell, chat box, chat client, chat request, chrome, client, code, comment, custom, date services, development, direct enquiries, excel, extensions, get, hellip, http, ice, image, images, important, in, include, ing, interaction, left, like, linux, live, live chat, live web, me, media, message, messenger, microsoft, mysql, new, no, not, number, one, open, opera, page, php, pidgin, place, popup, post, posts, process, question, questions, request, rest, server, service, smile, solution, something, sw, system, talk, title, to, ubuntu, web, web development, web page, website, weeks, windows, windows live messenger, work, wp, www amp, apache, direct enquiries, microsoft, mysql, permanent-link, pidgin, question, rest, SSH, ubuntu, www












































