Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<? | |
if (!defined('RANDOM_COMPAT_READ_BUFFER')) { | |
define('RANDOM_COMPAT_READ_BUFFER', 8); | |
} | |
function random_bytes($bytes) | |
{ | |
static $fp = null; | |
/** |
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
#include <mach/mach_time.h> | |
NSURLSessionDataTask *task; | |
void(^doFetch)(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error); | |
NSArray *smallImages = @[@"https://s.yimg.com/av/curveball/ads/pr/RESIZE/82x82/1342c899c7055c754f17a7e2d948330a.jpeg", | |
@"https://s.yimg.com/av/curveball/ads/pr/RESIZE/82x82/3c549674c2851a410348412ea45c2eab.jpeg", | |
@"https://s.yimg.com/av/curveball/ads/pr/RESIZE/82x82/85f1c40fe33d2234ec7d5c8bf01e3a25.jpeg", | |
@"https://s.yimg.com/av/curveball/ads/pr/RESIZE/82x82/eaa3b450578344d79f1a5ebec9dfdb70.jpeg", |
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
[{ | |
"relation": [ | |
"delegate_permission/common.handle_all_urls" | |
], | |
"target": { | |
"namespace": "android_app", | |
"package_name": "com.yahoo.mobile.client.android.finance", | |
"sha256_cert_fingerprints": [ | |
"D3:F1:FB:1B:2C:81:E0:96:E3:F5:80:9A:50:3A:FD:A0:CF:AF:56:B9:D3:9D:ED:C6:56:EE:26:60:AC:EF:61:4C" | |
] |
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
public class UserAgent { | |
public static let userAgent: String? = { | |
guard let info = Bundle.main.infoDictionary, | |
let appNameRaw = info["CFBundleDisplayName"] ?? info[kCFBundleIdentifierKey as String], | |
let appVersionRaw = info[kCFBundleVersionKey as String], | |
let appName = appNameRaw as? String, | |
let appVersion = appVersionRaw as? String | |
else { return nil } | |
#if canImport(UIKit) |
OlderNewer