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
namespace ConsoleApplication1 | |
{ | |
public class Customer | |
{ | |
public int Zipcode { get; set; } | |
} | |
} |
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.IO; | |
using System.Threading.Tasks; | |
using MonoTouch.UIKit; | |
using MonoTouch.QuickLook; | |
using System.Net; | |
using MonoTouch.Foundation; | |
using System.Security.Cryptography; | |
using System.Text; |
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
SELECT x.* | |
FROM POSTS x | |
JOIN (SELECT p.postid, | |
SUM(v.vote) AS points | |
FROM POSTS p | |
JOIN VOTES v ON v.postid = p.postid | |
GROUP BY p.postid) y ON y.postid = x.postid | |
ORDER BY (y.points - 1)/POW((((UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(x.timestamp))/3600)+2, 1.5) DESC | |
LIMIT 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
@implementation RJViewController { | |
__weak IBOutlet UIWebView *_webView; | |
NSURLConnection *_urlConnection; | |
NSMutableData *_receivedData; | |
} | |
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
NSString *urlString = @"http://google.com"; |
NewerOlder