Skip to content

Instantly share code, notes, and snippets.

server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.php;
client_max_body_size 100M;
location = /favicon.ico {
log_not_found off;
access_log off;
[root@server12 ~]# mtr -rw detinhanascimento.com.br
HOST: server12.hosthat.com Loss% Snt Last Avg Best Wrst StDev
1. static.161.6.63.178.clients.your-server.de 0.0% 10 0.3 0.3 0.2 0.3 0.0
2. core21.fsn1.hetzner.com 0.0% 10 0.3 0.3 0.2 0.4 0.1
3. core4.fra.hetzner.com 0.0% 10 5.2 6.0 4.9 14.0 2.8
4. ffm-b4-link.telia.net 0.0% 10 5.8 15.4 5.6 71.1 21.9
5. ffm-bb4-link.telia.net 0.0% 10 6.0 6.1 6.0 6.2 0.1
6. ash-bb3-link.telia.net 0.0% 10 107.1 107.1 107.1 107.2 0.0
7. mai-b1-link.telia.net 0.0% 10 129.7 129.6 129.4 130.1 0.2
8. latinamerican-ic-316130-mai-b1.c.telia.net 0.0% 10 124.0 124.0 123.9 124.0 0.0
k=rsa;t=s;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCbmGbQMzYeMvxwtNQoXN0waGYaciuKx8mtMh5czguT4EZlJXuCt6V+l56mmt3t68FEX5JJ0q4ijG71BGoFRkl87uJi7LrQt1ZZmZCvrEII0YO4mp8sDLXC8g1aUAoi8TJgxq2MJqCaMyj5kAm3Fdy2tzftPCV/lbdiJqmBnWKjtwIDAQAB
boby@hon-pc-01:~$ nslookup server1.xap.com.es
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
Name: server1.xap.com.es
Address: 94.76.218.168
boby@hon-pc-01:~$ nslookup 94.76.218.168
Server: 127.0.1.1
root@4a92c5c12e97:/# apt-get install ros-lunar-catkin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
binutils ca-certificates cmake cmake-data cpp cpp-5 docutils-common docutils-doc gcc gcc-5 krb5-locales libarchive13 libasan2 libasn1-8-heimdal libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5
libcurl3 libffi6 libfreetype6 libgcc-5-dev libgmp10 libgnutls30 libgomp1 libgssapi-krb5-2 libgssapi3-heimdal libgtest-dev libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhogweed4
libhx509-5-heimdal libicu55 libidn11 libisl15 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 libjsoncpp1 libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.4-2
liblsan0 liblzo2-2 libmpc3 libmpfr4 libmpx0 libnettle6 libp11-kit0 libpaper-utils libpaper1 libpng12-0 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libquadmath0 libroken18-heimdal
librtmp1 libsasl2-2 libsasl2
root@ok:~# docker run -ti ubuntu /bin/bash
root@4a92c5c12e97:/# apt-get install ros-lunar-catkin
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ros-lunar-catkin
root@4a92c5c12e97:/# apt update
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
<?php
define('THOUSAND_SEPARATOR',true);
if (!extension_loaded('Zend OPcache')) {
echo '<div style="background-color: #F2DEDE; color: #B94A48; padding: 1em;">You do not have the Zend OPcache extension loaded, sample data is being shown instead.</div>';
require 'data-sample.php';
}
class OpCacheDataModel
You can enable php 7.2 with
systemctl stop php-fpm && systemctl start php72-php-fpm
Switch back to 7.1
systemctl stop php72-php-fpm && systemctl start php-fpm
root@vps158796:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether fa:16:3e:15:18:aa brd ff:ff:ff:ff:ff:ff
inet 158.69.109.222/32 brd 158.69.109.222 scope global ens3:1
root@vps158797:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether fa:16:3e:4f:d9:d6 brd ff:ff:ff:ff:ff:ff
inet 158.69.223.42/32 brd 158.69.223.42 scope global ens3