Author Archives : techstruggles


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 […]


Remove apps from doc (does not uninstall)

Method 1) Using Launchpad – Mac App Store apps only Hold down the Option key, and once the icons start jiggling click the “X” shown in the corner of icons that you want to delete. This removes the app from Launchpad, and does not uninstall them, but this is limited to apps installed from the […]