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
Module Module1 | |
Sub Main() | |
#Region "keys" | |
Dim consumerKey = "***" | |
Dim consumerSecret = "***" | |
Dim accessToken = "***" | |
Dim accessSecret = "***" | |
#End Region | |
Dim tokens = CoreTweet.Tokens.Create(consumerKey, consumerSecret, accessToken, accessSecret) |
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
{ | |
"ContentId": "TestId", | |
"IsMatch": true, | |
"MatchDetails": { | |
"AdvancedInfo": [], | |
"MatchFlags": [ | |
{ | |
"AdvancedInfo": [ | |
{ | |
"Key": "MatchId", |
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
{ | |
"DataRepresentation": "URL", | |
"Value": "https://wbintcvsstorage.blob.core.windows.net/matchedimages/img_130.jpg" | |
} |
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
Dim arduinos = From a In {"", "ー"} | |
From d In {"デ", "ド"} | |
From u In {"ィ", "ゥ", "ュ"} | |
From i In {"", "イ", "ィ"} | |
Select "ア" & a & "ル" & d & u & i & "ーノ" |
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
<httpRuntime maxQueryStringLength="10000" /> |
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
<system.webServer> | |
<security> | |
<requestFiltering> | |
<requestLimits maxQueryString="10000" /> | |
</requestFiltering> | |
</security> | |
</system.webServer> |
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
Module MainModule | |
Sub Main() | |
Dim path = IO.Path.Combine(Environment.ExpandEnvironmentVariables("%WEBROOT_PATH%"), "Default.html") | |
IO.File.WriteAllText(path, "<body>" & Now.ToString & "</body>", Text.Encoding.UTF8) | |
End Sub | |
End 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
.comment { | |
display:inline-block; | |
white-space:nowrap; | |
-webkit-animation-name:marquee; | |
-webkit-animation-timing-function:linear; | |
-webkit-animation-duration:10s; | |
-webkit-animation-iteration-count:infinite; | |
-moz-animation-name:marquee; | |
-moz-animation-timing-function:linear; | |
-moz-animation-duration:10s; |
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
static void Main(string[] args) | |
{ | |
var url = "http://example.jp/xml"; | |
var client = new WebClient() { Encoding = Encoding.UTF8 }; | |
var xml = client.DownloadString(url); | |
var d = XDocument.Parse(Sanitize(xml)); | |
} | |
private static string Sanitize(string xml) | |
{ |
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
Sub Main() | |
Dim url = "http://example.jp/xml" | |
Dim client = New WebClient With {.Encoding = Text.Encoding.UTF8} | |
Dim xml = client.DownloadString(url) | |
Dim d = XDocument.Parse(Sanitize(xml)) | |
End Sub | |
Private Function Sanitize(xml As String) As String | |
Dim sb = New Text.StringBuilder |