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, { ReactChild } from 'react'; | |
| import { Database } from '@nozbe/watermelondb'; | |
| import { getWatermelon } from 'app/utils/DBWatermelonOld/DBWatermelonOld'; | |
| import DatabaseProvider from '@nozbe/watermelondb/DatabaseProvider'; | |
| const WatermelonProvider = (props) => { | |
| const watermelonRef = React.useRef(); | |
| const [database, setDatabase] = React.useState(); | |
| if (!watermelonRef.current) { |
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 | |
| # Generate filename with timestamp | |
| filename="Android Screenshot $(date +"%Y-%m-%d at %I.%M.%S %p").png" | |
| desktop_path="$HOME/Desktop/$filename" | |
| # Take screenshot using adb and save to Desktop | |
| adb exec-out screencap -p > "$desktop_path" | |
| # Check if the screenshot was successful |
OlderNewer