A tab completion script that works for Bash. Relies on the BSD md5
command on Mac and md5sum
on Linux, so as long as you have one of those two commands, this should work.
$ gradle [TAB]
public abstract class OrientationLoggingActivity extends AppCompatActivity { | |
private OrientationEventListener orientationEventListener = null; | |
@Override | |
protected void onCreate(Bundle bundle) { | |
super.onCreate(bundle); | |
orientationEventListener = new OrientationEventListener(this) { |
org.gradle.debug=true |
#!/usr/bin/env ruby | |
# frozen_string_literal: true | |
require 'find' | |
def rename_files(pattern, new_name) | |
file_paths = [] | |
Find.find('.') do |path| | |
file_paths << path if path =~ /#{pattern}/ |
#!/bin/sh | |
if [ -z "$1" ]; then | |
echo "Please specify a project" | |
echo " e.g. show_lang.sh Polaris/Core" | |
exit 1 | |
fi | |
BASEDIR=$(dirname "$0") |
import android.os.Bundle | |
import android.os.Parcelable | |
import android.util.Log | |
import androidx.annotation.VisibleForTesting | |
import com.shopify.foundation.extensions.parceledSize | |
import com.shopify.foundation.util.BuildConfig | |
private const val BUNDLE_SIZE_WARNING_THRESHOLD = 100000 | |
private const val LOG_TAG = "BundleValidator" | |
private const val BUNDLE_TAG = "INSTANCE_ID" |