$ sudo apt-get install smartmontools
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
| Somehow this query is 5seconds the first time I run it and 0.000smtsmall seconds the 2nd time, even if do SELECT SQL_NO_CACHE | |
| I already tried optimizing / repairing the tables, even completely dropped and recreated the database ... |
EDIT: this is an old post and a lof the information in this document is outdated.
Git is a popular free and open source distributed version control system.
I am new to Unity, but as a long time git user, I wanted to use git for my
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 | |
| # Original : https://raw.githubusercontent.com/Microsoft/linux-vm-tools/master/arch/install-config.sh | |
| ############################################################################### | |
| # Update our machine to the latest code if we need to. | |
| # | |
| if [ "$(id -u)" -ne 0 ]; then | |
| echo 'This script must be run with root privileges' >&2 | |
| exit 1 |
Run the following to set GIT_SSH required for git to use ssh-agent thus avoiding multiple prompts for password (which is less secure so take care)
[Environment]::SetEnvironmentVariable("GIT_SSH", "$((Get-Command ssh).Source)", [System.EnvironmentVariableTarget]::User)
run the following to ensure automatic startup
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
| var profile = "YOUR_PROFILE_NAME"; | |
| var credentials = LoadSsoCredentials(profile); | |
| // any operation you want to do with sso credentials. | |
| var s3client = new AmazonS3Client(credentials, RegionEndpoint.APNortheast1); | |
| var buckets = await s3client.ListBucketsAsync(); | |
| buckets.Dump(); | |
| static AWSCredentials LoadSsoCredentials(string profileName) | |
| { |
