- Install homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"- Install XMLStarlet for xml parsing:
brew install xmlstarlet| --- | |
| format_version: 1.1.0 | |
| default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
| app: | |
| envs: | |
| - BITRISE_PROJECT_PATH: ios/pro_mobile.xcodeproj | |
| opts: | |
| is_expand: false | |
| - BITRISE_SCHEME: pro_mobile | |
| opts: |
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"brew install xmlstarlet| // | |
| // SnappCameraView.swift | |
| // EdgeDetection | |
| // | |
| // Created by er on 11/4/17. | |
| // Copyright (c) 2017 Erison Veshi | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights |
| // | |
| // DebugLogger.swift | |
| // | |
| // Created by Jonathan Cardasis. on 1/1/18. | |
| // Copyright ©2018 Jonathan Cardasis. All rights reserved. | |
| // | |
| #if DEBUG | |
| import Foundation |
| import os, sys | |
| import re | |
| import base64 | |
| import hashlib | |
| import plistlib | |
| from binascii import unhexlify | |
| class FVPasswordManager(object): | |
| PL_SALTED_HASH_ARRAY_KEY = 'SALTED-SHA512-PBKDF2' |
| If you've got something like this: | |
| file was built for arm64 which is not the architecture being linked (x86_64): | |
| Than this gist is for you. | |
| Let's say you have already developed the framework itself and just want to build the binary | |
| and distribute it through the Cocoapods. | |
| 1. Make sure your framework "Deployment Target" is equal to all the dependencies from your podspec file. |
| // original from: http://mashe.hawksey.info/2014/07/google-sheets-as-a-database-insert-with-apps-script-using-postget-methods-with-ajax-example/ | |
| // original gist: https://gist.github.com/willpatera/ee41ae374d3c9839c2d6 | |
| // NOTE: Uses es5 javascript | |
| // handle method: get | |
| function doGet(e){ | |
| return handleResponse(e); | |
| } | |
| // handles method: post | |
| function doPost(e){ |
| #!/bin/bash | |
| # Compresses and optimizes png image sizes for a given file or directory. | |
| # @author: Jonathan Cardasis | |
| CHECK_MARK="\033[0;32m\xE2\x9C\x94\033[0m" | |
| PNGQUANT_BINARY_URL="https://pngquant.org/pngquant.tar.bz2" | |
| optimize() { | |
| ORIGINAL_PATH="$1" | |
| NEW_PATH="$ORIGINAL_PATH.new" |
| /** | |
| * Metro configuration for React Native | |
| * https://github.com/facebook/react-native | |
| * | |
| * @format | |
| */ | |
| const { | |
| getSymLinkedModules, | |
| getBlacklistedModulesForAlternateRoot, | |
| getExtraModulesForAlternateRoot, |
Go to the Resources tab and in the Add-ons section type Heroku Redis in the search field. It will appear in the search list. Click on it and a modal will show up to install it, click in the Provision button to start the installation.