Getting the following error when running composer install
or composer update
?
[InvalidArgumentException]
Unknown downloader type: xz. Available types: git, svn, hg, perforce, zip, rar, tar, g zip, phar, file.
Personal Tech . How To . Tips . Web. Development
Getting the following error when running composer install
or composer update
?
[InvalidArgumentException]
Unknown downloader type: xz. Available types: git, svn, hg, perforce, zip, rar, tar, g zip, phar, file.
By default, any new Amazon EC2 instances using the Ubuntu AMI will have password authentication login disabled AND the only way for root user to login is by using SSH keypairs. This should ideally remain that way for security reasons, but there are certain cases where you might need to enable and allow root users login using password. I had to do this when connecting an EC2 Ubuntu instance to serverpilot.
[Read more…]
If you’re a doer and want to get things done, you need the right tools. Here’s my list of best hardware, software and cloud tools i’m currently using for work and personal projects.
[Read more…]
I’ve just upgraded to windows 10 and found that XAMPP/WAMP Apache won’t start anymore for some reasons. It will simply attempt to start but then fail and ask the user to check the Apache error logs.
[Read more…]
I found out about the Autoptimized wordpress plugin not so long ago and have been using it for all my wordpress blogs. In short, it helps in minimising and consolidating all js and css that you might have from your active theme and plugins into a single js and single css.
The plugin is working great but I had some issues while using it on a self managed cloud server (in my case, digital ocean). For some reasons, the path to the consolidated js and css wasn’t accessible and returning 404.
[Read more…]
I’ve just installed a new plugin for Eclipse Juno, and have to restart it to finish the installation process. It failed and a messagebox poped up showing:
Please check userdirectory/worksapce/.metadata/.log
Checked the file and found nothing much from it. Long story short, i found the solution and here’s how i fixed it.
[Read more…]
I have 2 google user account, let’s call them A and B.
A is my primary google user account and used to login to gmail, youtube, google webmaster tools and other google properties.
B is used just for login to google chrome developer dashboard for publishing google chrome extensions and apps.
[Read more…]
If you’ve ever used the windows command prompt, cls will pop up right into mind.
But in GroovyConsole, that command cls won’t work. There’s a menu and shortcut key CTRL+W for it instead
This post is about setting things up and getting unit testing (PHPUnit) and functional testing (Selenium) working for doing PHP development in XAMPP and Netbeans.
I assume you are already using XAMPP. The steps to installing PHPUnit and Selenium (both client and server):
[Read more…]
So it happened that certain embedded YouTube videos on my site were not playing in firefox while running perfectly fine in other browser such as IE, Opera, Chrome and Safari.
I was getting the following message:
This video contains content from Vevo. It is restricted from playback on certain sites. Watch yon YouTube.