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
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); | |
request.Method = "POST"; | |
var encodedBody = UTF8.GetBytes(postBody); | |
request.ContentLength = encodedBody.length; | |
var requestStream = request.GetRequestStream(); | |
try |
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
// | |
// ManagedObjectContext.h | |
// | |
// Created by Amos, Grant | |
// | |
#import <Foundation/Foundation.h> | |
@interface ManagedObjectContext : NSObject |
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
import android.content.Context; | |
import android.util.AttributeSet; | |
import android.widget.ImageView; | |
/** | |
* Created by granta on 2/21/14. | |
*/ | |
public class DefaultImageView extends ImageView { | |
private int mCachedResourceId = 0; |
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> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.29.1"></script> | |
<style type="text/css"> | |
body { | |
background: #000; | |
} |