Remote suggested url from chrome’s bar as you type
On mac: Fn + Shift + Del. else: Shift + Del once you highlight (up/down arrow keys) the suggestion.
On mac: Fn + Shift + Del. else: Shift + Del once you highlight (up/down arrow keys) the suggestion.
Fix WITHOUT reboot: chown -R _coreaudiod:admin /Library/Preferences/Audio # Fix the dynamic linkers using the following command sudo update_dyld_shared_cache -force # Restart the coreaudio service sudo killall coreaudiod
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 […]
Drupal site just sits there loading and eventually times out? Check sites/default/settings.php. In particular, you may be loading stuff that will slow you down/bring your site to a halt. For instance, try commenting out: $conf[‘cache_backends‘][] = ‘sites/all/modules/memcache_storage/memcache_storage.inc‘; $conf[‘cache_default_class‘] = ‘MemcacheStorage‘; $conf[‘cache_class_cache_form‘] = ‘DrupalDatabaseCache‘; $conf[‘cache_backends‘][] = “sites/all/modules/memcache/memcache.inc“; $conf[‘cache_default_class‘] = ‘MemCacheDrupal‘; $conf[‘cache_class_cache_form‘] = ‘DrupalDatabaseCache‘; Or any one that […]
To update drupal manually, download and unzip drush, then go into the directory where you unzipped, and run: ./drush pm-update projects drupal-7.33 -r <path to your drupal installation> I later had to rebuild content access permissions. With drush: sudo ./drush php-eval ‘node_access_rebuild();’ -r<path to your drupal installation> -y -l http://<url> -v I had […]
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.
netstat -tulpn