As a PHP Developer I often come across issues that can arise several times depending on the setup etc.I had previously found the fix to this issue but completely forgot how to resolve it. When I tried to up the vagrant machine I would get the error quoted below:
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.
If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.
Below is a guide for installing Kodi on the Raspberry pi.
What is a Raspberry pi?
The Raspberry Pi is a very very low cost, “credit-card sized” computer. With a Pi you can plug a computer monitor or tv, a keyboard and a mouse to use as a normal computer. The beauty of this device is that you can do almost anything with it!
What is Kodi?
Kodi (Previously called XBMC) is a free, open-source media player developed by the XBMC foundation. Kodi is currently available for various operating systems and hard ware platforms including Raspberry pi, android, windows, linux, OS X.
Since having my raspberry pi, other than converting one into a retro gaming console, and an IRC bouncer (Yes I still use IRC) I have yet to decide on any of the other many many ideas I can carry out on the pi.
Today watching a music channel where a few hours they allowed users to battle it out over which song of 3 would be played next by using hash tags on twitter for the songs. So I figured why not look into making a twitter bot for the pi! And this blog post is the result!
Good morning all. One of the first things I intended to do on my new pi is to setup EmulationStation which is a ” cross-platform graphical front-end for emulators with controller navigation.”
I received an error ( I can’t recall which one right now. But it stopped me proceeding with the installation). Upon searching on the EmulationStation Github for issues found here:
I found that the Raspberry Pi 2 changed around the include directory. So the command:
cmake . -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype/
Would then work. It seemed that this worked, so I moved onto the next step which is
However, this was the error I was then given:
[ 3%] Building CXX object es-core/CMakeFiles/es-core.dir/src/AudioManager.cpp.o
[ 3%] Building CXX object es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o
In file included from /home/pi/EmulationStation/es-core/src/Window.h:5:0,
/home/pi/EmulationStation/es-core/src/resources/Font.h:6:22: fatal error: ft2build.h: No such file or directory
es-core/CMakeFiles/es-core.dir/build.make:77: recipe for target ‘es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o’ failed
make: *** [es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o] Error 1
CMakeFiles/Makefile2:194: recipe for target ‘es-core/CMakeFiles/es-core.dir/all’ failed
make: *** [es-core/CMakeFiles/es-core.dir/all] Error 2
Makefile:133: recipe for target ‘all’ failed
make: *** [all] Error 2
So… Back to trying to figure out what caused this as far as I thought, the cmake command had been a thing of the past in terms of this installation so the cause of that command didn’t enter my mind as the problem.
I couldn’t find any issues documented online so I posted an issue on their github repository. It soon appeared a few people had encountered the same issue so I figured I’d write a quick blog post on this in case anyone else had the same problems I’ve had with the new pi!
The command to fix that problem was:
It’s again been a while since my last post. I recently acquired the new raspberry pi and what better place to show it off than my blog. I’ve already got the raspberry pi B, but the Raspberry pi 2 was just too good of a gadget to get my hands on.
A while ago I thought it would be a great idea with my Macbook set up and working how I wanted it to work, to upgrade to OS X Mavericks. One big problem I immediately experienced was that my virtualmachines refused to start up. The error below was what I experienced:
VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
Recently, while importing some work database into my local, I quickly found I was unable to log into my databases any more. Upon further inspection, I found that the import actually overwrote the users database in mysql.
After a quick panic of believing I had lost all of my databases, I had a quick look around and found that if you alter the config file to bypass these log in checks.
For several projects now I’ve been required to show/hide content when something is clicked.Each time required a different method of completion. I figured I would write this up partly for myself for future reference, but also for anyone that might need this for anything they’re working on.
If you haven’t heard of all the hype over Bitcoins over the past couple of weeks then you must have been living in a cave.
Bitcoin is a distributed peer to peer digital currency that has no central authority. This cryptocurrency was introduced at the beginning of 2009 by a pseudonymous developer known as “Satoshi Nakamoto”
The great thing about bitcoins are that there will be a limited amount of bitcoins once they have all been found. The limit is 21 million. I wont go into detail on what bitcoins are in this article as I wish to talk about the other cryptocurrencies currently available.
Coin Limit: 84 million coins.
Hashing Algorithm: Scrypt.
Initial Reward: 50 coins per block.
Launched: Late 2011.
These coins have also seen a large increase in sales at the same time as Bitcoins, although the value does not equal that of Bitcoins, their prices earlier this week went from around £3 up to over £20 per coin. This rise in value then dropped back down to around £10 per coin. Which still is a large increase and is following the pattern that Bitcoins were at just over a year ago.
Benefits of mining LTC?
The market entry costs for Litecoin mining are much lower than Bitcoin’s
Any CPU can still be used to mine Litecoin, although much less effectively as a modern AMD GPU could.
Although bitcoin mining is possible, it just isn’t worth it with the difficulty of each block now. Litecoins is not at this level of difficulty so you would be able to use your home PC with the right hardware and drivers as a decent litecoin miner.
This isn’t a new problem, but something that I’ve never really looked into.
If you’re a Mac user, don’t use a mail client (like me, I only use Web mail), yet when you click on an e-mail in firefox, it opens up the default mac mail client, which I have never set up and don’t intend to?