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
matches: | |
- trigger: ".> " | |
replace: "-> " | |
- trigger: "..> " | |
replace: "=> " | |
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
# espanso configuration file | |
# For a complete introduction, visit the official docs at: https://espanso.org/docs/ | |
# You can use this file to define the global configuration options for espanso. | |
# These are the parameters that will be used by default on every application, | |
# but you can also override them on a per-application basis. | |
# To make customization easier, this file contains some of the commonly used | |
# parameters. Feel free to uncomment and tune them to fit your needs! |
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
Step 1* | |
mobile number form* | |
submit -> verify mobile number | |
verify mobile number | |
api error -> mobile number error | |
done -> Step 2 | |
mobile number error | |
try again -> Step 1 | |
Step 2 |
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 * as React from "react"; | |
import { Text, View } from "react-native"; | |
import { NavigationScreenConfigProps, NavigationScreenProps } from "react-navigation"; | |
type Params = { title: string }; | |
type DemoScreenProps = NavigationScreenConfigProps; | |
class DemoScreen extends React.PureComponent<DemoScreenProps> { | |
public static navigationOptions = ({ navigation }: NavigationScreenProps<Params>) => ({ | |
title: navigation.state.params.title, |
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 { | |
globalRegistry, | |
WebGLTextureLoaderSyncHashCache, | |
} from "webgltexture-loader"; | |
export interface ArrayBufferInput { | |
data: ArrayBuffer; | |
hash: string; | |
} |
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 | |
#simple script to downsize @2x.* images to maxWH 1024 in one folder | |
## create the directory to keep the lowres files | |
mkdir lowres | |
## downsize all images with @2x in the filename | |
sips -Z 1024 *@2x* --out lowres | |
## switch into the directory where the lowres files are stored |
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 | |
# clear the terminal | |
clear | |
# define some colors | |
txtred=$(tput setaf 1) | |
txtgreen=$(tput setaf 2) | |
txtrst=$(tput sgr0) |