https://itunes.apple.com/de/app/macos-sierra/id1127487414?l=en&mt=12
Link: canonical Link: amphtml Close Ad Link: http://www.macworld.com * Subscribe ▲ Learn more about Macworld's Digital Edition Macworld Magazine Cover
https://itunes.apple.com/de/app/macos-sierra/id1127487414?l=en&mt=12
Link: canonical Link: amphtml Close Ad Link: http://www.macworld.com * Subscribe ▲ Learn more about Macworld's Digital Edition Macworld Magazine Cover
| echo "Creating an SSH key for you..." | |
| ssh-keygen -t rsa | |
| echo "Please add this public key to Github \n" | |
| echo "https://github.com/account/ssh \n" | |
| read -p "Press [Enter] key after this..." | |
| echo "Installing xcode-stuff" | |
| xcode-select --install |
#OpenCV on the Mac with Nvidia CUDA and Python support using Homebrew
##Prerequisites
| #To Get List of Hardware | |
| sudo networksetup -listallhardwareports | |
| #To Disable IPv6 on Wifi Adapter | |
| sudo networksetup -setv6off wi-fi | |
| #To Disable IPv6 on Built-in Ethernet Adapter | |
| sudo networksetup -setv6off Ethernet |
#!/bin/sh
# https://docs.docker.com/engine/installation/linux/ubuntu/#install-using-the-repository
sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88 | grep docker@docker.com || exit 1
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
| #!/bin/sh | |
| # Cleanup docker files: untagged containers and images. | |
| # | |
| # Use `docker-cleanup -n` for a dry run to see what would be deleted. | |
| untagged_containers() { | |
| # Print containers using untagged images: $1 is used with awk's print: 0=line, 1=column 1. | |
| # NOTE: "[0-9a-f]{12}" does not work with GNU Awk 3.1.7 (RHEL6). | |
| # Ref: https://github.com/blueyed/dotfiles/commit/a14f0b4b#commitcomment-6736470 | |
| docker ps -a | tail -n +2 | awk '$2 ~ "^[0-9a-f]+$" {print $'$1'}' |
| # Ask for the user password | |
| # Script only works if sudo caches the password for a few minutes | |
| sudo true | |
| # Install kernel extra's to enable docker aufs support | |
| # sudo apt-get -y install linux-image-extra-$(uname -r) | |
| # Add Docker PPA and install latest version | |
| # sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
| # sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" |
| #!/usr/bin/env bash | |
| DUCKPATH=/data/duckdns | |
| TOKEN=changeme | |
| DOMAINS=moo | |
| curl -sSv "https://www.duckdns.org/update?domains=${DOMAINS}&token=${TOKEN}&ip=" \ | |
| 2>> ${DUCKPATH}/stderr.log \ | |
| >> ${DUCKPATH}/stdout.log | |
| printf ' - ' >> ${DUCKPATH}/stdout.log | |
| date >> ${DUCKPATH}/stdout.log |
| #!/bin/bash | |
| # based on tutorial: https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-using-the-repository | |
| sudo apt-get update | |
| sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common | |
| # Command to add GPG key | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |