Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code.
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
| # This file contains the fastlane.tools configuration | |
| # You can find the documentation at https://docs.fastlane.tools | |
| # | |
| # For a list of all available actions, check out | |
| # | |
| # https://docs.fastlane.tools/actions | |
| # | |
| # For a list of all available plugins, check out | |
| # | |
| # https://docs.fastlane.tools/plugins/available-plugins |
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/zsh | |
| # Shell Script to create all relevant icons from an high resolution artwork | |
| if [ "x$1" != "x" -a -f "$1" ] ; then | |
| INPUT=$1 | |
| else | |
| INPUT="Artwork.png" | |
| fi | |
| if [ ! -f "$INPUT" ]; then |
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
| exec > /tmp/${PROJECT_NAME}_archive.log 2>&1 | |
| UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal | |
| if [ "true" == ${ALREADYINVOKED:-false} ] | |
| then | |
| echo "RECURSION: Detected, stopping" | |
| else | |
| export ALREADYINVOKED="true" |
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 PannableViewController: ViewController { | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| let panGesture = UIPanGestureRecognizer(target: self, action: #selector(panGesture(_:))) | |
| view.addGestureRecognizer(panGesture) | |
| } | |
| } |
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
| CREATE SEQUENCE public.global_id_seq; | |
| ALTER SEQUENCE public.global_id_seq OWNER TO postgres; | |
| CREATE OR REPLACE FUNCTION public.id_generator() | |
| RETURNS bigint | |
| LANGUAGE 'plpgsql' | |
| AS $BODY$ | |
| DECLARE | |
| our_epoch bigint := 1314220021721; | |
| seq_id bigint; |
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
| var mailAddress = "YOUR_EMAIL_ADDRSS"; | |
| var slackToken = "SLACK_TOKEN"; | |
| var searchMailQuery = 'SEARCH_QUERY'; // example: '[from:[email protected] YOUR_APP_NAME]'; | |
| var slackChannelId = "SLACK_CHANNEL_ID"; | |
| function getAttachment(message) { | |
| var subject = message.getSubject(); | |
| var body = message.getPlainBody(); | |
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
| xccov(1) xccov(1) | |
| NAME | |
| xccov - view Xcode coverage data in human-readable or machine-parseable format. | |
| SYNOPSIS | |
| xccov view [--only-targets | --files-for-target target_name | --functions-for-file name_or_path] |
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 | |
| extension String { | |
| subscript(index: Int) -> Character { | |
| return self[self.index(self.startIndex, offsetBy: index)] | |
| } | |
| } | |
| extension String { | |
| public func levenshtein(_ other: String) -> Int { |
NewerOlder