To remove just git package itself from Ubuntu 14.04 execute on terminal:
$ sudo apt-get remove git
To remove the git package and any other dependant package which are no longer needed from Ubuntu Trusty.
$ sudo apt-get remove --auto-remove git
{ | |
"cmd": ["g++", "-o", "${file_path}/${file_base_name}.exe", "-static-libgcc", "-static-libstdc++", "*.cpp"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c, source.cpp, source.c++", | |
"path": "c:/Program Files/mingw-w64/mingw64/bin", | |
"shell": true, | |
"variants": [ | |
{ | |
"name": "Run", |
obj: | |
{"metadata":{"name":"labels-567ffd7c48","namespace":"kube-system","creationTimestamp":null,"labels":{"app":"label_extractor","pod-template-hash":"1239983704"},"annotations":{"deployment.kubernetes.io/desired-replicas":"1","deployment.kubernetes.io/max-replicas":"2","deployment.kubernetes.io/revision":"1","docker.com/labels-git-commit":"unkown","hi":"hello"},"ownerReferences":[{"apiVersion":"extensions/v1beta1","kind":"Deployment","name":"labels","uid":"ff0c41a7-3cb6-11e8-b788-080027b151f8","controller":true,"blockOwnerDeletion":true}]},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"label_extractor","pod-template-hash":"1239983704"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"label_extractor","pod-template-hash":"1239983704"}},"spec":{"containers":[{"name":"labels","image":"shudipta/labels","ports":[{"containerPort":80,"protocol":"TCP"}],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolic |
Wed Jun 20 05:59:16 UTC 2018 |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: redis-master | |
labels: | |
app: sentinel | |
role: master | |
spec: | |
containers: | |
- name: redis-master |
#!/bin/bash | |
set -eou pipefail | |
export VERSION=14 | |
export ARGS=0 | |
export FILE= | |
show_help() { | |
echo "c++14 - builds and runs a c++ source file specified by the only argument" | |
echo " " |
#!/bin/bash | |
export MINIKUBE_VER=v1.0.0 | |
export KUBECTL_VER=`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt` | |
show_help() { | |
echo "mk-kc.sh - update minikube and kubectl" | |
echo " " | |
echo "mk-kc.sh [options]" | |
echo " " |
$ kubectl create -f sts-svc.yaml | |
$ kubectl logs -f web-0 | |
PING web-0.test (10.28.0.104): 56 data bytes | |
64 bytes from 10.28.0.104: seq=0 ttl=64 time=0.029 ms | |
--- web-0.test ping statistics --- | |
1 packets transmitted, 1 packets received, 0% packet loss | |
round-trip min/avg/max = 0.029/0.029/0.029 ms | |
PING web-1.test (10.28.2.71): 56 data bytes |
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go
directory by:
package main | |
// http://play.golang.org/p/jZ5pa944O1 <- will not display the colors | |
import "fmt" | |
const ( | |
InfoColor = "\033[1;34m%s\033[0m" | |
NoticeColor = "\033[1;36m%s\033[0m" | |
WarningColor = "\033[1;33m%s\033[0m" | |
ErrorColor = "\033[1;31m%s\033[0m" | |
DebugColor = "\033[0;36m%s\033[0m" |