Loads of solutions exist, but for changing the system default, alias is not the way to go.
$ update-alternatives --list python update-alternatives: error: no alternatives for python
| find . -maxdepth 1 -mindepth 1 -type d -exec sh -c '(echo {} && cd {} && git status -s && echo)' \; |
| Step 1: Delete all Local Tags | |
| ``` | |
| git tag | xargs git tag -d | |
| ``` | |
| Step 2: Delete all Remote Tags | |
| ``` | |
| git ls-remote --tags --refs origin | cut -f2 | xargs git push origin --delete |
| /* The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or | |
| * her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. | |
| * | |
| * You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission. | |
| * | |
| * In no way are the patent or trademark rights of any person affected by CC0, nor are the rights that other persons may | |
| * have in the work or in how the work is used, such as publicity or privacy rights. | |
| * Unless expressly stated otherwise, the person who associated a work with this deed makes no warranties about the work, | |
| * and disclaims liability for all uses of the work, to the fullest extent permitted by applicable law. | |
| * When using or citing the work, you should not imply endorsement by the author or the affirmer. |
Yes - you can create a Kubernetes cluster with Raspberry Pis with the default operating system called Raspbian. This means you can carry on using all the tools and packages you're used to with the officially-supported OS.
| find . -name "*.scala" -print | xargs wc -l |
| #!/bin/sh | |
| exec scala "$0" "$@" | |
| !# | |
| /*** | |
| scalaVersion := "2.11.11" | |
| libraryDependencies ++= Seq( | |
| "com.typesafe" % "config" % "1.3.1" | |
| ) |
| sbt 'set test in Test := {}' clean assembly |
| object WiFiConnector extends App { | |
| if (System.getProperty("os.name").contains("Mac")) | |
| scanMac() | |
| else | |
| scanWindows() | |
| def scanWindows() = { | |
| val builder = new ProcessBuilder( |