One file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {
/** | |
* Custom Scroll listener for RecyclerView. | |
* Based on implementation https://gist.github.com/ssinss/e06f12ef66c51252563e | |
*/ | |
public abstract class EndlessRecyclerOnScrollListener extends RecyclerView.OnScrollListener { | |
public static String TAG = "EndlessScrollListener"; | |
private int previousTotal = 0; // The total number of items in the dataset after the last load | |
private boolean loading = true; // True if we are still waiting for the last set of data to load. | |
private int visibleThreshold = 5; // The minimum amount of items to have below your current scroll position before loading more. |
1. Open Terminal | |
2. cd to your Xcode project | |
3. Execute the following when inside your target project: | |
find . -name "*.swift" -print0 | xargs -0 wc -l |
# Close Xcode & the iOS Simulator | |
# http://stackoverflow.com/a/30940055 | |
# Remove any old runtimes from this directory. | |
cd /Library/Developer/CoreSimulator/Profiles/Runtimes | |
# e.g. | |
sudo rm -rf iOS\ 8.1.simruntime | |
# http://stackoverflow.com/a/11790983 | |
# Remove the download receipts for simulators you don't need anymore. |
One file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="Apitoy" default="full-build"> | |
<!-- By default, we assume all tools to be on the $PATH --> | |
<property name="pdepend" value="/home/jenkins/vendor/bin/pdepend"/> | |
<property name="phpcpd" value="/home/jenkins/vendor/bin/phpcpd"/> | |
<property name="phpcs" value="/home/jenkins/vendor/bin/phpcs"/> | |
<property name="phploc" value="/home/jenkins/vendor/bin/phploc"/> | |
<property name="phpmd" value="/home/jenkins/vendor/bin/phpmd"/> | |
<property name="phpunit" value="/home/jenkins/vendor/bin/phpunit"/> |
SELECT pods.name, stats_metrics.download_total, stats_metrics.download_week, stats_metrics.app_total, stats_metrics.app_week FROM stats_metrics JOIN pods ON stats_metrics.pod_id = pods.id ORDER BY app_total DESC LIMIT 300; |
module Fastlane | |
module Actions | |
class AppNameAction < Action | |
def self.run(params) | |
require 'plist' | |
identifier_key = 'CFBundleDisplayName' | |
folder = Dir['*.xcodeproj'].first | |
info_plist_path = params[:plist_path] | |
raise "Couldn't find info plist file at path '#{params[:plist_path]}'".red unless File.exist?(info_plist_path) | |
plist = Plist.parse_xml(info_plist_path) |
import android.app.Activity; | |
import android.app.Dialog; | |
import android.content.DialogInterface; | |
import android.os.Bundle; | |
import android.support.annotation.NonNull; | |
import android.support.v4.app.DialogFragment; | |
import android.support.v7.app.AlertDialog; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.widget.Button; |
package im.ene.lab.android.widgets; | |
import android.content.Context; | |
import android.graphics.PorterDuff; | |
import android.graphics.drawable.Drawable; | |
import android.os.Build; | |
import android.support.annotation.NonNull; | |
import android.support.annotation.Nullable; | |
import android.support.design.widget.TabLayout; | |
import android.util.AttributeSet; |
#!/bin/bash | |
echo "=== List of available, **shared** Schemes ===" | |
set -x | |
# if you use a Workspace (.xcworkspace) file | |
xcodebuild -workspace $BITRISE_PROJECT_PATH -list | |
# or if you use a Project file (.xcodeproj) instead | |
xcodebuild -project $BITRISE_PROJECT_PATH -list | |
set +x | |
echo "=============================================" |