Create new .conf file in /usr/lib/tmpfiles.d with following
d /var/run/haproxy 0755 haproxy haproxy - -
netstat -ntpl | grep java | awk '{print $7}' | sed -E 's/([\d]+?)\/(.*)/\1/' | xargs kill -9 |
import React from 'react'; | |
import {MasterLayout} from 'components/layouts'; | |
import {NewsDetail} from 'components/news'; | |
import title from 'constants/TitlePages.js'; | |
import { asyncConnect } from 'redux-connect'; | |
import CONFIG from 'base/constants/config'; | |
import {Articles} from 'api'; | |
@asyncConnect([{ |
sudo systemctl stop [servicename] | |
sudo systemctl disable [servicename] | |
#rm /etc/systemd/system/[servicename] | |
#rm /etc/systemd/system/[servicename] symlinks that might be related | |
sudo systemctl daemon-reload | |
sudo systemctl reset-failed |
keytool -genkey -alias quangnam -keyalg RSA -keysize 2048 -keystore quangnam.jks -dname "CN=localhost,OU=Home,O=Home,L=SL,S=WS,C=LK" -storepass quangnam -keypass quangnam |
# Remove all the Java related packages (Sun, Oracle, OpenJDK, IcedTea plugins, GIJ): | |
dpkg-query -W -f='${binary:Package}\n' | grep -E -e '^(ia32-)?(sun|oracle)-java' -e '^openjdk-' -e '^icedtea' -e '^(default|gcj)-j(re|dk)' -e '^gcj-(.*)-j(re|dk)' -e '^java-common' | xargs sudo apt-get -y remove | |
sudo apt-get -y autoremove | |
# Purge config files (careful. This command removed libsgutils2-2 and virtualbox config files too): | |
dpkg -l | grep ^rc | awk '{print($2)}' | xargs sudo apt-get -y purge | |
# Remove Java config and cache directory: | |
sudo bash -c 'ls -d /home/*/.java' | xargs sudo rm -rf |
service cloud.firestore { | |
match /databases/{database}/documents { | |
match /todos/{document=**} { | |
allow read, write: if true; | |
} | |
} | |
} |
<Image style={styles.bgContainer} resizeMode='cover' source={require('./img/bg.png')} /> | |
const styles = StyleSheet.create({ bgContainer: { flex:1, width: null, height: null } }); |