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
| <html> | |
| <body> | |
| <template id="nameTagTemplate"> | |
| <style> | |
| .outer { | |
| border: 2px solid pink; | |
| border-radius: 1em; | |
| font-size: 20pt; |
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
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var grabby = new Grabby(); | |
| string output = grabby.Grab("http://www.dotnetnerd.dk/cv"); | |
| Console.WriteLine(output); | |
| File.WriteAllText("c:\\test.html", output); | |
| } |
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
| /* Init */ | |
| string connectionString = "Endpoint=sb://xxx.servicebus.windows.net/;SharedSecretIssuer=owner;SharedSecretValue=xxx";//CloudConfigurationManager.GetSetting("Microsoft.ServiceBus.ConnectionString"); | |
| var namespaceManager = NamespaceManager.CreateFromConnectionString(connectionString); | |
| /* Setup */ | |
| if (!namespaceManager.TopicExists("TestTopic")) |
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
| interface ITypeaheadArgs | |
| { | |
| minChars?: number, | |
| onSelect?: () => void | |
| } | |
| async function typeahead( | |
| field: HTMLInputElement, | |
| search: (text: string) => Promise<string[]>, | |
| args: ITypeaheadArgs) { |
OlderNewer