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
defaults write com.apple.finder AppleShowAllFiles -boolean true | |
killAll Finder |
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
adb install -r /Users/path/is/here/app.apk |
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
keytool -genkey -v -keyalg RSA -keystore /Users/kuno/path/is/here/[name].keystore -alias [appname] -validity 10000 |
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 | |
class InstaStories: NSObject { | |
private let urlScheme = URL(string: "instagram-stories://share")! | |
enum optionsKey: String { | |
case StickerImage = "com.instagram.sharedSticker.stickerImage" | |
case bgImage = "com.instagram.sharedSticker.backgroundImage" | |
case bgVideo = "com.instagram.sharedSticker.backgroundVideo" |
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 Metal | |
import MetalKit | |
class ImageProcessor: NSObject { | |
//ハードウェアとしてのGPUを抽象化したプロトコル | |
lazy var device: MTLDevice! = MTLCreateSystemDefaultDevice() | |
//コマンドバッファの実行順を管理するキュー | |
var commandQueue: MTLCommandQueue! |