Skip to content

Instantly share code, notes, and snippets.

View sco's full-sized avatar

Scott Raymond sco

View GitHub Profile
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<h1>test</h1>
</body>
</html>
- (void)importVideo
{
NSString *path = [[NSBundle mainBundle] pathForResource:@"sample" ofType:@"m4v"];
UISaveVideoAtPathToSavedPhotosAlbum(path, self, @selector(video:didFinishSavingWithError:contextInfo:), nil);
}
- (void)video:(NSString *)videoPath didFinishSavingWithError:(NSError *)error contextInfo:(void *)contextInfo
{
if (error != nil) {
NSLog(@"Error: %@", error);
I am +sco on OneName. #verifymyonename

Keybase proof

I hereby claim:

  • I am sco on github.
  • I am sco (https://keybase.io/sco) on keybase.
  • I have a public key whose fingerprint is CE48 F2FE C915 5969 54AF 683D 3D11 FC7E E1D8 B758

To claim this, I am signing this object: