Category: How-to

  • Install sqlcmd on Mac OS X

    , ,

    In case you need to run SQL Server scripts from your Mac, do the following to install (NOTE: I use HomeBrew.): From the terminal, type: brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release ACCEPT_EULA=y brew install –no-sandbox msodbcsql mssql-tools You should see something like in the screenshot. Type “YES” if prompted and be on your way. Once done, type:…

  • Enable root in OS X Yosemite and El Capitan

    ,

    I needed to do some file moving between users and noticed my admin account didn’t have access, so I tried “su” and “sudo” without success. Apparently, like it Yosemite, root access is disabled by default. Here’s how to enable it: 1. Open Directory Utility (I usually do it via CMD + spacebar, then type "dire")…

  • Homebrew: How to install on OS X

    ,

    Since moving to OS X in 2011/2012 for work to do all my development, I’ve moved Homebrew to a must-have. Adding it here for archiving purposes. From a terminal: 1. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2. brew tap caskroom/cask The 2nd point is to install Homebrew Cask as well, which extends Homebrew’s functionality. Now get…

  • Change computer name in OS X Yosemite

    ,

    In case you want to rename your computer name in Yosemite, here’s what I did in the Terminal to do so: sudo scutil –set ComputerName sudo scutil –set HostName sudo scutil –set LocalHostName hostname -f

  • Firefox: “You are not authorized to view this page” when connecting to intranet

    ,

    In case you get the error below when connecting to your Windows-based intranet using Firefox, here’s the fix: 1. In your toolbar, type “about:config 2. Search for “network.negotiate-auth.allow-insecure-ntlm-v1” and set it to “true 3. That’s it. When you access the site, it will now ask you to enter your domain creds You are not authorized…

  • Bypass Google Chrome’s “Cannot connect to the real” error

    ,

    In case you encounter the error below in Chrome, but you’re sure or okay with proceeding to the site, just type “proceed” while on the page and it should take you there. Cannot connect to the real <site>… Something is currently interfering with your secure connection to vcs.websys.tmcs. Try to reload this page in a…