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
if(process.env.NODE_ENV) { | |
const server = use('http').createServer().listen(9595, () => console.log('Server is listening...')); | |
const io = use('socket.io')(server) | |
io.on('connection', function (socket) { | |
console.log('new connection',socket.id) | |
socket.on('draw',(data)=>{ | |
socket.broadcast.emit('drawing',data); | |
}) | |
}) |
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
\l | |
\c vcorona | |
select * from auth_user; |
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
proc = subprocess.Popen(['python3', 'manage.py', 'process_tasks'], | |
stdout=subprocess.PIPE, | |
stderr=subprocess.STDOUT) |
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
location /blog { | |
proxy_pass http://project-my-wordpress-app:80; | |
} |
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
v=DKIM1; t=s; h=sha256; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDGr49NF15Bs4vAxRU/xlOMqgMrXCSROODipMSKSGHC/sfoHkDlIpCoOmtyQj+UWAH1kQPuwWaL+vb1b8Ro8TRAK5TQFdCiDH/XBgT9GhKd9wmA/IVWRaQ5UtPIS0tsUPcEbNRymXTuTzcTRoIT4bX7AOcdUkv42tO0/Z3c/6hTIwIDAQAB; |
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
liara login --email [email protected] --password 'my-secret' |
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
location / { | |
index index.html index.htm; | |
try_files $uri.html $uri $uri/ =404; | |
} |
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
v=DKIM1; t=s; h=sha256; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC/a9jjkrMOk9P8RvaVJ4/Q4LkC+FpOeMEp4lPytEh9SLaxL8cr5dS8nGtG4JCWpKPMBZp/jZFdOiQdXdnDAoa5291SBVUI37AHCLdF/MFep5hlTubHxvswMwhHIl6HgLgNfOpHfMh1QNhnJI4uuRKgCeRhoMQgFLVfHpvbOYKGpQIDAQAB; |
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
v=DKIM1; t=s; h=sha256; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLeJAg5TNgzPTmlz6h/5nZYYkdokWLQ0HGvxWZm08hn7lwKtdFKOyKFAkpBORP5lCG4kDImRWMQAHv4M8JwoEP66eWoBQW85xeT8d6cMtJ8L2S+f7oO5tQWbA/xMHVm3RTScekTqD/JQys3vYMygXpLCLsaaN3/4CkKlqxe4LGQwIDAQAB; |
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
2020-03-27 12:01:52 | [Fri Mar 27 07:31:52.474044 2020] [php7:warn] [pid 47] [client 151.235.19.150:0] PHP Warning: require(/var/www/html/wp-blog-header.php): failed to open stream: No such file or directory in /var/www/html/index.php on line 17 | |
2020-03-27 12:01:52 | [Fri Mar 27 07:31:52.474164 2020] [php7:error] [pid 47] [client 151.235.19.150:0] PHP Fatal error: require(): Failed opening required '/var/www/html/wp-blog-header.php' (include_path='.:/usr/local/lib/php') in /var/www/html/index.php on line 17 |