Don't wanna be here? Send us removal request.
Text
du -h --max-depth=1 /srv/dev-disk-by-uuid-44833AAF373DD55D/ | sort -h
0 notes
Text
Calico & K8S on Azure - can't access pods
https://stackoverflow.com/questions/60222243/calico-k8s-on-azure-cant-access-pods
0 notes
Text
https://stackoverflow.com/questions/60222243/calico-k8s-on-azure-cant-access-pods
0 notes
Text
Connect-AzAccount : The default context can no longer be found
Delete files .Azure\AzureRmContext.json and Azure\AzureRmContextSettings.json
Connect-AzAccount -Subscription <SubscriptionID> -TenantId <TenantID>
0 notes
Text
How powershell starts start-transcript every time I open?
Open a PowerShell console, type this:
$profile
This will show you the link to a file in your profile. Open it in Notepad. If it doesn't exist yet (odds are, it doesn't), create it (and create the folder if necessary).
Everything you put into this file will automatically run when you start a console window. You can add your own functions there, and every command you add there will be executed on start.
Add your Start-Transcript there and it will be launched on the start of every console you open.
Also consider updating o the latest powershell version and getting the PSReadline module, which will maintain your input history across many sessions.
0 notes
Text
No default context and cannot select a new one in Powershell ISE
Manually delete files .Azure\AzureRmContext.json and .Azure\AzureRmContextSettings.json under your user profile folder, normally your profile folder would be:
Windows: c:\users\yourname\
0 notes
Text
Trying to install program using Powershell and getting this error:
WARNING: MSG:UnableToDownload «https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409» «» WARNING: Unable to download the list of available providers. Check your internet connection.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
0 notes
Text
Install OpenVPN in 5 min
wget https://git.io/vpn -O openvpn-install.sh
systemctl enable [email protected]
systemctl start [email protected]
0 notes
Text
network: version: 2 ethernets: eth0: dhcp4: no dhcp6: no addresses: [192.168.1.6/24] gateway4: 192.168.1.1 nameservers: addresses: [8.8.8.8, 8.8.4.4]
0 notes
Text
Add Date + Time to a file name
https://unix.stackexchange.com/questions/278939/how-do-you-put-date-and-time-in-a-file-name
0 notes
Text
Add timestamp to a name of a log file
https://stackoverflow.com/questions/8228047/adding-timestamp-to-a-filename-with-mv-in-bash
0 notes
Text
Bash script to test speed and write in to a log with timestamp
#!/bin/bash curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python - >> speedtest.log | mv speedtest.log `date +"%FT%T"`-speedtest.log
0 notes
Text
How to check speed from terminal
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -
https://askubuntu.com/questions/104755/how-to-check-internet-speed-via-terminal
0 notes
Photo
0 notes