mac: can connect to internet with chrome, chromium, firefox. cannot with safari, skype
sudo killall -9 networkd
sudo killall -9 networkd
Dual boot environment with windows 10 and windows 7. It uses windows 7 instead of windows 10’s metro boot. From windows 10, just run: bcdboot C:\Windows That command will replace the boot files with the ones from Windows 10.
reg.exe add “HKLM\System\CurrentControlSet\Services\atapi\Controller0” /f /v EnumDevice1 /t REG_DWORD /d 0x00000001
apache2 hangs. Check logs, see: [error] could not make child process 16190 exit, attempting to continue anyway check your php files (such as drupal’s includes/common.inc and sites/all/modules/advagg/advagg.missing.inc ) for: ignore_user_abort Try to comment all out, and restart apache.
which <command> returns nothing. Maybe it’s alias, so: type <command> will tell you what the alias is for.
To make apt-get update work, we simply need to edit /etc/apt/sources.list and update all URLs from security.ubuntu.com and archive.ubuntu.com to point to old-releases.ubuntu.com, as per the following sed command: sudo sed -i.bak -r ‘s/(archive|security).ubuntu.com/old-releases.ubuntu.com/g’ /etc/apt/sources.list After this, sudo apt-get update seems to run without a hitch. Of course if you do this, you’re accepting to […]
When ssh, if you get: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the DSA […]
if you have a large file that is too large to pass to xargs, you can bring it up into chunks. For instance: cat file.txt | xargs -L 3 echo will execute echo on 3 lines at a time.
sudo apt-get install compizconfig-settings-manager sudo apt-get install compiz-plugins Open compizconfig-settings-manager with alt-F2, type ccsm. Scroll down to “Ubuntu Unity Plugin”. Choose the tab “Switcher”. Disable the alt-tab and shift-alt-tab key bindings. (“Key to start the switcher” and “Key to switch to the previous window in the Switcher”. Click the “Back” button. Scroll down to the […]
If your permissions in windows 7 get messed up, you can: 1. take ownership of all files, recurse, specify default answer to whether or not take ownership to y takeown /f . /r /d y 2. give everyone read permission icacls . /grant:r everyone:r /t /c /q 3. grant and replace existing permissions and give […]