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
PATH=$PATH:/opt/homebrew/bin | |
# This script recognize the most recent xcresult file and copy to the clipboard a command that can be executed right away in the terminal to extract attachment from it. | |
# Create logs folder if not already present | |
logsFolder=${PROJECT_DIR}/Scripts/Logs | |
mkdir -p ${PROJECT_DIR}/Scripts/Logs | |
# Create log file in the Logs folder | |
myNameWithExtension=$(basename "$0") |
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
extension UITextField { | |
private struct FKFieldPatterns { | |
static var pattern = "pattern" | |
static var replacementChar = "replacementChar" | |
static var allowNumbers = "allowNumbers" | |
static var allowText = "allowText" | |
} | |
private var pattern : 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
// | |
// ALData.h | |
// AL | |
// | |
// Created by Andrea Lufino on 09/05/12. | |
// Copyright 2012 Andrea Lufino. All rights reserved. | |
#import <Foundation/Foundation.h> | |
#import <SystemConfiguration/SystemConfiguration.h> | |
#import <sys/socket.h> |
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
// | |
// SWPUtility.h | |
// | |
// | |
// Created by Andrea Lufino on 06/02/13. | |
// Copyright 2013 Andrea Lufino. All rights reserved. | |
#import <Foundation/Foundation.h> | |
@interface SWPUtility : NSObject |