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/bash | |
# Continuous ADB Scroll Down Script with Speed Control | |
# Continuously swipes down a fixed distance until manually stopped (Ctrl+C). | |
# An optional speed multiplier can be provided as an argument. | |
# Usage: ./adb_scroll.sh [SPEED_MULTIPLIER] | |
# | |
# Arguments: | |
# SPEED_MULTIPLIER: Optional. Multiplier for swipe speed. Higher is faster (shorter duration). Default: 1 | |
# |
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/bash | |
# =============== CONFIGURATION =============== | |
APP_PACKAGE="com.expensify.chat.dev" | |
LOG_FILE="performance_log.csv" | |
# Test parameters | |
NUM_SCROLLS=65 # Number of regular scrolls DOWN | |
NUM_FAST_UP=25 # Number of rapid scrolls UP | |
NUM_FAST_DOWN=25 # Number of rapid scrolls DOWN |
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 React, { useState, useRef } from 'react'; | |
import { StyleSheet, View, Text, Button } from 'react-native'; | |
import FlatList from '@components/FlatList/MVCPFlatList' | |
function App() { | |
const dat = generatePosts(5000) | |
const [data, setData] = useState(dat.slice(2000, 2100)); | |
const loadNewerChats = () => { |
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
/** | |
* Simply compares two string version values. | |
* | |
* Example: | |
* versionCompare('1.1', '1.2') => -1 | |
* versionCompare('1.1', '1.1') => 0 | |
* versionCompare('1.2', '1.1') => 1 | |
* versionCompare('2.23.3', '2.22.3') => 1 | |
* | |
* Returns: |
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
Init-work |
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 React, { | |
useRef, | |
useMemo, | |
useState, | |
useCallback, | |
useEffect, | |
} from 'react'; | |
import { View, StyleSheet, Dimensions } from 'react-native'; | |
import { | |
PanGestureHandler, |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/apiko252/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
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
{"lastUpload":"2019-03-15T13:14:13.486Z","extensionVersion":"v3.2.7"} |