| contents | Azure services and related products |
|---|---|
| App modernization | - Xamarin - Web APIs - PowerApps - Flow - Azure Storage - Azure Search - Azure Redis - Azure SQL Database - Azure Active Directory - API Management |
| Azure Blockchain | - Blockchain Workbench - IoT Hub - Service Bus - SQL Database - Key Vault - Event Grid - Application Insights |
| Azure security and management | - Azure Automation - Azure Monitor - Azure Log Analytics - Change Tracking - Update Management - Security Center - Service Map - Application Insights - Virtual machines |
| Azure security, privacy, and compliance | - Azure Virtual Machines and Networks with Network Security Groups- Virtual Private Networks (Point to |
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
| input { | |
| jdbc { | |
| jdbc_driver_library => "/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/mssql-jdbc-6.4.0.jre8.jar" | |
| jdbc_driver_class => "com.microsoft.sqlserver.jdbc.SQLServerDriver" | |
| jdbc_connection_string => "jdbc:sqlserver://192.168.0.7;databaseName=master" | |
| jdbc_user => "<User Id>" | |
| jdbc_password => "<Password>" | |
| schedule => "15 00 * * *" | |
| statement => "exec usp_Get_Cache" | |
| # columns_charset => {"query_hash" => "UTF-8"} |
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
| 2004年 : 65,418 円 6件 最高額 : 20,759 円 | |
| 2005年 : 158,127 円 14件 最高額 : 49,500 円 | |
| 2006年 : 121,575 円 14件 最高額 : 29,917 円 | |
| 2007年 : 222,324 円 30件 最高額 : 30,140 円 | |
| 2008年 : 161,817 円 29件 最高額 : 18,069 円 | |
| 2009年 : 131,029 円 34件 最高額 : 15,645 円 | |
| 2010年 : 229,647 円 45件 最高額 : 28,484 円 | |
| 2011年 : 327,966 円 39件 最高額 : 38,800 円 | |
| 2012年 : 385,573 円 66件 最高額 : 72,036 円 | |
| 2013年 : 354,654 円 134件 最高額 : 45,120 円 |
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
| Perf | |
| | where Computer == "ubuntu" | |
| | where CounterName contains "Batch" | |
| | sort by TimeGenerated asc nulls last | |
| | extend PrevCounterValue = prev(CounterValue, 1, 0) | |
| | extend PrevTimeGenerated = prev(TimeGenerated, 1, 0) | |
| | extend TimeInterval = case( | |
| PrevCounterValue == 0, toreal(0), | |
| round(datetime_diff("Second", TimeGenerated, PrevTimeGenerated)) | |
| ) |
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 | |
| # Base Script : https://github.com/ProjectNami/sandbox-installer | |
| # Install Package | |
| apt-get update | |
| apt-get install -y \ | |
| nginx \ | |
| git \ | |
| unixodbc-dev \ | |
| php7.0-fpm php-pear php-dev |
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
| exec sp_execute_external_script @language =N'Python', | |
| @script=N' | |
| from tensorflow.examples.tutorials.mnist import input_data | |
| mnist = input_data.read_data_sets("MNIST_data", one_hot=True) | |
| import tensorflow as tf | |
| sess = tf.InteractiveSession() | |
| x = tf.placeholder(tf.float32, shape=[None, 784]) |
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
| # ドメイン名の大文字 / 小文字の入力が意識されるため、以下のスクリプトの大文字/小文字はそのままの形式で適宜ドメイン名を変更 | |
| sudo apt-get install -y realmd krb5-user packagekit | |
| # インストール時に入力が求められるドメイン名については、大文字で指定 | |
| # https://answers.launchpad.net/ubuntu/+question/293540 | |
| sudo realm discover contoso.com -v | |
| sudo realm join contoso.com -U '[email protected]' -v | |
| # Domain Users 権限で JOIN させる場合、事前にコンピューターアカウントを作成し無効な状態としておき、コマンドで使用するユーザーのフルコントロールを付与しておく |
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
| function Install-JapaneseLanguagePack | |
| { | |
| Param( | |
| [parameter(mandatory=$true)] | |
| $AdminUser = "", | |
| [parameter(mandatory=$true)] | |
| $AdminPassword = "", | |
| [parameter(mandatory=$true)] | |
| [ValidateSet("2012" , "2012R2", "2016")] | |
| $OSVersion = "" |
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
| DROP TABLE IF EXISTS T_EmpGO | |
| CREATE TABLE T_Emp( ID int NOT NULL, Name Varchar(20), Status Varchar(1), Flag tinyint NOT NULL, UpdDate Datetime, CONSTRAINT PK_ID PRIMARY KEY CLUSTERED(ID)) GO | |
| CREATE INDEX IX_Name on T_Emp(Name) CREATE INDEX IX_Status on T_Emp(Status) CREATE INDEX IX_Flag on T_Emp(Flag) CREATE INDEX IX_UpdDate on T_Emp(UpdDate) GO | |
| TRUNCATE TABLE T_Emp GO DECLARE @i int = 1 DECLARE @name varchar(10) | |
| WHILE @i <= 10 BEGIN SET @name = 'Name' + RIGHT('000000'+ CONVERT(VARCHAR,@i),6) INSERT INTO T_Emp VALUES( @i,@name,1,0,Getdate() ) SET @i += 1 END GO | |
| UPDATE STATISTICS T_Emp IX_FlagGO | |
| DBCC SHOW_STATISTICS ('T_Emp', 'IX_Flag') WITH STATS_STREAM GO | |
| SET NOCOUNT ONGODECLARE @i int = 11DECLARE @name varchar(10) BEGIN TRANWHILE @i <= 1000000 BEGIN SET @i += 1 SET @name = 'Name' + RIGHT('000000'+ CONVERT(VARCHAR,@i),6) INSERT INTO T_Emp VALUES( @i,@name,2,1,Getdate() ) SET @i += 1END COMMIT TRANGO | |
| UPDATE STATISTICS T_Emp IX_Flag WITH FULLSCANGO | |
| DBCC SHOW_STATISTICS ('T_Emp', 'IX_Flag') WITH STATS |
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
| create table #SVer(ID int, Name sysname, Internal_Value int, Value nvarchar(512)) | |
| insert #SVer exec master.dbo.xp_msver | |
| declare @SmoRoot nvarchar(512) | |
| exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\Setup', N'SQLPath', @SmoRoot OUTPUT | |