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
using System; | |
using System.Linq; | |
using System.Net; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace Blog_CSharpAsync | |
{ | |
class Program | |
{ |
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
using System; | |
using System.Diagnostics; | |
using System.Net; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
using System.Threading.Tasks; | |
[CompilerGenerated] | |
[StructLayout(LayoutKind.Auto)] | |
private struct <DownloadBingHomePageHTMLAsync>d__3 : <>t__IStateMachine | |
{ |
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
using System; | |
using System.Diagnostics; | |
using System.Drawing; | |
using System.IO; | |
using System.Net; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; | |
namespace AysncWinForms | |
{ |
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
$dir = New-Object System.IO.DirectoryInfo("Folder") | |
$folders = $dir.GetDirectories() | |
$folders | ForEach-Object { $_.Attributes = [System.IO.FileAttributes]::Directory } |
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 azure = require('azure'); | |
var http = require('http'); | |
var server = http.createServer(function(req, resp){ | |
var storageAccount = 'account'; | |
var storageKey = 'key'; | |
var tableServiceClient = azure.createTableService(storageAccount, storageKey, azure.ServiceClient.CLOUD_TABLE_HOST); | |
tableServiceClient.createTableIfNotExists("tasks", function (res, created) { |
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
<!doctype html> | |
<html> | |
<body> | |
<div> | |
@locals.person.FirstName | |
</div> | |
<div> |
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
<!doctype html> | |
<html> | |
<body> | |
<p>Hello world! Node is awesome, is it not?</p> | |
</body> | |
</html> |
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
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package myservice; | |
/** | |
* | |
* @author vcamaral | |
*/ |
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 net = require("net") | |
, fs = require("fs") | |
, filename = "messages.txt"; | |
var server = net.createServer(function(socket) { | |
console.log("== Client connected"); | |
socket.on("data", function(data) { | |
console.log("Client sent:", data.toString()); | |
socket.write("Your message has sent to the server!\n"); |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Security.Cryptography; | |
namespace License | |
{ | |
public class LicenseServiceImpl | |
{ |
OlderNewer