Yearly Archives: 2013


Drupal speed

Significant speedup:   APC <- alternative php cache view cache (under view’s configuration:   View content cache:  http://drupal.org/project/views_content_cache css/js aggregation: https://drupal.org/project/advagg   Other modules:  Boost, authcache   Configuration -> Development -> performance:  enable whatever cache checkbox you see. Disable developer module putting ?blah after css and javascript files, since this prevents caching.


Drupal slow

change /etc/hosts.  For every entry related to local host (INCLUDING ipv6 entries), map to localhost, e.g.: ::1     localhost #ip6-localhost ip6-loopback fe00::0 localhost #ip6-localnet ff00::0 localhost #ip6-mcastprefix ff02::1 localhost #ip6-allnodes ff02::2 localhost #ip6-allrouters


restrict sshd users

in /etc/ssh/sshd_config (on some systems it is simply /etc/sshd_config) add: AllowUsers root AllowUsers joe Note that as soon as you enable one AllowUsers option, no users can login unless they are listed. In other words, despite the PermitRootLogin setting, if you do not set “AllowUsers root” and have “AllowUsers joe” in your configuration, root cannot log in even with a […]


nexus 7 not recognized by adb

To get your nexus 7 to work with debugging in windows 7, 0. go to settings -> about tablet -> tap build number 7 times to enable developer options. 1. Enable debug mode on your Nexus 7. To do this, go to Settings, Developer options, and check Enable Debug mode. 2. Plug in the device […]