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
| az ad sp create-for-rbac --name "myApp" --role contributor --scopes /subscriptions/{subscription-id}/resourceGroups/{resource-group} --sdk-auth |
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
| version: '3.7' | |
| services: | |
| mongodb_container: | |
| image: mongo:latest | |
| environment: | |
| MONGO_INITDB_ROOT_USERNAME: user | |
| MONGO_INITDB_ROOT_PASSWORD: supersecretpassword | |
| ports: | |
| - 27017:27017 | |
| volumes: |
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
| nginx -V 2>&1 | grep -o with-http_stub_status_module |
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
| ln -s <SOURCE> <LINK_NAME> |
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
| # adds files to index | |
| git add <file> |
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
| <template> | |
| <div v-cloak > | |
| </div> | |
| </template> | |
| <style> | |
| [v-cloak] { | |
| display: none; | |
| } | |
| </style> |
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
| const unique = [...new Set(array.map(item => item.age))]; |
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
| Get-IISAppPool | where name -like *webclient* | select Name, state,queuelength |
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
| get-msmqqueue | where messagecount -gt 0 | select queuename, MessageCount |
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
| SELECT CAST(SERVERPROPERTY('ServerName') AS [nvarchar](256)) AS [SQLServer] | |
| ,db.[database_id] AS [DatabaseID] | |
| ,db.[name] AS [DatabaseName] | |
| ,id.[object_id] AS [ObjectID] | |
| ,id.[statement] AS [FullyQualifiedObjectName] | |
| ,id.[equality_columns] AS [EqualityColumns] | |
| ,id.[inequality_columns] AS [InEqualityColumns] | |
| ,id.[included_columns] AS [IncludedColumns] | |
| ,gs.[unique_compiles] AS [UniqueCompiles] | |
| ,gs.[user_seeks] AS [UserSeeks] |
NewerOlder