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
# update_fastlane | |
default_platform(:ios) | |
platform :ios do | |
def build_appname( configuration, schema, export_method ) | |
build_app( | |
workspace: "appname.xcworkspace", | |
configuration: configuration, | |
scheme: schema, |
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
1- Generating a Private Key: | |
`openssl genrsa -aes256 -out private_key.pem 2048` | |
2- Generating a Public Key: | |
`openssl rsa -pubout -in private_key.pem -out public_key.pem` |
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
[ | |
@"accelerator", | |
@"airbag", | |
@"alarm", | |
@"alternator", | |
@"antenna", | |
@"armrest", | |
@"auto", | |
@"automobile", | |
@"axle", |
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
[ | |
@"accelerator", | |
@"airbag", | |
@"alarm", | |
@"alternator", | |
@"antenna", | |
@"armrest", | |
@"auto", | |
@"automobile", | |
@"axle", |
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
// | |
// HotspotHelper.swift | |
// Created by Pasca Alberto, IT on 03/11/2019. | |
// https://www.albertopasca.it/ | |
// | |
// MORE details on: | |
// https://www.albertopasca.it/whiletrue/connect-to-wifi-network-from-code-swift/ | |
// | |
import NetworkExtension |
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
// | |
// ViewController.swift | |
// NetworkTest | |
// | |
// Created by Kraig Spear on 10/10/17. | |
// Copyright © 2017 spearware. All rights reserved. | |
// | |
import UIKit | |
import NetworkExtension |
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
analyzer_rules: | |
- unused_import | |
- unused_private_declaration | |
opt_in_rules: | |
- array_init | |
- attributes | |
- closure_end_indentation | |
- closure_spacing | |
- collection_alignment | |
- contains_over_first_not_nil |
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
$ adb shell screencap -p /sdcard/screencap.png | |
$ adb pull /sdcard/screencap.png /Users/pippo/Desktop/test.png |
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
$ adb shell input tap x y |
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
$ /usr/sbin/screencapture | |
-r | |
-l$(osascript -e 'tell app "QuickTime Player" to id of window 1') | |
/Users/pippo/Desktop/test.png | |