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
// SPDX-License-Identifier: MIT | |
pragma solidity >=0.8.0; | |
import "forge-std/Test.sol"; | |
import {ERC721} from "solmate/tokens/ERC721.sol"; | |
import {ECDSA} from "openzeppelin/contracts/utils/cryptography/ECDSA.sol"; | |
contract ERC721AirdropWithSign is ERC721 { | |
address public signer; |
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
#!/bin/bash | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Gas to USD | |
# @raycast.mode compact | |
# Optional parameters: | |
# @raycast.icon images/ethereum-logo.png | |
# @raycast.argument1 { "type": "text", "placeholder": "Gas" } |
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
Because this is class method, `new` reserved by Obj-C word and `RatingsFlow` is part of class name. |
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
ios-channels.ru | |
digest.mbltdev.ru | |
bit.ly/podlodka_podcast | |
vk.com/iosdevcourse | |
iosgoodreads.ru | |
vk.com/iosninja | |
peerlab.community | |
cocoadevelopers.club |
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
CocoaHeads Russia, Moscow, March 2017 | |
Пожалуйста указывайте авторство | |
Все вопросы, жалобы и уточнения можно на писать мне в одной из социальных сетей: | |
https://vk.com/azimin | |
https://twitter.com/ziminalex | |
https://facebook.com/AllZimin | |
#1 Что неправда про метод `viewDidUnload`? |
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
CocoaHeads Russia, Moscow, January 2017 | |
Пожалуйста указывайте авторство | |
Все вопросы, жалобы и уточнения можно на писать мне в одной из социальных сетей: | |
https://vk.com/azimin | |
https://twitter.com/ziminalex | |
https://facebook.com/AllZimin | |
#1 В какой группе хотя бы один параметр не являются валидным для #if os()? |
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
property fileToSearch : "UCSongTrainerRenderingController.h" | |
property finalPath : "" | |
set finalPath to do shell script ("mdfind -name " & fileToSearch & " -onlyin /") | |
set finalPath to replace_chars(finalPath, "/Users/azimin/iOSDeveloper/Uberchord-iOS", "$(PROJECT_DIR)") | |
set finalPath to replace_chars(finalPath, "/" & fileToSearch, "") | |
set finalPath to replace_chars(finalPath, " ", "\\ ") | |
set the clipboard to finalPath | |
on replace_chars(this_text, search_string, replacement_string) |
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
CocoaHeads Russia December Quiz | |
Пожалуйста указывайте авторство | |
Все вопросы, жалобы и уточнения можно на писать мне в одной из социальных сетей: | |
https://vk.com/azimin | |
https://twitter.com/ziminalex | |
https://facebook.com/AllZimin | |
Ответы в конце файла. |
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
import UIKit | |
class AZTextFrameAttributes: NSObject { | |
// MARK: - Properties | |
fileprivate(set) var width: CGFloat = 0 | |
fileprivate(set) var string: String? | |
fileprivate(set) var attributedString: NSAttributedString? | |
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
#!/bin/sh | |
# | |
# An example hook script to prepare the commit log message. | |
# Called by "git commit" with the name of the file that has the | |
# commit message, followed by the description of the commit | |
# message's source. The hook's purpose is to edit the commit | |
# message file. If the hook fails with a non-zero status, | |
# the commit is aborted. | |
# |
NewerOlder