Input:
$users = ['Asep Dadang Supriadi', 'Akmal Fuady', 'Yandi Fitriyanto'];
$users_new = ['Ricky Andika Putra', 'Ramadani'];Result:
$results = ['Asep Dadang Supriadi', 'Akmal Fuady', 'Yandi Fitriyanto', 'Ricky Andika Putra', 'Ramadani'];| openssl req -x509 -newkey rsa:4096 -keyout ssl_key.pem -out ssl_cert.pem -days 1024 -nodes |
Input:
$users = ['Asep Dadang Supriadi', 'Akmal Fuady', 'Yandi Fitriyanto'];
$users_new = ['Ricky Andika Putra', 'Ramadani'];Result:
$results = ['Asep Dadang Supriadi', 'Akmal Fuady', 'Yandi Fitriyanto', 'Ricky Andika Putra', 'Ramadani'];| {% for c in site.tripcollection %} | |
| {% if c.title == page.title %} | |
| {% assign thisPost = c %} | |
| {% if forloop.index == 1 %} | |
| {% assign prevflag = 0 %} | |
| {% assign nextflag = 1 %} | |
| {% elsif forloop.index == forloop.length %} | |
| {% assign prevflag = 1 %} | |
| {% assign nextflag = 0 %} | |
| {% else %} |
| # source: https://raymii.org/s/tutorials/Proxmox_VE_One_Public_IP.html | |
| iface eth0 inet manual | |
| iface eth1 inet manual | |
| auto vmbr0 | |
| iface vmbr0 inet static | |
| address 163.172.103.199 | |
| netmask 255.255.255.0 |
| # https://pve.proxmox.com/wiki/Extending_Local_Container_Storage | |
| fdisk -l | |
| fdisk /dev/sdb | |
| write new partition dos (default value) | |
| create new partition | |
| change partition as LVM (8e) | |
| # http://www.thegeekstuff.com/2010/08/how-to-create-lvm/ | |
| apt-get install lvm2 | |
| pvcreate /dev/sdb1 /dev/sdc1 |
| GRANT ALL PRIVILEGES ON `testuser\_%` . * TO 'testuser'@'%'; |
| port 443 | |
| proto udp | |
| #port-share 10.1.14.55 4443 | |
| dev tun | |
| sndbuf 0 | |
| rcvbuf 0 | |
| ca ca.crt | |
| cert server.crt | |
| key server.key | |
| dh dh.pem |
| Host * | |
| StrictHostKeyChecking no | |
| UserKnownHostsFile /dev/null |
| { | |
| "color_scheme": "Packages/User/SublimeLinter/One Dark (SL).tmTheme", | |
| "default_encoding": "UTF-8", | |
| "default_line_ending": "unix", | |
| "ensure_newline_at_eof_on_save": true, | |
| "highlight_line": true, | |
| "hot_exit": false, | |
| "ignored_packages": | |
| [ | |
| "Vintage" |
| apt-get remove --purge mysql\* | |
| dpkg -l | grep -i mysql | |
| apt-get clean | |
| updatedb | |
| UPDATE mysql.user SET plugin = 'mysql_native_password' where host='localhost' and user='root'; |