I hereby claim:
- I am eytanbiala on github.
- I am eytan (https://keybase.io/eytan) on keybase.
- I have a public key ASC79tdMtjrcqWCsy7pm3Hh6G8WXB-FJ4puI-aHbIw91Cwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
// Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
// Licensed under MIT (http://opensource.org/licenses/MIT) | |
// | |
// You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
#import <objc/runtime.h> | |
#import <objc/message.h> | |
// Compile-time selector checks. |
#import <Foundation/Foundation.h> | |
@interface NSObject (Swizzle) | |
+ (void)swizzleInstanceSelector:(SEL)originalSelector | |
withNewSelector:(SEL)newSelector; | |
@end |
#import <Foundation/Foundation.h> | |
#import <MessageUI/MessageUI.h> | |
@interface NSURL (MailComposeViewController) | |
// Is the given request a mailto URL. | |
- (BOOL)isMailtoRequest; | |
@end | |
<?php | |
// get the post UID from the URL | |
$uid = param('post'); | |
if(!$uid) die(a::json(array( | |
'status' => 'error', | |
'msg' => 'The post could not be found', | |
))); |
import java.security.*; | |
public class Secure { | |
public static void main(String[] args) { | |
final String pass = "password"; | |
String encrypted = MD5(pass); | |
System.out.println("Encrypted password: " + encrypted); | |
} |
<?php | |
require_once "Mail.php"; | |
$from = "Sender <[email protected]>"; | |
$to = "Recipient <[email protected]>"; | |
$subject = "Hi!"; | |
$body = "Hi,\n\nHow are you?"; | |
$host = "imap.gmail.com"; | |
$username = "john.doe"; |
<?php | |
// get the post UID from the URL | |
$uid = param('post'); | |
if(!$uid) die(a::json(array( | |
'status' => 'error', | |
'msg' => 'The post could not be found', | |
))); |
.videoWrapper { | |
position: relative; | |
padding-bottom: 56.25%; | |
padding-top: 25px; | |
height: 0; | |
} | |
.videoWrapper iframe { | |
position: absolute; | |
top: 0; |