rowty.net code snippets Public source code sharing repository https://rowty.net Install Virtualbox in OS X - rowty.net code snippets sudo installer -package /Volumes/VirtualBox/VirtualBox.pkg -target / https://rowty.net/view/92/1/Install-Virtualbox-in-OS-X https://rowty.net/view/92/1/Install-Virtualbox-in-OS-X Fri, 14 Apr 2017 13:24:25 GMT Pop up a window / dialog box in osx - rowty.net code snippets osascript -e 'tell app "System Events" to display dialog "Testing"' https://rowty.net/view/77/1/Pop-up-a-window---dialog-box-in-osx https://rowty.net/view/77/1/Pop-up-a-window---dialog-box-in-osx Thu, 23 Feb 2017 12:03:43 GMT Turn on ipv6 for wi-fi on osx - rowty.net code snippets networksetup -setv6automatic Wi-Fi https://rowty.net/view/64/1/Turn-on-ipv6-for-wi-fi-on-osx https://rowty.net/view/64/1/Turn-on-ipv6-for-wi-fi-on-osx Thu, 23 Feb 2017 11:48:38 GMT Turn off ipv6 for wifi on osx - rowty.net code snippets networksetup -setv6off Wi-Fi https://rowty.net/view/63/1/Turn-off-ipv6-for-wifi-on-osx https://rowty.net/view/63/1/Turn-off-ipv6-for-wifi-on-osx Thu, 23 Feb 2017 11:47:34 GMT Ping a server until its up, then pop up a dialog box announcing it - rowty.net code snippets while ! ping -c1 xxx.xxx.xxx.xxx &>/dev/null; do :; done && osascript -e 'tell app "System Events" to display dialog "Server is up"' https://rowty.net/view/53/1/Ping-a-server-until-it-s-up--then-pop-up-a-dialog-box-announcing-it https://rowty.net/view/53/1/Ping-a-server-until-it-s-up--then-pop-up-a-dialog-box-announcing-it Thu, 23 Feb 2017 11:29:17 GMT os-x screenshot - rowty.net code snippets Command-shift-4 (will let you select an area to screenshoot) - it will be a .png saved on your desktop. https://rowty.net/view/18/1/os-x-screenshot https://rowty.net/view/18/1/os-x-screenshot Wed, 22 Feb 2017 15:36:07 GMT