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 <Foundation/Foundation.h> | |
| #import <ImageIO/ImageIO.h> | |
| #import <UIKit/UIKit.h> | |
| #include "../libwebp/src/webp/types.h" | |
| #include "../libwebp/src/webp/decode.h" | |
| #include "../libwebp/src/webp/demux.h" | |
| #import "WebPImageSource.h" |
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 UIKit | |
| extension UITraitCollection { | |
| public var compatible: UITraitCollectionCompatible { | |
| return UITraitCollectionCompatible(self) | |
| } | |
| } | |
| public struct UITraitCollectionCompatible { | |
| private let traitCollection: UITraitCollection |
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 UIKit | |
| extension UIResponder { | |
| public func find<T: UIResponder>() -> T? { | |
| if let nextResponder = self.next { | |
| if let nextResponder = nextResponder as? T { | |
| return nextResponder | |
| } else { | |
| return nextResponder.find() | |
| } |
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
| Pod::Spec.new do |s| | |
| s.name = "UrlEncodedForm" | |
| s.version = "1.0.5" | |
| s.summary = "Parse and serialize url-encoded form data with Codable support." | |
| s.license = { :type => 'MIT', :file => 'LICENSE' } | |
| s.homepage = "https://github.com/vapor/url-encoded-form" | |
| s.author = { "vapor" => "github[at]vapor.codes" } | |
| s.source = { :git => "https://github.com/vapor/url-encoded-form.git", :tag => "1.0.5" } | |
| s.platform = :ios, '8.0' | |
| s.requires_arc = true |
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
| version: '3' | |
| services: | |
| nginx: | |
| image: nginx:alpine | |
| container_name: nginx | |
| ports: | |
| - "80:80" | |
| volumes: | |
| - "./conf.d:/etc/nginx/conf.d" | |
| depends_on: |
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.ComponentModel; | |
| using System.Runtime.InteropServices; | |
| using System.Text; | |
| namespace Mntone.Sample | |
| { | |
| internal enum DeviceClassFlags : uint | |
| { | |
| /// <summary> |
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
| obs = obslua | |
| source_name = "" | |
| tick = 1000 | |
| last_text = "" | |
| format = "" | |
| activated = false | |
| local s_unit = 1000 * 1000 * 1000 -- [ns] |
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
| 'use strict'; | |
| // OAuth1認証用インスタンス | |
| var twitter = TwitterWebService.getInstance( | |
| 'consumer_key', | |
| 'consumer_secret' | |
| ); | |
| //OAuth1ライブラリを導入したうえで、getServiceを上書き | |
| twitter.getService = function() { |
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
| #pragma once | |
| template<typename T> | |
| class objc_ptr { | |
| protected: | |
| T *ptr; | |
| public: | |
| inline objc_ptr() : ptr(nil) {} | |
| inline explicit objc_ptr(T *p) : ptr(p) {if (ptr) [ptr retain];} |
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
| ; Function compile flags: /Ogtpy | |
| ; File | |
| ; COMDAT decompress_r10l | |
| _TEXT SEGMENT | |
| input$ = 32 | |
| in_linesize$ = 40 | |
| start_y$ = 48 | |
| end_y$ = 56 | |
| output$ = 64 | |
| out_linesize$ = 72 |