This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| azure | |
| account | |
| list [options] #List the imported subscriptions | |
| show [options] [subscriptionNameOrId] #Show details about a subscription | |
| set [options] <subscriptionNameOrId> #Set the current subscription | |
| clear [options] #Remove a subscription or environment, or clear all of the stored account and environment info | |
| import [options] <file> #Import a publishsettings file or certificate for your account | |
| download [options] #Launch a browser to download your publishsettings file | |
| env... #Commands to manage your account environment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- http POST data with cli --> | |
| { | |
| "HostConfig": { | |
| "RestartPolicy": { | |
| "MaximumRetryCount": 0, | |
| "Name": "" | |
| }, | |
| "NetworkMode": "bridge", | |
| "SecurityOpt": null, | |
| "VolumesFrom": null, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gcloud auth | |
| gcloud auth activate-refresh-token | |
| gcloud auth activate-service-account | |
| gcloud auth git-helper | |
| gcloud auth list | |
| gcloud auth login | |
| gcloud auth print-access-token | |
| gcloud auth print-refresh-token | |
| gcloud auth revoke | |
| gcloud components |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@precise32:~# curl -L http://install.ohmyz.sh | sh | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 104 100 104 0 0 159 0 --:--:-- --:--:-- --:--:-- 650 | |
| 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 | |
| 100 1779 100 1779 0 0 1119 0 0:00:01 0:00:01 --:--:-- 42357 | |
| Cloning Oh My Zsh... | |
| Cloning into '/root/.oh-my-zsh'... | |
| remote: Reusing existing pack: 10071, done. | |
| Receiving objects: 100% (10071/10071), 2.04 MiB | 500 KiB/s, done. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| function outerr { | |
| echo "this is on standard ouput (blank color)" | |
| echo "but this one is on error ouput (red color)" >&2 | |
| } | |
| exec 3>&1 | |
| outerr 2>&1 >&3 | sed -e 's/^/'$(printf "\033[1;31m")'/' -e 's/$/'$(printf "\033[39m")'/' | |
| exec 3>&- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hardstatus alwayslastline | |
| hardstatus string '%{Yk}%-w%{.Yk}%n %t%{-}%+w %=%{.w} %{kY}%C' | |
| shell -$SHELL | |
| deflogin on | |
| backtick 1 5 5 uptime | |
| bind f eval "caption splitonly" "hardstatus ignore" | |
| bind F eval "caption always" "hardstatus alwayslastline" | |
| #defscrollback 12000 | |
| #bind ^j focus down |
NewerOlder