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
require_relative './helpers/config_item_validation_helpers' | |
require 'trainer' | |
module Fastlane | |
module Actions | |
class ExportBitriseTestReportAction < Action | |
extend ConfigItemValidationHelpers | |
class Runner | |
attr_reader :name, :xcresult_path, :test_result_dir, :deploy_dir |
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 | |
# Raymond Edwards | |
# extract diagnostics folder from an xcresult. this script assumes jq is installed | |
# if Diagnostics/ already exists, xcresulttool will overwrite it | |
XCRESULT="${1}" | |
DIAGNOSTICS_ID=$(xcrun xcresulttool get --format json --path "${XCRESULT}" | jq -r '."actions"."_values"[0]."actionResult"."diagnosticsRef"."id"."_value"') |
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
// https://gist.github.com/saagarjha/ed701e3369639410b5d5303612964557 | |
#import "swizzler.h" | |
#import <Foundation/Foundation.h> | |
#import <cstddef> | |
#import <cstdlib> | |
#import <dlfcn.h> | |
#import <mach-o/dyld.h> | |
#import <mutex> | |
#import <string> | |
#import <tuple> |
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
// To compile: clang++ -arch x86_64 -arch arm64 -std=c++20 library_injector.cpp -lbsm -lEndpointSecurity -o library_injector, | |
// then codesign with com.apple.developer.endpoint-security.client and run the | |
// program as root. | |
#include <EndpointSecurity/EndpointSecurity.h> | |
#include <algorithm> | |
#include <bsm/libbsm.h> | |
#include <cstdint> | |
#include <cstdlib> | |
#include <cstring> |
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 cheerio from 'cheerio-without-node-native'; | |
const convertRequestBodyToFormUrlEncoded = (data) => { | |
const bodyKeys = Object.keys(data); | |
const str = []; | |
for (let i = 0; i < bodyKeys.length; i += 1) { | |
const thisKey = bodyKeys[i]; | |
const thisValue = data[thisKey]; | |
str.push(`${encodeURIComponent(thisKey)}=${encodeURIComponent(thisValue)}`); |
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
moved to https://github.com/rmndk/flac2mp3 |