I installed WAMP for offline development, then Composer and then Laravel. Everything was OK until I used Composer to download some Laravel package and I got this kind of error:
This package requires php >=7.0.0 but your PHP version (5.6.25) does not satisfy that requirement
Number don’t matter but I needed newer PHP. OK, I changed PHP version on WAMP, restarted it..and Laravel composer gave me the same error!
Long story short, after an hour of googling and trying all the suggested solutions like editing composer.json and this and that, nothing worked!
The solution is simple: reinstall Composer! D’oh!
When you run setup you can select the PHP version you want Composer to use (of course you have to have this PHP version installed on your PC or server) and the Composer will use it from then on:
After doing this this I was able to install the package. To be honest, I was quite upset that so many people offered some complicated solutions (that didn’t even work for me) on various forums and wasted my time when the solution was so simple.
2. Go to the cmder_mini/vendor folder (where you installed cmder) and rename clink folder to something like clink_original (or you can delete it if you like but I prefer to backup first if something goes wrong) and recreate a folder named clink and simply extract all files from the downloaded ZIP to this folder.
3. Close (if you had it open) and restart cmder and this is what you should see:
This is for Windows 10 but will probably work on other Windows versions too.
Windows 10 is still relatively new so some vendors (looking at you Lenovo) haven’t updated the drivers. For example in my case I had problems with Conexant driver for Windows 10 – microphone didn’t work in some programs. To make the long story short, I tried everything and the solution was to uninstall the driver and use older version. The problem was, Windows 10 kept reinstalling the latest driver!
The solution was this: Install Microsoft tool that “hides” specific driver form Windows so Windows doesn’t “see” it and doesn’t update/reinstall it.
Uninstall or rollback the problematic driver until you have the one that works.
Download this tool: Note: I am linking to Microsoft site and not directly to file download so you can be sure that there isn’t some virus or some malware file on the link.
Click Hide Updates, like on photo below.
You will see a list of drivers. Select the driver you want to hide from Windows update and Windows will not update this driver anymore. Click next, wait and that’s it.
If you want Windows to update the driver again, the run this tool again and select “Show hidden updates” and then remove the hidden driver.
I’m liking Windows 10 but it has a lot of bugs that make it look like it is still a beta software. One of the most annoying bugs is that the volume icon simply disappears (this usually happens to me when windows 10 wakes up from sleep). Even restarting doesn’t always help. Here is a weird solution I found (which is still just temporary solution but it beats restarting). Going to Notifications & Settings then “Turn system icons on and off” doesnt help because Volume option is greyed out.
This is what helped. When the volume icon goes missing do this:
1. Click on search icon (near start menu) and type “display”.
2. Click “Display settings”
3. Change the size of text to 125% and click apply.
4. Do not log out!
5. Change the text size back to 100% and click apply.
6. Now sign out and then sign back in.
For some weird reason the volume icon is back! Hopefully it works for you too. This (setting text size) might mess up your desktop icon alignment a little but it is not really a problem.
I installed Windows 10 and after some time search in start menu stopped working. No matter what I typed in, the menu remained empty and the small dots going from left to right (search progress animation) just kept moving and nothing showed.
This is how to solve it: open Task manager (press CTRL + SHIFT + ESC), go to Details tab (If you don’t see it there then check Processes tab) and stop Cortana or SearchUI.exe. Just right click on the task then select End Task. After you end Cortana try searching again.
I installed (in this case just extracted files to some folder) great Windows console replacement caled Cmder. When you want to run it you click on Cmder.bat file. I added it to my PATH system variable but I also wanted to pin it on my taskbar. I was quite surprised when I kept dragging the icon to my taskbar and Windows 7 didn’t offer me “Pin to taskbar” option! What gives?
Apparently you can’t pin shortcuts or a batch file to the new Windows 7 Taskbar.
So here is a quick workaround. Let say you extracted it to the folder C:\cmder\Cmder.bat
Open the folder, right click on Cmder.bat file and select “Create shortcut”.
Right click on newly created shortcut and select properties.
Target: input box will contain this text: C:\cmder\Cmder.bat. Replace it with C:\Windows\System32\cmd.exe /C "C:\cmder\Cmder.bat". Don’t forget the quotes.
Save it and now you can drag it to your taskbar 🙂
Again, my Cmder is in C:\cmder\Cmder.bat folder. If you put yours in different folder you have to use your folder in step 3.
If you don’t have WiFi router you can still share your internet connection via your PC. I was using connectify.me software and it did the job but it felt bulky,it disconnected at random times (free version) and my laptop fan was on full speed all the time,which was slowing down my PC. I was very surprised when I learned how easy it is to do it by yourself (on windows 7 at least). All you need to do is enter few commands and enable ICS and that’s it! What is great is that you can use this connection with your Nexus 7 or any other smartphone.
1. Click Start and type cmd, then right click cmd.exe and select “run as Administrator”:
2. Run this command (I used “My net” as SSID and “elcoderino” as pass so replace it with your values)
netsh wlan set hostednetwork mode=allow "ssid=My net" "key=elcoderino" keyUsage=persistent
This will create “Microsoft Virtual WiFi Miniport adapter” and will also set up your hostednetwork. Now you need to enable Internet Connection Sharing (ICS)orNetwork Bridging for this new adapter (don’t worry, it is just few clicks. I enabled ICS connection but you can also bridge networks)
3. Now you simply start or stop new hosted network with these commands (please keep in mind that cmd.exe needs to be “run as administrator” – check step 1)
// to start hostednetwork type
netsh wlan start hostednetwork
// to stop hostednetwork type
netsh wlan stop hostednetwork
and that’s it! You should now have a working WiFi hotspot! Try connecting with your smartphone or tablet. Why install or even pay for the software when you can have it with few simple steps?
right mouse-click “My Computer” and select “Properties”
if on Windows 7 then click on “Advanced system settings”,
open “Advanced” tab and click “Environment Variables”,
highlight/click on the “Path” variable under “System variables” and click “Edit”,
add your specific path to front of “Variable value” field or at the end, separated by a semicolon from the existing entry. Do not add a space between ; and last entry.Also, do not add ; after the last entry
Let say, just for example, that the Git.exe is in C:\Users\something\somefolder\bin folder. So when you edit your path variable it should look like this (thanks to my super Photoshop skills you can see that we are on Advanced tab, that we are editing Path variable and that I excel at making watermarks):