This file contains 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 result = await WebAuth(navigationUrl, redirectUrl); | |
if(result.ResponseStatus != WebAuthenticationStatus.Success) | |
return; | |
var response = result.ResponseData; | |
... |
This file contains 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 | |
{ | |
public static void Main(string[] args) | |
{ | |
string path1 = args[0]; | |
string path2 = args[1]; | |
SyncFile(path1, path2, null, FileSyncOptions.None); | |
} |
This file contains 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) | |
{ | |
Thread.Sleep(1000); | |
Console.WriteLine(DateTime.Now.ToString()); | |
Console.WriteLine(Class1.TimeStamp.ToString()); | |
Thread.Sleep(1000); |
This file contains 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
.namespace ConsoleApplication43 | |
{ | |
.class private auto ansi beforefieldinit ConsoleApplication43.Class1 | |
extends [mscorlib]System.Object | |
{ | |
// Fields | |
.field public static valuetype [mscorlib]System.DateTime TimeStamp | |
// Methods | |
.method public hidebysig specialname rtspecialname |
This file contains 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 count = 1000000000; | |
Console.WriteLine(DoTest(count, () => | |
{ | |
var timestamp = Class1.TimeStamp; | |
}).ToString()); |
This file contains 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
print "'a' and 'b': ", 'a' and 'b' | |
print "'' and 'b': ", '' and 'b' | |
print "'a' and '': ", 'a' and '' | |
print "'a' and 'b' and 'c': ", 'a' and 'b' and 'c' | |
print "" | |
print "'a' or 'b': ", 'a' or 'b' | |
print "'' or 'b': ", '' or 'b' | |
print "'a' or '': ", 'a' or '' |
This file contains 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.Diagnostics; | |
using System.Runtime.Caching; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains 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
... | |
private void btnLogin_Click(object sender, EventArgs e) | |
{ | |
if (!String.IsNullOrEmpty(Properties.Settings.Default.SECRET) && !String.IsNullOrEmpty(Properties.Settings.Default.TOKEN)) | |
{ | |
m_DropNetClient.UserLogin = new UserLogin() | |
{ | |
Secret = Properties.Settings.Default.SECRET, | |
Token = Properties.Settings.Default.TOKEN | |
}; |
This file contains 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> | |
<input x-webkit-speech> | |
</body> | |
</html> |
This file contains 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
from google.appengine.api import users | |
from google.appengine.api import mail | |
import webapp2 | |
class MainHandler(webapp2.RequestHandler): | |
def get(self): | |
sender = self.request.get("sender") | |
receiver = self.request.get("receiver") | |
subject = self.request.get("subject") | |
message = self.request.get("message") |
OlderNewer