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
// Note: this behavior requires deep linking to be enabled on your React Native app | |
// https://reactnative.dev/docs/linking | |
type UseDeepLinkResult = { | |
deepLink: string | null; | |
clearDeepLink: () => void; | |
}; | |
/** Captures deep links that return true when passed through `canHandleLink` */ | |
export function useDeepLink(canHandleLink: (url: string | null) => boolean): UseDeepLinkResult { |
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 | |
set -e | |
####################### | |
# Print command usage # | |
####################### | |
if [ -z "$1" ]; | |
then | |
echo "Usage: ./svg-to-favicon.sh <path-to-svg> <destination-directory>" |
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 java.lang.reflect.InvocationTargetException; | |
import java.util.HashSet; | |
import java.util.List; | |
import java.util.Set; | |
import java.util.stream.Collectors; | |
import ch.qos.logback.classic.spi.LoggingEvent; | |
import ch.qos.logback.core.filter.Filter; | |
import ch.qos.logback.core.spi.FilterReply; |
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
-- This is the DDL required to persist Quartz jobs to the database | |
-- Drop tables if necessary | |
DROP TABLE IF EXISTS QRTZ_FIRED_TRIGGERS; | |
DROP TABLE IF EXISTS QRTZ_PAUSED_TRIGGER_GRPS; | |
DROP TABLE IF EXISTS QRTZ_SCHEDULER_STATE; | |
DROP TABLE IF EXISTS QRTZ_LOCKS; | |
DROP TABLE IF EXISTS QRTZ_SIMPLE_TRIGGERS; | |
DROP TABLE IF EXISTS QRTZ_SIMPROP_TRIGGERS; | |
DROP TABLE IF EXISTS QRTZ_CRON_TRIGGERS; |