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
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
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
{ | |
"title": "Change rk61 Keyboard escape behavior", | |
"rules": [ | |
{ | |
"description": "Change left option+escape to escape", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "escape", | |
"modifiers": { |
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
{ | |
"title": "Change rk61 Keyboard escape behavior", | |
"rules": [ | |
{ | |
"description": "Change left option+escape to escape - 2", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "escape", | |
"modifiers": { |
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
{ | |
"title": "Change modifiers to arrows", | |
"rules": [ | |
{ | |
"description": "Change right_shift to top_arrow if pressed alone", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_shift", |
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 { useWindowDimensions } from 'react-native' | |
import { Gesture } from 'react-native-gesture-handler' | |
import Animated, { | |
Extrapolation, | |
WithSpringConfig, | |
interpolate, | |
scrollTo, | |
useAnimatedRef, | |
useAnimatedScrollHandler, | |
useAnimatedStyle, |
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 React, { useRef, useEffect } from "react"; | |
import type { ComponentType } from "react"; | |
export function withLightboxEffect(Component: ComponentType): ComponentType { | |
return (props) => { | |
const ref = useRef<HTMLDivElement | null>(null); | |
useEffect(() => { | |
// Function to open the clicked image in a lightbox with a fade-in transition | |
const openLightbox = (imgSrc: string) => { |
OlderNewer