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/UIKit.h> | |
| #import <objc/runtime.h> | |
| @interface NSObject (MJGResponds) | |
| + (BOOL)mjg_hasImplementationForSelector:(SEL)selector searchUntilClass:(Class)cls; | |
| @end | |
| @implementation NSObject (MJGResponds) | |
| + (BOOL)mjg_hasImplementationForSelector:(SEL)selector searchUntilClass:(Class)cls { |
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
| desc "Deploy a new version to the App Store" | |
| lane :release do | |
| # 1.Creating Certificates and Provisioning Profiles | |
| cert | |
| sigh(force: true) | |
| # 2. | |
| #ensure_git_status_clean | |
| # 3.Creating the IPA file |
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
| extension Date { | |
| func add(_ component: Calendar.Component, value: Int) -> Date { | |
| return Calendar.current.date(byAdding: component, value: value, to: self)! | |
| } | |
| } | |
| @propertyWrapper | |
| struct BeginEndDate { |
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
| ROUND((RAND() * (max-min))+min) |
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
| #!/usr/bin/env php | |
| <?php | |
| function getContents($params) | |
| { | |
| [$self, $file, $startLine, $startColumn, $endLine, $endColumn] = $params; | |
| --$startLine; | |
| --$startColumn; | |
| --$endLine; | |
| --$endColumn; |
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
| #!/bin/sh | |
| ## | |
| # Install autoconf, automake and libtool smoothly on Mac OS X. | |
| # Newer versions of these libraries are available and may work better on OS X | |
| # | |
| # This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html | |
| # | |
| export build=~/devtools # or wherever you'd like to build |
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 | |
| public protocol Observer: Equatable { | |
| associatedtype EventType | |
| func listen(_ event: EventType) | |
| } | |
| public protocol Observable { | |
| associatedtype ObserverType: Observer | |
| associatedtype EventType |
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":1,"resource":"file:///Users/huge/Desktop/www/ezbuild.quasar.hardhat.node/express-ts/src/Sdk/NFT.ts","entries":[{"id":"s8uH.ts","timestamp":1651332354243}]} |
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 doGet(e) { | |
| //JSON.stringify(name) | |
| if(typeof e !== 'undefined') { | |
| var params = e.parameter; | |
| var name = params.name; | |
| var drinkIndex = params.drinkindex; | |
| var drink = params.drink; | |
| var drinkPrice = params.drinkprice; | |
| var sugar = params.sugar; | |
| var ice = params.ice; |
OlderNewer