convert ^M to newline
for whatever reason, dos2unix nor unix2dos works. So, vi the file, :%s/^V^M/^V^M/g ^V^M = control V control M g at the end means global (i.e. not only first occurrence.
for whatever reason, dos2unix nor unix2dos works. So, vi the file, :%s/^V^M/^V^M/g ^V^M = control V control M g at the end means global (i.e. not only first occurrence.
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
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 […]
install cygwin. setup ssh server: From cygwin: ssh-host-config -y add user to windows in cygwin, run: mkpasswd -l > /etc/passwd Also, run mkgroup -l > /etc/group More info on setting up ssh server: http://www.noah.org/ssh/cygwin-sshd.html
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 […]
Maybe dns prefetch issue (like with google adsense). Try, in your mac: defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false Or these other various tricks at http://support.apple.com/kb/TS3408
You login to ubuntu. desktop all messed up. try: gconftool-2 –recursive-unset /apps/compiz-1 unity –reset or unity –replace
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 […]
Apple hides it so you can’t shoot yourself in the foot. To show it permanently in finder: chflags nohidden ~/Library/ To hide it: chflags hidden ~/Library You can show it temporarily in the Go menu by clicking on option.
sudo gnome-control-cener