Sorry, but this post is not available in the requested language
The previous theme was really starting to show its age, so I decided to change that during my upgrade of WordPress. I don’t have time at the moment to go on a quest for a new theme that I like, so I just went for the twenty fourteen theme that comes bundled with WordPress at the moment.
Setting up PHPUnit using Composer is an option that is available since composer 3.7.5. Older 3.7 versions aren’t considered stable to use this way. I needed to have PHPUnit to run tests in my PHPStorm environment, and I didn’t want to do it by hand or struggle with PEAR on my local server. Composer is a good and easy alternative.
I assume you have installed Composer using the Windows installer found here
Just run the following command to get composer to install PHPUnit globally, for all the projects, and not just this one:
composer global require “phpunit/phpunit=3.7.*”
After that, go to your environment variables, and append the Composer folder to the end of the ‘PATH’ variable :
And you’re ready to go!
The demise of Google Reader has been a good thing. First of all, it got RSS readers back into the limelight. Second, Google Reader being backed by Google, most people didn’t see it viable to try and develop competition against a Google service. In economics, that’s called a monopoly, and everyone agrees that monopolies stink.
To combat a monopoly, or the dreaded ‘vendor lock-in’ as it is called as well, you need standard data structures to export the relevant info from one service to another. OPML is the format that most RSS feed readers use to store your subscriptions.
Getting your OPML data from Feedly is not hard, but it’s not intuitive where to find the link to click. I had to look for it, so I thought I’d mention it here to save someone else the trouble. Continue reading
If you have multiple PHP configurations on the same system, while at the same time using the command-line interface and a web interface, it can be useful to be able to find out which .ini file is being used at that time in that situation. Continue reading
Max Gaming is running a kickstarter campaign to fund the port of the Torque2D MIT game engine to Android. Multi-platform support is more and more a requirement these days, especially for a 2D engine geared at developing casual indie games.
Max Gaming pledged also that they will work on the Linux version of this engine. That isn’t such a bad idea, as Android is in its core Linux-based, so both systems should be similar in their core.
Have a look at the Kickstarter campaign, pledge generously and get your friends to do as well! There is still a long way to go.
The titles says it mostly, if you want to upload a file from a linux machine to the FRS on sourceforge, but you have spaces in your paths:
scp (file_to_upload) (my_user)@frs.sourceforge.net:”/home/frs/project/(project_name)/Path\ with\ spaces/”
Easy, really, if you know all the details to watch out for:
- enclose the path (everything behind the column) in double quotes (“)
- Escape each space in that path with a backslash (\)
If you don’t enclose the path with double quotes, you’ll get the following error message :
scp: ambiguous target
The following variables are used in the example:
- (file_to_upload): the name and path of the file (if you’re not uploading from the folder the file is stored in) of the originating machine
- (my_user) : your Sourceforge.net username
- (project_name) : the path for your project. On sourceforge, sometimes you may need to add a few folders in front with the first and the first two letters of your project name : /p/pr/project
I keep forgetting the syntax for adding multiple folders under one zip file under linux.A small reminder to myself, and maybe it can help others as well (although it’s easy to find on the net).
The command to do that is quite straightforward/easy though :
zip -9 -r
the ‘-9′ tells zip to use the best compression, while the -r indicates you want to have zip do a recursive operation on all subfolders below the folder you mention.
When attending a lunch seminar yesterday there was a very interesting short discussion about thhe use of WYSIWYG editors in CMS-powered websites. The whole discussion was about the amount of options and functionalities you can allow your site editors, keeping into account that your layout nowadays has to adapt itself to a multitude of different screen sizes and orientations.
This is a discussion we need to have in ImpressCMS, as we currently allow as much as possible to the editor. By doing that, we risk breaking the layout of the theme simply by entering content, and that shouldn’t be allowed. Read the blog, and add your comments at the ImpressCMS Community site.
Ik gebruik de laatste tijd meer en meer PHPStorm, doordat we bij ImpressCMS een Open Source licentie hebben kunnen bemachtigen bij Jetbrains. PHPStorm biedt ondersteuning voor PHPUnit, waardoor ik die wilde installeren op mijn huidige Windows systeem. Dat loopt niet altijd van een leien dakje
PHPUnit maakt gebruik van PEAR, maar die installatie heeft wat zorg nodig. Bij installatie van PHPUnit 3.6.10 onder XAMPP kreeg ik constand de melding:
No releases available for package pear.PHPUnit.de