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 | |
# this script clear logs in Linux (made in CentOS) | |
cd /var/log | |
truncate -s 0 /var/log/*log | |
find . -name "*.gz" -type f -delete | |
find . -name "*.0" -type f -delete | |
find . -name "*.1" -type f -delete | |
find . -name "*.log.*" -type f -delete |
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 MaskedView from '@react-native-masked-view/masked-view'; | |
import React, { useState, useEffect, useRef, useMemo } from 'react'; | |
import { | |
Animated, | |
Dimensions, | |
Easing, | |
StyleSheet, | |
View, | |
} from 'react-native'; | |
import { LinearGradient } from 'expo-linear-gradient'; |